From b305e9bf04229fb487fd44ba40b0e21722dfa2e8 Mon Sep 17 00:00:00 2001 From: Roman Buryan Date: Wed, 18 Nov 2026 19:13:13 +0300 Subject: [PATCH] =?UTF-8?q?[PRISM]=20PC=20LLM=20worker:=207=20docs=20->=20?= =?UTF-8?q?9=20models=20in=20staging;=20=D1=8D=D0=BA=D1=80=D0=B0=D0=BD=20?= =?UTF-8?q?=D0=A0=D0=B0=D0=B7=D0=B1=D0=BE=D1=80;=20inbox=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/combine/staging/ingest-pc/REPORT.md | 25 ++ ops/combine/staging/ingest-pc/models.yaml | 284 ++++++++++++++++++++++ ops/work/web/app.py | 21 ++ ops/work/web/studio.html | 16 ++ 4 files changed, 346 insertions(+) create mode 100644 ops/combine/staging/ingest-pc/REPORT.md create mode 100644 ops/combine/staging/ingest-pc/models.yaml diff --git a/ops/combine/staging/ingest-pc/REPORT.md b/ops/combine/staging/ingest-pc/REPORT.md new file mode 100644 index 0000000..02c054c --- /dev/null +++ b/ops/combine/staging/ingest-pc/REPORT.md @@ -0,0 +1,25 @@ +# Ingest report + +Извлечено документов: **7** +Моделей: **9**, новых: **8**, уже в каталоге: **1** +Статус: **staging, прод не изменён**. + +## Документы +- `15f9170e1e98.json` — HP, моделей 2 +- `40f1e8547e28.json` — Poly, моделей 1 +- `4de9eab3f3a3.json` — HP, моделей 1 +- `b116c4ed7683.json` — HP, моделей 2 +- `ba39cff89698.json` — Poly, моделей 1 +- `cfd951466730.json` — HP, моделей 1 +- `d38a164e25b1.json` — Poly, моделей 1 + +## Модели +- poly Poly Base Room Kit1 — новая · требует review +- poly Poly Studio Base Room Kit for Zoom Rooms — новая · требует review +- poly Poly Studio G62 Video Conferencing System — существует · требует review +- poly Poly Studio R30 Plus USB Video Bar and BT Remote with HP USB-C Dock G5 — новая · требует review +- poly Mini IP Conferencing PC with 13th Gen Intel Core i7 — новая · требует review +- poly Poly TC10 touch controller — новая · требует review +- poly Poly Studio E60 Smart Camera 4K MPTZ with 12x Optical Zoom — новая · требует review +- poly V12 — новая · требует review +- poly Poly Studio V52 USB Video Bar — новая · требует review diff --git a/ops/combine/staging/ingest-pc/models.yaml b/ops/combine/staging/ingest-pc/models.yaml new file mode 100644 index 0000000..fae7841 --- /dev/null +++ b/ops/combine/staging/ingest-pc/models.yaml @@ -0,0 +1,284 @@ +generated_at: '2026-11-18T19:12:28' +status: staging +models: +- vendor: poly + model: Poly Base Room Kit1 + family: Base Room Kit + role: Meeting room solution + form_factor: Mini + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: null + fov_h: null + pickup_m: null + mic_count: null + protocols: [] + accessories: [] + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: Product Brief + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: Poly Studio Base Room Kit for Zoom Rooms + family: Base Room Kit + role: Meeting room solution + form_factor: Mini + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: null + fov_h: null + pickup_m: null + mic_count: null + protocols: [] + accessories: [] + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: Product Brief + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: Poly Studio G62 Video Conferencing System + family: Poly Studio G62 + role: Video conferencing system + form_factor: Desktop + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: null + fov_h: null + pickup_m: null + mic_count: null + protocols: [] + accessories: [] + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: 'Документ: 40f1e8547e28' + level: L1 + review: needs_review + existing: true + existing_file: catalog-poly.yaml +- vendor: poly + model: Poly Studio R30 Plus USB Video Bar and BT Remote with HP USB-C Dock G5 + family: Poly Studio R30 Plus + role: Video conferencing solution + form_factor: USB Video Bar and BT Remote with HP USB-C Dock G5 + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: null + fov_h: null + pickup_m: null + mic_count: null + protocols: [] + accessories: [] + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: '...' + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: Mini IP Conferencing PC with 13th Gen Intel Core i7 + family: HP Mini IP Conferencing PC + role: Conferencing PC + form_factor: Desktop + market: ru|global|null + variant_of: HP Poly Studio Base Kit G9 Plus for Microsoft Teams Rooms + protocols: [] + specs: + 4k: null + zoom_optical: null + fov_h: null + pickup_m: null + mic_count: null + protocols: [] + accessories: + - 10m Ethernet cable + - HP Displayport to HDMI True 4K Adapter + - HP Desktop Mini Port Cover v3 + - HP Desktop Mini v4+ VESA Sleeve with Power Supply Holder + - AC power adapter + - Power cord + kits: + - HP Poly Studio Base Kit G9 Plus for Microsoft Teams Rooms + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: Product Brief + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: Poly TC10 touch controller + family: HP Poly TC10 touch controller + role: Touch Controller + form_factor: Desktop + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: null + fov_h: null + pickup_m: null + mic_count: null + protocols: [] + accessories: + - Touch screen 10.1 inch (diagonal) touch screen + - Power over Ethernet (PoE), 802.3 at class 0 LAN cable (Cat5 E) + - Stand + - 3.66m/12ft Ethernet cable + - Wall mount kit + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: Product Brief + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: Poly Studio E60 Smart Camera 4K MPTZ with 12x Optical Zoom + family: Poly Studio E60 + role: Smart Camera + form_factor: Dual-lens + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: 12x + fov_h: 71° (PTZ camera); 107° (panoramic camera) + pickup_m: null + mic_count: '2' + protocols: [] + accessories: [] + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: '*Product image may differ from actual product' + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: V12 + family: Poly Studio + role: USB video bar + form_factor: bar + market: ru|global|null + variant_of: null + protocols: [] + specs: + 4k: null + zoom_optical: 5 + fov_h: 120 + pickup_m: 15 + mic_count: 4 + protocols: [] + accessories: + - HP Poly Studio R30/USB/V12 Bluetooth Remote Control + - HP Poly USB-C 65W Power Adapter and Power Cord Kit + - HP Poly PoE++ 65W 2.5G Adapter with 3.66m CAT6aA and Power Cord + - HP Poly Studio X30/X32/V12 Table Stand + - HP Poly Studio X30/X32/V12 VESA and Wall Mount + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: HP Poly Studio V12 USB video bar. A smarter way to collaborate. Equip your + small meeting spaces with a USB video bar that boasts a 20MP 120° FOV camera + built with impressive image quality. Smart camera and audio technology power + meeting equity, ensuring a smoother hybrid meeting. + level: L1 + review: needs_review + existing: false + existing_file: null +- vendor: poly + model: Poly Studio V52 USB Video Bar + family: Poly Studio V52 + role: USB Video Bar + form_factor: External USB Camera + market: ru|global|null + variant_of: null + protocols: &id001 + - UVC 1.1 + - 4K NV12 + - 4K MJPEG + specs: + 4k: null + zoom_optical: 5 + fov_h: 95 + pickup_m: 6.09 + mic_count: 4 + protocols: *id001 + accessories: + - Monitor clamp + - Privacy cover + - Quick start guide + - Warranty card + - AC power adapter + - HDMI cable + - Power cable + - Poly Studio V52 USB Type-C® to USB Type-C® cable + - Poly Studio X52/V52 Wall Mount + - Poly Studio X52/V52 VESA Mount + - Poly Studio X50/X52/V52 Table Stand + - Poly Studio X50/X52/X70/USB Expansion Microphone Cable + - Poly Studio X52/V52 Display Clamp + - Poly Studio X50/X52/X70/USB Table Microphone + - Poly Studio X52 Adapter Bracket for Studio X50 + kits: [] + restrictions: [] + lifecycle: null + source: + doc_id: '...' + url: '...' + quote: Poly Studio V52 USB Video Bar specifications and features + level: L1 + review: needs_review + existing: false + existing_file: null diff --git a/ops/work/web/app.py b/ops/work/web/app.py index fcbe648..a3b7efc 100644 --- a/ops/work/web/app.py +++ b/ops/work/web/app.py @@ -1372,6 +1372,25 @@ def product_info(key): "analogs": analog_search(_dev_name(d), d.get("domain") or "vcs")} +def staging_items(): + out = [] + for p in sorted(glob.glob("/root/buryan-infra/ops/combine/staging/*/models.yaml")): + try: + d = yaml.safe_load(open(p, encoding="utf-8")) or {} + except Exception: + continue + for x in d.get("models") or []: + src = x.get("source") or {} + out.append({"batch": os.path.basename(os.path.dirname(p)), + "vendor": x.get("vendor"), "model": x.get("model"), + "role": x.get("role"), "class": x.get("solution_class"), + "market": x.get("market"), "existing": x.get("existing"), + "review": x.get("review") or "needs_review", + "source_url": src.get("url"), "source_file": src.get("file"), + "quote": (src.get("quote") or "")[:300]}) + return sorted(out, key=lambda z: ((z.get("vendor") or ""), (z.get("model") or ""))) + + def coverage_report(): mats = load_yaml("materials.yaml").get("materials") or [] mat_by_vendor = {} @@ -1634,6 +1653,8 @@ class H(BaseHTTPRequestHandler): return self._out(compare_devices(keys)) if p == "/api/archive": return self._out({"items": archived_items()}) + if p == "/api/staging": + return self._out({"items": staging_items()}) if p == "/api/room-roles": return self._out(room_roles()) if p == "/api/room-needs": diff --git a/ops/work/web/studio.html b/ops/work/web/studio.html index f8ef0bd..4fa2819 100644 --- a/ops/work/web/studio.html +++ b/ops/work/web/studio.html @@ -52,6 +52,7 @@ main{max-width:1560px;margin:0 auto;padding:22px 26px 70px}.view{display:none}.v +
@@ -123,6 +124,14 @@ main{max-width:1560px;margin:0 auto;padding:22px 26px 70px}.view{display:none}.v +
+
+

Разбор LLM-извлечения

+
Staging после extraction: принять/отклонить вручную. В прод ничего не попадает автоматически.
+
загрузка…
+
+
+

Архив оборудования

Снято с актуальности, но не удалено: история, источник, восстановление. В поиске и аналогах архивные модели по умолчанию не участвуют.
@@ -164,6 +173,7 @@ function setView(v){ if(v==='telephony') loadTelephony(); if(v==='materials') loadMaterials(); if(v==='quality') loadCoverage(); + if(v==='inbox') loadInbox(); if(v==='archive') loadArchive(); if(v==='room') loadRoomOptions(); } @@ -185,6 +195,12 @@ async function loadMaterials(){ const rows=ms.map(x=>`${esc(x.title||x.model||'')}${esc(x.vendor||'')}${esc(x.model||'')}${esc(x.type||'')}${esc(x.source_level||'')}${x.url?`открыть`:'—'}`).join(''); $('#materialsbox').innerHTML=`${rows}
МатериалВендорМодельТипL
`; } +async function loadInbox(){ + $('#inboxbox').innerHTML='загрузка…'; + const r=await api('/api/staging'); const xs=r.items||[]; + if(!xs.length){$('#inboxbox').innerHTML='
Staging пуст. Запустите extraction на ПК и скопируйте results.
';return;} + $('#inboxbox').innerHTML=`${xs.map(x=>``).join('')}
ПартияВендорМодельРольСтатусИсточник
${esc(x.batch||'')}${esc(x.vendor||'')}${esc(x.model||'')}${esc(x.role||'')}${x.existing?'существует':'новая'} · ${esc(x.review||'')}${x.source_url?`URL`:esc(x.source_file||'local')}
Прод не изменяется. Принятие — отдельным шагом после сверки цитаты.
`; +} async function loadCoverage(){ $('#coveragebox').innerHTML='загрузка…'; const r=await api('/api/coverage'); const vs=r.vendors||[];