[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-nvidia-vss-search-archive":3,"mdc--ojnfh7-key":34,"related-repo-nvidia-vss-search-archive":3712,"related-org-nvidia-vss-search-archive":3814},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":29,"sourceUrl":32,"mdContent":33},"vss-search-archive","search and ingest archived video","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"nvidia","NVIDIA","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fnvidia.png",[12,16,17,20],{"name":13,"slug":14,"type":15},"Data Analysis","data-analysis","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Search","search",{"name":21,"slug":22,"type":15},"Video","video",2473,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fskills","2026-07-14T05:29:11.745804","Apache-2.0",281,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"AI agent skills published by NVIDIA","https:\u002F\u002Fgithub.com\u002FNVIDIA\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fvss-search-archive","---\nname: vss-search-archive\ndescription: Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).\nlicense: Apache-2.0\nmetadata:\n  author: \"NVIDIA Video Search and Summarization team\"\n  version: \"3.2.0\"\n  github-url: \"https:\u002F\u002Fgithub.com\u002FNVIDIA-AI-Blueprints\u002Fvideo-search-and-summarization\"\n  tags: \"nvidia blueprint operational\"\n---\n## Purpose\n\nRun the top-level VSS fusion search across archived video, ingest new clips \u002F RTSP streams for search, and delete search-ingested sources.\n\n## Prerequisites\n\n- Active VSS deployment reachable on `$HOST_IP` (see `vss-deploy-profile` and `references\u002F`).\n- `vss-manage-video-io-storage` skill installed (used to list and manage video sources before search).\n- NGC credentials in `$NGC_CLI_API_KEY` and `$NVIDIA_API_KEY` for any image pulls.\n- `curl`, `jq`, and Docker available on the caller.\n\n## Instructions\n\nFollow the routing tables and step-by-step workflows below. Each section that ends in *workflow*, *quick start*, or *flow* is intended to be executed top-to-bottom. Detailed reference material lives in `references\u002F`.\n\n## Examples\n\nWorked end-to-end examples are kept under `evals\u002F` (each `*.json` manifest contains a runnable scenario) and inline in the per-workflow `curl` blocks below. Run a Tier-3 evaluation with `nv-base validate \u003Cthis-skill-dir> --agent-eval` to replay them.\n\n## Limitations\n\n- Requires the matching VSS profile \u002F microservice to be deployed and reachable from the caller.\n- NGC-hosted models and NIMs may be subject to rate-limits, GPU memory requirements, and license restrictions.\n- Concurrency, GPU memory, and storage limits depend on the host hardware and the profile's compose file.\n\n## Troubleshooting\n\n- **Error**: REST call returns connection refused. **Cause**: target microservice not running. **Solution**: probe `\u002Fdocs` or `\u002Fhealth`; redeploy via `vss-deploy-profile` or the matching `vss-deploy-*` skill.\n- **Error**: HTTP 401\u002F403 from NGC pulls. **Cause**: missing\u002Fexpired `NGC_CLI_API_KEY`. **Solution**: `docker login nvcr.io` and re-export the key before retrying.\n- **Error**: container OOM or model fails to load. **Cause**: insufficient GPU memory for the selected profile. **Solution**: switch to a smaller variant or free GPUs via `docker compose down`.\n\n# Video Search Workflows\n\n> **Alpha Feature** — not recommended for production use.\n\nSearch video archives by natural language using Cosmos Embed1 embeddings. Requires the search profile — deploy with the `vss-deploy-profile` skill (`-p search`). These videos sources can be ingested files or RTSP streams.\n\n## When to Use\n\n- \"Find all instances of forklifts\"\n- \"When did someone enter the restricted area?\"\n- \"Show me people near the loading dock\"\n- \"Search for vehicles between 8am and noon\"\n- Any natural-language search across video archives\n- \"Ingest `\u003Cfile>` for search\" \u002F \"upload this video for search\"\n- \"Add this RTSP stream for search\" \u002F \"register `\u003Crtsp_url>` for search\"\n- \"Delete `\u003Cfile>` from search\" \u002F \"remove this video and embeddings\"\n\n---\n\n## Deployment prerequisite\n\nThis skill requires the VSS **search** profile running on the host at `$HOST_IP`. Before any request:\n\n1. Probe the stack:\n   ```bash\n   curl -sf --max-time 5 \"http:\u002F\u002F${HOST_IP}:8000\u002Fdocs\" >\u002Fdev\u002Fnull \\\n     && curl -sf --max-time 5 \"http:\u002F\u002F${HOST_IP}:9200\u002F\" >\u002Fdev\u002Fnull\n   ```\n   (The second check confirms Elasticsearch is up — unique to the search profile.)\n\n2. **If the probe fails**, ask the user:\n   > *\"The VSS `search` profile isn't running on `$HOST_IP`. Shall I deploy it now using the `\u002Fvss-deploy-profile` skill with `-p search`?\"*\n\n   - If yes → hand off to the `\u002Fvss-deploy-profile` skill. Return here once it succeeds.\n   - If no → stop. Do not run this skill against a missing or wrong-profile stack.\n\n   (If your caller has granted explicit pre-authorization to deploy\n   autonomously — e.g. the request says \"pre-authorized to deploy\n   prerequisites\", or you are running in a non-interactive evaluation\n   harness with that permission — skip the confirmation and invoke\n   `\u002Fvss-deploy-profile` directly.)\n\n3. If the probe passes, proceed.\n\n---\n\n## Ingestion prerequisite (required before any `\u002Fgenerate`)\n\nFor a source to be searchable it must be ingested **through the VSS agent backend**, not through VIOS alone. The agent's ingest routes own the VIOS upload + RTVI-CV register + RTVI-embed pipeline as one transaction; a bare VIOS PUT only stores the bytes and never wires them into Elasticsearch.\n\nConfirm the source exists in VIOS first (Mandatory workflow Step 2). If it is missing, ingest it with one of the recipes below before firing `\u002Fgenerate`. After ingest succeeds, the source appears in `sensor\u002Flist` under the name you provided and can be referenced from the natural-language query the agent forwards to its search-tool decomposer — you do NOT need to construct a structured `video_sources` payload yourself.\n\n### File upload — universal three-step flow\n\nUse the timestamped upload form below. The VSS agent\u002Fsearch profile uses\n`2025-01-01T00:00:00.000Z` as the uploaded `video_file` base timestamp;\nVIOS storage and embeddings must share that timeline, otherwise\nscreenshot URLs and critic frame fetches can fail.\n\n```bash\nFILENAME=\"\u003Cfilename.mp4>\"\nFILE_PATH=\"\u002Fpath\u002Fto\u002F${FILENAME}\"\n\n# 1. Ask the agent for the chunked-upload URL\nUPLOAD_URL=$(curl -s -X POST \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Fvideos\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d \"{\\\"filename\\\":\\\"${FILENAME}\\\"}\" | jq -r .url)\n\n# 2. Chunked POST the file to that VST URL (nvstreamer protocol).\n#    The final-chunk response carries sensorId.\nIDENTIFIER=$(uuidgen 2>\u002Fdev\u002Fnull || cat \u002Fproc\u002Fsys\u002Fkernel\u002Frandom\u002Fuuid)\nUPLOAD_RESPONSE=$(curl -s -X POST \"${UPLOAD_URL}\" \\\n  -H \"nvstreamer-chunk-number: 1\" \\\n  -H \"nvstreamer-total-chunks: 1\" \\\n  -H \"nvstreamer-is-last-chunk: true\" \\\n  -H \"nvstreamer-identifier: ${IDENTIFIER}\" \\\n  -H \"nvstreamer-file-name: ${FILENAME}\" \\\n  -F \"mediaFile=@${FILE_PATH};filename=${FILENAME}\" \\\n  -F \"filename=${FILENAME}\" \\\n  -F 'metadata={\"timestamp\":\"2025-01-01T00:00:00\"}')\n\n# 3. Tell the agent the upload finished — this fans out to RTVI-CV + RTVI-embed\nSENSOR=$(printf '%s' \"${UPLOAD_RESPONSE}\" | jq -r .sensorId)\n[ -z \"${SENSOR}\" ] || [ \"${SENSOR}\" = \"null\" ] \\\n  && { echo \"Upload failed: no sensorId in response: ${UPLOAD_RESPONSE}\"; exit 1; }\nprintf '%s' \"${UPLOAD_RESPONSE}\" \\\n  | jq --arg filename \"${FILENAME}\" '. + {filename: $filename}' \\\n  | curl -s -X POST \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Fvideos\u002F${SENSOR}\u002Fcomplete\" \\\n      -H \"Content-Type: application\u002Fjson\" \\\n      -d @- | jq .\n```\n\nWait for the `\u002Fcomplete` response (it returns `chunks_processed > 0` once embeddings land). Only then is the video searchable.\n\n> The deprecated `PUT \u002Fapi\u002Fv1\u002Fvideos-for-search\u002F{filename}` route is also wired in for legacy callers (single-shot, agent-driven), but its OpenAPI entry is flagged `deprecated`. Prefer the three-step flow above for new work.\n\n### RTSP stream — single endpoint\n\n```bash\ncurl -s -X POST \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fadd\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"sensorUrl\": \"rtsp:\u002F\u002F\u003Chost>:\u003Cport>\u002F\u003Cpath>\",\n    \"name\": \"\u003Csensor-name>\",\n    \"username\": \"\",\n    \"password\": \"\",\n    \"location\": \"\",\n    \"tags\": \"\"\n  }' | jq .\n```\n\nThe response shape is `{status, message, error}` — no `sensorId` (the agent keys the stream by the `name` you provided). On any step's failure earlier steps roll back. The `start_embedding_generation` step is fire-and-verify: a 2xx confirms the request was accepted and the embedding pipeline is running in the background, **not** that the stream is searchable yet. Search hits will start appearing only after enough chunks land in Elasticsearch — poll with a low-`top_k` query a few seconds in if you need a readiness signal.\n\n### Delete source — agent-backed cleanup\n\nDelete through the agent backend, not bare VIOS, so VIOS storage and search embeddings are cleaned up together.\n\n```bash\n# For video files: video_id is the VIOS sensor\u002Fvideo UUID\ncurl -s -X DELETE \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Fvideos\u002F\u003Cvideo_id>\" | jq .\n\n# For RTSP streams: name is the registered source name\ncurl -s -X DELETE \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fdelete\u002F\u003Cname>\" | jq .\n```\n\n---\n\n## How Search Works\n\n1. **Ingest** — Files come in through the agent's three-step universal flow; RTSP streams through `\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fadd`. Both routes hand the source to RTVI-CV (attribute detection) and RTVI-Embed (Cosmos Embed1) which generates vector embeddings for video segments.\n2. **Index** — Embeddings are stored in Elasticsearch via the Kafka pipeline.\n3. **Query** — Natural-language queries are embedded and matched against stored vectors by similarity.\n4. **Results** — Timestamped video segments ranked by relevance, with clip playback links.\n\nThis search orchestrated by VSS agent can lead to 3 behaviors:\n- Attribute-only: when the LLM decomposes the query and finds only appearance attributes with no action (e.g. \"person wearing red jacket\")\n- Embed-only: when the query has no extractable attributes (e.g. \"show me forklifts\")\n- Fusion: when the query has both an action and attributes (e.g., \"person in red jacket running\"), it runs embed search first, then reranks using attribute search\n\n---\n\n## Mandatory workflow\n\nWhen using this skill, ALWAYS follow this high-level workflow:\n1. **Resolve inputs from user instructions — HARD STOP if `$HOST_IP`\n   is not explicitly provided.** See § Input resolution below. Do NOT\n   default to `localhost`, `127.0.0.1`, the host the agent itself is\n   running on, or any other guess. Do NOT issue a\n   `POST http:\u002F\u002F...\u002Fgenerate` request until the user has supplied an\n   endpoint. Respond to the user with a single question asking for\n   `HOST_IP` \u002F the VSS agent endpoint and wait.\n2. **Resolve the source — HARD STOP before any `\u002Fgenerate` call.**\n   If the user query references a specific video \u002F sensor name\n   (e.g. \"the airport video\", \"warehouse_cam_3\", \"sample warehouse\"),\n   verify it's actually registered in VIOS **before** firing\n   `POST ...\u002Fgenerate`. List sources via the `vss-manage-video-io-storage` skill.\n\n   Then:\n   - **If the named source (or a clearly substring-matching name) IS in the list** → proceed to step 3. Forward the user's natural-language query verbatim — the agent's own search tool decomposer (`services\u002Fagent\u002Fsrc\u002Fvss_agents\u002Ftools\u002Fsearch.py`) extracts `video_sources` from the prose given the available sources, so the skill does NOT need to construct a structured `video sources` payload.\n   - **If the named source is NOT in the list** → STOP. Do NOT fire `\u002Fgenerate` as a probe. Respond to the user with the registered source names and ask whether they meant one of those, want to ingest the missing source (point them at *Ingestion prerequisite* and run the matching file or RTSP recipe through the **agent backend**, not bare VIOS), or want to abandon the query. Wait for clarification.\n   - **If the query names no specific source** (\"find forklifts in the ingested videos\", \"search across all sources\") → skip the substring check, but `sensor\u002Flist` must still return non-empty (otherwise no sources are ingested → HARD STOP).\n3. Run the search(es) via approach chosen\n4. Present the results to the user query. Format response as a professional inspection report but name it `Video Search Results`:\n   — Use clear section headers\n   - Organize findings individually with supporting detail, and close with a summary\n   - Use tables where comparisons help. Write like a technical report, not a chat message.\n   - If criteria results are non-null, then in addition to a column \"Critic result\" (\"confirmed\" | \"rejected\" | \"skipped\"), include a column \"Criteria\" with all the criteria for this search result ({criteria_n}: ✓ | ✗)\n5. CRITICAL: Verify the results and explain this to the user concisely.\n   If search fails, or returns unexpected results (i.e. videos that do not appear to match user query, zero matches, zero videos returned, error etc.), STOP. Do not proceed without reading [troubleshooting.md](references\u002Ftroubleshooting.md) to iterate with feedback loops until proper results are found and presented like a professional inspection report.\n6. Final verifications:\n   - ALWAYS inform user that final and further verifications can be run. Present this as a `Verification Step`\n   - ONLY IF user agrees, download screenshots using the `screenshot_url` of the best candidates (highest similarity scores) from the search hits (JSON results) to `\u002Ftmp`. Read them and verify if they correspond to the user query\n\n## Input resolution\n\nInfer these inputs only from the conversation or user query (no other files unless provided). If some cannot be inferred, ask the user immediately:\n- $HOST_IP: where the VSS agent backend runs\n\n---\n\n## Gotchas\n\n- ALWAYS step into the troubleshooting step of the workflow immediately if anything unexpected happens, read [troubleshooting.md](references\u002Ftroubleshooting.md)\n- Queries work best with **concrete visual descriptions** (objects, actions, locations). Augment user queries if needed to enhance the quality of the questions, expanding potential details\n- The skill assumes video sources are **already ingested through the agent backend** (see *Ingestion prerequisite*). It MAY run the agent-backed ingest recipes when the user explicitly asks (\"ingest `\u003Cfile>` for search\", \"add `\u003Crtsp_url>` for search\"); it does NOT search the local filesystem for files the user didn't name, and it does NOT use the bare-VIOS PUT path (no embeddings get generated). Workflow step 2 still makes confirming \"this source exists in VIOS\" a hard precondition before `\u002Fgenerate`.\n- Use `vss-query-analytics` skill to cross-reference search results with incident\u002Falert data\n\n---\n\n## Search via REST API\n\nDefault to using this REST API approach, unless user specifies otherwise.\n\n```bash\n# Consider only ingested video file sources by default\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"find all instances of forklifts\"}' | jq .\n```\n\n### More Examples\n\nUse the `messages` request shape when passing structured request options such as `search_source_type`; the `input_message` shortcut does not accept extra fields.\n\n```bash\n# Search by object\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"find vehicles in the parking lot\"}' | jq .\n\n# Search by action\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"show me people running\"}' | jq .\n\n# Search by time context\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"what happened at the entrance between 2pm and 3pm?\"}' | jq .\n\n# Consider only RTSP sources with `search_source_type` filter i.e. live camera streams\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"messages\": [{\"role\": \"user\", \"content\": \"find all instances of forklifts\"}], \"search_source_type\": \"rtsp\"}' | jq .\n```\n\n### Advanced control knobs\n\nIf user query is ambiguous, user wants more guidance or when fine-grained control is needed, augment the user `input_message` by calling out explicitly certain options in plain-text and steering the agent in the desired direction. Available control axes: \n\n| Axes                 | Type      | Default | Description                                               |\n|----------------------|-----------|---------|-----------------------------------------------------------|\n| `video sources`      | string[]  | null    | Filter to specific cameras or sensor names                |\n| `top k`              | int       | 10      | Max results\n| `minimum similarity` | float     | 0.0     | Min similarity threshold; raise (e.g. 0.3) to filter noise|\n| `critic usage`       | bool      | true    | VLM verifies each result and removes false positives      |\n| `description`        | string    | null    | Filter by camera metadata (e.g. location, category) if metadata is available|\n\nPick and choose some of these tuning options. Adjust them as needed for the user’s situation and query. \nFor examples of discovery modes leveraging these, see [discovery_modes.md](references\u002Fdiscovery_modes.md).\n\n---\n\n## Search via Agent UI\n\nOpen `http:\u002F\u002F${HOST_IP}:3000\u002F` and type natural-language queries:\n\n```\nfind all instances of forklifts\nshow me people near the loading dock\nwhen did a truck arrive at the gate?\nfind someone wearing a red jacket\n```\n\nResults include timestamped clips with similarity scores.\n\nbump:2\n",{"data":35,"body":41},{"name":4,"description":6,"license":26,"metadata":36},{"author":37,"version":38,"github-url":39,"tags":40},"NVIDIA Video Search and Summarization team","3.2.0","https:\u002F\u002Fgithub.com\u002FNVIDIA-AI-Blueprints\u002Fvideo-search-and-summarization","nvidia blueprint operational",{"type":42,"children":43},"root",[44,53,59,65,150,156,189,195,231,237,255,261,385,392,406,426,432,498,502,508,526,783,786,800,812,840,847,868,1946,1966,1990,1996,2166,2218,2224,2229,2380,2383,2389,2440,2445,2463,2466,2472,2477,2744,2750,2755,2763,2766,2772,2846,2849,2855,2860,2975,2981,3010,3462,3468,3480,3652,3664,3667,3673,3686,3696,3701,3706],{"type":45,"tag":46,"props":47,"children":49},"element","h2",{"id":48},"purpose",[50],{"type":51,"value":52},"text","Purpose",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57],{"type":51,"value":58},"Run the top-level VSS fusion search across archived video, ingest new clips \u002F RTSP streams for search, and delete search-ingested sources.",{"type":45,"tag":46,"props":60,"children":62},{"id":61},"prerequisites",[63],{"type":51,"value":64},"Prerequisites",{"type":45,"tag":66,"props":67,"children":68},"ul",{},[69,100,111,131],{"type":45,"tag":70,"props":71,"children":72},"li",{},[73,75,82,84,90,92,98],{"type":51,"value":74},"Active VSS deployment reachable on ",{"type":45,"tag":76,"props":77,"children":79},"code",{"className":78},[],[80],{"type":51,"value":81},"$HOST_IP",{"type":51,"value":83}," (see ",{"type":45,"tag":76,"props":85,"children":87},{"className":86},[],[88],{"type":51,"value":89},"vss-deploy-profile",{"type":51,"value":91}," and ",{"type":45,"tag":76,"props":93,"children":95},{"className":94},[],[96],{"type":51,"value":97},"references\u002F",{"type":51,"value":99},").",{"type":45,"tag":70,"props":101,"children":102},{},[103,109],{"type":45,"tag":76,"props":104,"children":106},{"className":105},[],[107],{"type":51,"value":108},"vss-manage-video-io-storage",{"type":51,"value":110}," skill installed (used to list and manage video sources before search).",{"type":45,"tag":70,"props":112,"children":113},{},[114,116,122,123,129],{"type":51,"value":115},"NGC credentials in ",{"type":45,"tag":76,"props":117,"children":119},{"className":118},[],[120],{"type":51,"value":121},"$NGC_CLI_API_KEY",{"type":51,"value":91},{"type":45,"tag":76,"props":124,"children":126},{"className":125},[],[127],{"type":51,"value":128},"$NVIDIA_API_KEY",{"type":51,"value":130}," for any image pulls.",{"type":45,"tag":70,"props":132,"children":133},{},[134,140,142,148],{"type":45,"tag":76,"props":135,"children":137},{"className":136},[],[138],{"type":51,"value":139},"curl",{"type":51,"value":141},", ",{"type":45,"tag":76,"props":143,"children":145},{"className":144},[],[146],{"type":51,"value":147},"jq",{"type":51,"value":149},", and Docker available on the caller.",{"type":45,"tag":46,"props":151,"children":153},{"id":152},"instructions",[154],{"type":51,"value":155},"Instructions",{"type":45,"tag":54,"props":157,"children":158},{},[159,161,167,168,173,175,180,182,187],{"type":51,"value":160},"Follow the routing tables and step-by-step workflows below. Each section that ends in ",{"type":45,"tag":162,"props":163,"children":164},"em",{},[165],{"type":51,"value":166},"workflow",{"type":51,"value":141},{"type":45,"tag":162,"props":169,"children":170},{},[171],{"type":51,"value":172},"quick start",{"type":51,"value":174},", or ",{"type":45,"tag":162,"props":176,"children":177},{},[178],{"type":51,"value":179},"flow",{"type":51,"value":181}," is intended to be executed top-to-bottom. Detailed reference material lives in ",{"type":45,"tag":76,"props":183,"children":185},{"className":184},[],[186],{"type":51,"value":97},{"type":51,"value":188},".",{"type":45,"tag":46,"props":190,"children":192},{"id":191},"examples",[193],{"type":51,"value":194},"Examples",{"type":45,"tag":54,"props":196,"children":197},{},[198,200,206,208,214,216,221,223,229],{"type":51,"value":199},"Worked end-to-end examples are kept under ",{"type":45,"tag":76,"props":201,"children":203},{"className":202},[],[204],{"type":51,"value":205},"evals\u002F",{"type":51,"value":207}," (each ",{"type":45,"tag":76,"props":209,"children":211},{"className":210},[],[212],{"type":51,"value":213},"*.json",{"type":51,"value":215}," manifest contains a runnable scenario) and inline in the per-workflow ",{"type":45,"tag":76,"props":217,"children":219},{"className":218},[],[220],{"type":51,"value":139},{"type":51,"value":222}," blocks below. Run a Tier-3 evaluation with ",{"type":45,"tag":76,"props":224,"children":226},{"className":225},[],[227],{"type":51,"value":228},"nv-base validate \u003Cthis-skill-dir> --agent-eval",{"type":51,"value":230}," to replay them.",{"type":45,"tag":46,"props":232,"children":234},{"id":233},"limitations",[235],{"type":51,"value":236},"Limitations",{"type":45,"tag":66,"props":238,"children":239},{},[240,245,250],{"type":45,"tag":70,"props":241,"children":242},{},[243],{"type":51,"value":244},"Requires the matching VSS profile \u002F microservice to be deployed and reachable from the caller.",{"type":45,"tag":70,"props":246,"children":247},{},[248],{"type":51,"value":249},"NGC-hosted models and NIMs may be subject to rate-limits, GPU memory requirements, and license restrictions.",{"type":45,"tag":70,"props":251,"children":252},{},[253],{"type":51,"value":254},"Concurrency, GPU memory, and storage limits depend on the host hardware and the profile's compose file.",{"type":45,"tag":46,"props":256,"children":258},{"id":257},"troubleshooting",[259],{"type":51,"value":260},"Troubleshooting",{"type":45,"tag":66,"props":262,"children":263},{},[264,320,357],{"type":45,"tag":70,"props":265,"children":266},{},[267,273,275,280,282,287,289,295,297,303,305,310,312,318],{"type":45,"tag":268,"props":269,"children":270},"strong",{},[271],{"type":51,"value":272},"Error",{"type":51,"value":274},": REST call returns connection refused. ",{"type":45,"tag":268,"props":276,"children":277},{},[278],{"type":51,"value":279},"Cause",{"type":51,"value":281},": target microservice not running. ",{"type":45,"tag":268,"props":283,"children":284},{},[285],{"type":51,"value":286},"Solution",{"type":51,"value":288},": probe ",{"type":45,"tag":76,"props":290,"children":292},{"className":291},[],[293],{"type":51,"value":294},"\u002Fdocs",{"type":51,"value":296}," or ",{"type":45,"tag":76,"props":298,"children":300},{"className":299},[],[301],{"type":51,"value":302},"\u002Fhealth",{"type":51,"value":304},"; redeploy via ",{"type":45,"tag":76,"props":306,"children":308},{"className":307},[],[309],{"type":51,"value":89},{"type":51,"value":311}," or the matching ",{"type":45,"tag":76,"props":313,"children":315},{"className":314},[],[316],{"type":51,"value":317},"vss-deploy-*",{"type":51,"value":319}," skill.",{"type":45,"tag":70,"props":321,"children":322},{},[323,327,329,333,335,341,343,347,349,355],{"type":45,"tag":268,"props":324,"children":325},{},[326],{"type":51,"value":272},{"type":51,"value":328},": HTTP 401\u002F403 from NGC pulls. ",{"type":45,"tag":268,"props":330,"children":331},{},[332],{"type":51,"value":279},{"type":51,"value":334},": missing\u002Fexpired ",{"type":45,"tag":76,"props":336,"children":338},{"className":337},[],[339],{"type":51,"value":340},"NGC_CLI_API_KEY",{"type":51,"value":342},". ",{"type":45,"tag":268,"props":344,"children":345},{},[346],{"type":51,"value":286},{"type":51,"value":348},": ",{"type":45,"tag":76,"props":350,"children":352},{"className":351},[],[353],{"type":51,"value":354},"docker login nvcr.io",{"type":51,"value":356}," and re-export the key before retrying.",{"type":45,"tag":70,"props":358,"children":359},{},[360,364,366,370,372,376,378,384],{"type":45,"tag":268,"props":361,"children":362},{},[363],{"type":51,"value":272},{"type":51,"value":365},": container OOM or model fails to load. ",{"type":45,"tag":268,"props":367,"children":368},{},[369],{"type":51,"value":279},{"type":51,"value":371},": insufficient GPU memory for the selected profile. ",{"type":45,"tag":268,"props":373,"children":374},{},[375],{"type":51,"value":286},{"type":51,"value":377},": switch to a smaller variant or free GPUs via ",{"type":45,"tag":76,"props":379,"children":381},{"className":380},[],[382],{"type":51,"value":383},"docker compose down",{"type":51,"value":188},{"type":45,"tag":386,"props":387,"children":389},"h1",{"id":388},"video-search-workflows",[390],{"type":51,"value":391},"Video Search Workflows",{"type":45,"tag":393,"props":394,"children":395},"blockquote",{},[396],{"type":45,"tag":54,"props":397,"children":398},{},[399,404],{"type":45,"tag":268,"props":400,"children":401},{},[402],{"type":51,"value":403},"Alpha Feature",{"type":51,"value":405}," — not recommended for production use.",{"type":45,"tag":54,"props":407,"children":408},{},[409,411,416,418,424],{"type":51,"value":410},"Search video archives by natural language using Cosmos Embed1 embeddings. Requires the search profile — deploy with the ",{"type":45,"tag":76,"props":412,"children":414},{"className":413},[],[415],{"type":51,"value":89},{"type":51,"value":417}," skill (",{"type":45,"tag":76,"props":419,"children":421},{"className":420},[],[422],{"type":51,"value":423},"-p search",{"type":51,"value":425},"). These videos sources can be ingested files or RTSP streams.",{"type":45,"tag":46,"props":427,"children":429},{"id":428},"when-to-use",[430],{"type":51,"value":431},"When to Use",{"type":45,"tag":66,"props":433,"children":434},{},[435,440,445,450,455,460,473,486],{"type":45,"tag":70,"props":436,"children":437},{},[438],{"type":51,"value":439},"\"Find all instances of forklifts\"",{"type":45,"tag":70,"props":441,"children":442},{},[443],{"type":51,"value":444},"\"When did someone enter the restricted area?\"",{"type":45,"tag":70,"props":446,"children":447},{},[448],{"type":51,"value":449},"\"Show me people near the loading dock\"",{"type":45,"tag":70,"props":451,"children":452},{},[453],{"type":51,"value":454},"\"Search for vehicles between 8am and noon\"",{"type":45,"tag":70,"props":456,"children":457},{},[458],{"type":51,"value":459},"Any natural-language search across video archives",{"type":45,"tag":70,"props":461,"children":462},{},[463,465,471],{"type":51,"value":464},"\"Ingest ",{"type":45,"tag":76,"props":466,"children":468},{"className":467},[],[469],{"type":51,"value":470},"\u003Cfile>",{"type":51,"value":472}," for search\" \u002F \"upload this video for search\"",{"type":45,"tag":70,"props":474,"children":475},{},[476,478,484],{"type":51,"value":477},"\"Add this RTSP stream for search\" \u002F \"register ",{"type":45,"tag":76,"props":479,"children":481},{"className":480},[],[482],{"type":51,"value":483},"\u003Crtsp_url>",{"type":51,"value":485}," for search\"",{"type":45,"tag":70,"props":487,"children":488},{},[489,491,496],{"type":51,"value":490},"\"Delete ",{"type":45,"tag":76,"props":492,"children":494},{"className":493},[],[495],{"type":51,"value":470},{"type":51,"value":497}," from search\" \u002F \"remove this video and embeddings\"",{"type":45,"tag":499,"props":500,"children":501},"hr",{},[],{"type":45,"tag":46,"props":503,"children":505},{"id":504},"deployment-prerequisite",[506],{"type":51,"value":507},"Deployment prerequisite",{"type":45,"tag":54,"props":509,"children":510},{},[511,513,517,519,524],{"type":51,"value":512},"This skill requires the VSS ",{"type":45,"tag":268,"props":514,"children":515},{},[516],{"type":51,"value":19},{"type":51,"value":518}," profile running on the host at ",{"type":45,"tag":76,"props":520,"children":522},{"className":521},[],[523],{"type":51,"value":81},{"type":51,"value":525},". Before any request:",{"type":45,"tag":527,"props":528,"children":529},"ol",{},[530,696,778],{"type":45,"tag":70,"props":531,"children":532},{},[533,535,690,694],{"type":51,"value":534},"Probe the stack:",{"type":45,"tag":536,"props":537,"children":542},"pre",{"className":538,"code":539,"language":540,"meta":541,"style":541},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl -sf --max-time 5 \"http:\u002F\u002F${HOST_IP}:8000\u002Fdocs\" >\u002Fdev\u002Fnull \\\n  && curl -sf --max-time 5 \"http:\u002F\u002F${HOST_IP}:9200\u002F\" >\u002Fdev\u002Fnull\n","bash","",[543],{"type":45,"tag":76,"props":544,"children":545},{"__ignoreMap":541},[546,626],{"type":45,"tag":547,"props":548,"children":551},"span",{"class":549,"line":550},"line",1,[552,557,563,568,574,580,585,590,596,601,606,611,616,621],{"type":45,"tag":547,"props":553,"children":555},{"style":554},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[556],{"type":51,"value":139},{"type":45,"tag":547,"props":558,"children":560},{"style":559},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[561],{"type":51,"value":562}," -sf",{"type":45,"tag":547,"props":564,"children":565},{"style":559},[566],{"type":51,"value":567}," --max-time",{"type":45,"tag":547,"props":569,"children":571},{"style":570},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[572],{"type":51,"value":573}," 5",{"type":45,"tag":547,"props":575,"children":577},{"style":576},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[578],{"type":51,"value":579}," \"",{"type":45,"tag":547,"props":581,"children":582},{"style":559},[583],{"type":51,"value":584},"http:\u002F\u002F",{"type":45,"tag":547,"props":586,"children":587},{"style":576},[588],{"type":51,"value":589},"${",{"type":45,"tag":547,"props":591,"children":593},{"style":592},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[594],{"type":51,"value":595},"HOST_IP",{"type":45,"tag":547,"props":597,"children":598},{"style":576},[599],{"type":51,"value":600},"}",{"type":45,"tag":547,"props":602,"children":603},{"style":559},[604],{"type":51,"value":605},":8000\u002Fdocs",{"type":45,"tag":547,"props":607,"children":608},{"style":576},[609],{"type":51,"value":610},"\"",{"type":45,"tag":547,"props":612,"children":613},{"style":576},[614],{"type":51,"value":615}," >",{"type":45,"tag":547,"props":617,"children":618},{"style":559},[619],{"type":51,"value":620},"\u002Fdev\u002Fnull",{"type":45,"tag":547,"props":622,"children":623},{"style":592},[624],{"type":51,"value":625}," \\\n",{"type":45,"tag":547,"props":627,"children":629},{"class":549,"line":628},2,[630,635,640,644,648,652,656,660,664,668,672,677,681,685],{"type":45,"tag":547,"props":631,"children":632},{"style":576},[633],{"type":51,"value":634},"  &&",{"type":45,"tag":547,"props":636,"children":637},{"style":554},[638],{"type":51,"value":639}," curl",{"type":45,"tag":547,"props":641,"children":642},{"style":559},[643],{"type":51,"value":562},{"type":45,"tag":547,"props":645,"children":646},{"style":559},[647],{"type":51,"value":567},{"type":45,"tag":547,"props":649,"children":650},{"style":570},[651],{"type":51,"value":573},{"type":45,"tag":547,"props":653,"children":654},{"style":576},[655],{"type":51,"value":579},{"type":45,"tag":547,"props":657,"children":658},{"style":559},[659],{"type":51,"value":584},{"type":45,"tag":547,"props":661,"children":662},{"style":576},[663],{"type":51,"value":589},{"type":45,"tag":547,"props":665,"children":666},{"style":592},[667],{"type":51,"value":595},{"type":45,"tag":547,"props":669,"children":670},{"style":576},[671],{"type":51,"value":600},{"type":45,"tag":547,"props":673,"children":674},{"style":559},[675],{"type":51,"value":676},":9200\u002F",{"type":45,"tag":547,"props":678,"children":679},{"style":576},[680],{"type":51,"value":610},{"type":45,"tag":547,"props":682,"children":683},{"style":576},[684],{"type":51,"value":615},{"type":45,"tag":547,"props":686,"children":687},{"style":559},[688],{"type":51,"value":689},"\u002Fdev\u002Fnull\n",{"type":45,"tag":691,"props":692,"children":693},"br",{},[],{"type":51,"value":695},"(The second check confirms Elasticsearch is up — unique to the search profile.)",{"type":45,"tag":70,"props":697,"children":698},{},[699,704,706,746,766,769,771,776],{"type":45,"tag":268,"props":700,"children":701},{},[702],{"type":51,"value":703},"If the probe fails",{"type":51,"value":705},", ask the user:",{"type":45,"tag":393,"props":707,"children":708},{},[709],{"type":45,"tag":54,"props":710,"children":711},{},[712],{"type":45,"tag":162,"props":713,"children":714},{},[715,717,722,724,729,731,737,739,744],{"type":51,"value":716},"\"The VSS ",{"type":45,"tag":76,"props":718,"children":720},{"className":719},[],[721],{"type":51,"value":19},{"type":51,"value":723}," profile isn't running on ",{"type":45,"tag":76,"props":725,"children":727},{"className":726},[],[728],{"type":51,"value":81},{"type":51,"value":730},". Shall I deploy it now using the ",{"type":45,"tag":76,"props":732,"children":734},{"className":733},[],[735],{"type":51,"value":736},"\u002Fvss-deploy-profile",{"type":51,"value":738}," skill with ",{"type":45,"tag":76,"props":740,"children":742},{"className":741},[],[743],{"type":51,"value":423},{"type":51,"value":745},"?\"",{"type":45,"tag":66,"props":747,"children":748},{},[749,761],{"type":45,"tag":70,"props":750,"children":751},{},[752,754,759],{"type":51,"value":753},"If yes → hand off to the ",{"type":45,"tag":76,"props":755,"children":757},{"className":756},[],[758],{"type":51,"value":736},{"type":51,"value":760}," skill. Return here once it succeeds.",{"type":45,"tag":70,"props":762,"children":763},{},[764],{"type":51,"value":765},"If no → stop. Do not run this skill against a missing or wrong-profile stack.",{"type":45,"tag":691,"props":767,"children":768},{},[],{"type":51,"value":770},"(If your caller has granted explicit pre-authorization to deploy\nautonomously — e.g. the request says \"pre-authorized to deploy\nprerequisites\", or you are running in a non-interactive evaluation\nharness with that permission — skip the confirmation and invoke\n",{"type":45,"tag":76,"props":772,"children":774},{"className":773},[],[775],{"type":51,"value":736},{"type":51,"value":777}," directly.)",{"type":45,"tag":70,"props":779,"children":780},{},[781],{"type":51,"value":782},"If the probe passes, proceed.",{"type":45,"tag":499,"props":784,"children":785},{},[],{"type":45,"tag":46,"props":787,"children":789},{"id":788},"ingestion-prerequisite-required-before-any-generate",[790,792,798],{"type":51,"value":791},"Ingestion prerequisite (required before any ",{"type":45,"tag":76,"props":793,"children":795},{"className":794},[],[796],{"type":51,"value":797},"\u002Fgenerate",{"type":51,"value":799},")",{"type":45,"tag":54,"props":801,"children":802},{},[803,805,810],{"type":51,"value":804},"For a source to be searchable it must be ingested ",{"type":45,"tag":268,"props":806,"children":807},{},[808],{"type":51,"value":809},"through the VSS agent backend",{"type":51,"value":811},", not through VIOS alone. The agent's ingest routes own the VIOS upload + RTVI-CV register + RTVI-embed pipeline as one transaction; a bare VIOS PUT only stores the bytes and never wires them into Elasticsearch.",{"type":45,"tag":54,"props":813,"children":814},{},[815,817,822,824,830,832,838],{"type":51,"value":816},"Confirm the source exists in VIOS first (Mandatory workflow Step 2). If it is missing, ingest it with one of the recipes below before firing ",{"type":45,"tag":76,"props":818,"children":820},{"className":819},[],[821],{"type":51,"value":797},{"type":51,"value":823},". After ingest succeeds, the source appears in ",{"type":45,"tag":76,"props":825,"children":827},{"className":826},[],[828],{"type":51,"value":829},"sensor\u002Flist",{"type":51,"value":831}," under the name you provided and can be referenced from the natural-language query the agent forwards to its search-tool decomposer — you do NOT need to construct a structured ",{"type":45,"tag":76,"props":833,"children":835},{"className":834},[],[836],{"type":51,"value":837},"video_sources",{"type":51,"value":839}," payload yourself.",{"type":45,"tag":841,"props":842,"children":844},"h3",{"id":843},"file-upload-universal-three-step-flow",[845],{"type":51,"value":846},"File upload — universal three-step flow",{"type":45,"tag":54,"props":848,"children":849},{},[850,852,858,860,866],{"type":51,"value":851},"Use the timestamped upload form below. The VSS agent\u002Fsearch profile uses\n",{"type":45,"tag":76,"props":853,"children":855},{"className":854},[],[856],{"type":51,"value":857},"2025-01-01T00:00:00.000Z",{"type":51,"value":859}," as the uploaded ",{"type":45,"tag":76,"props":861,"children":863},{"className":862},[],[864],{"type":51,"value":865},"video_file",{"type":51,"value":867}," base timestamp;\nVIOS storage and embeddings must share that timeline, otherwise\nscreenshot URLs and critic frame fetches can fail.",{"type":45,"tag":536,"props":869,"children":871},{"className":538,"code":870,"language":540,"meta":541,"style":541},"FILENAME=\"\u003Cfilename.mp4>\"\nFILE_PATH=\"\u002Fpath\u002Fto\u002F${FILENAME}\"\n\n# 1. Ask the agent for the chunked-upload URL\nUPLOAD_URL=$(curl -s -X POST \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Fvideos\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d \"{\\\"filename\\\":\\\"${FILENAME}\\\"}\" | jq -r .url)\n\n# 2. Chunked POST the file to that VST URL (nvstreamer protocol).\n#    The final-chunk response carries sensorId.\nIDENTIFIER=$(uuidgen 2>\u002Fdev\u002Fnull || cat \u002Fproc\u002Fsys\u002Fkernel\u002Frandom\u002Fuuid)\nUPLOAD_RESPONSE=$(curl -s -X POST \"${UPLOAD_URL}\" \\\n  -H \"nvstreamer-chunk-number: 1\" \\\n  -H \"nvstreamer-total-chunks: 1\" \\\n  -H \"nvstreamer-is-last-chunk: true\" \\\n  -H \"nvstreamer-identifier: ${IDENTIFIER}\" \\\n  -H \"nvstreamer-file-name: ${FILENAME}\" \\\n  -F \"mediaFile=@${FILE_PATH};filename=${FILENAME}\" \\\n  -F \"filename=${FILENAME}\" \\\n  -F 'metadata={\"timestamp\":\"2025-01-01T00:00:00\"}')\n\n# 3. Tell the agent the upload finished — this fans out to RTVI-CV + RTVI-embed\nSENSOR=$(printf '%s' \"${UPLOAD_RESPONSE}\" | jq -r .sensorId)\n[ -z \"${SENSOR}\" ] || [ \"${SENSOR}\" = \"null\" ] \\\n  && { echo \"Upload failed: no sensorId in response: ${UPLOAD_RESPONSE}\"; exit 1; }\nprintf '%s' \"${UPLOAD_RESPONSE}\" \\\n  | jq --arg filename \"${FILENAME}\" '. + {filename: $filename}' \\\n  | curl -s -X POST \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Fvideos\u002F${SENSOR}\u002Fcomplete\" \\\n      -H \"Content-Type: application\u002Fjson\" \\\n      -d @- | jq .\n",[872],{"type":45,"tag":76,"props":873,"children":874},{"__ignoreMap":541},[875,902,936,946,956,1022,1048,1138,1146,1155,1164,1210,1257,1282,1307,1332,1365,1398,1449,1482,1509,1517,1526,1591,1669,1732,1768,1820,1894,1919],{"type":45,"tag":547,"props":876,"children":877},{"class":549,"line":550},[878,883,888,892,897],{"type":45,"tag":547,"props":879,"children":880},{"style":592},[881],{"type":51,"value":882},"FILENAME",{"type":45,"tag":547,"props":884,"children":885},{"style":576},[886],{"type":51,"value":887},"=",{"type":45,"tag":547,"props":889,"children":890},{"style":576},[891],{"type":51,"value":610},{"type":45,"tag":547,"props":893,"children":894},{"style":559},[895],{"type":51,"value":896},"\u003Cfilename.mp4>",{"type":45,"tag":547,"props":898,"children":899},{"style":576},[900],{"type":51,"value":901},"\"\n",{"type":45,"tag":547,"props":903,"children":904},{"class":549,"line":628},[905,910,914,918,923,927,931],{"type":45,"tag":547,"props":906,"children":907},{"style":592},[908],{"type":51,"value":909},"FILE_PATH",{"type":45,"tag":547,"props":911,"children":912},{"style":576},[913],{"type":51,"value":887},{"type":45,"tag":547,"props":915,"children":916},{"style":576},[917],{"type":51,"value":610},{"type":45,"tag":547,"props":919,"children":920},{"style":559},[921],{"type":51,"value":922},"\u002Fpath\u002Fto\u002F",{"type":45,"tag":547,"props":924,"children":925},{"style":576},[926],{"type":51,"value":589},{"type":45,"tag":547,"props":928,"children":929},{"style":592},[930],{"type":51,"value":882},{"type":45,"tag":547,"props":932,"children":933},{"style":576},[934],{"type":51,"value":935},"}\"\n",{"type":45,"tag":547,"props":937,"children":939},{"class":549,"line":938},3,[940],{"type":45,"tag":547,"props":941,"children":943},{"emptyLinePlaceholder":942},true,[944],{"type":51,"value":945},"\n",{"type":45,"tag":547,"props":947,"children":949},{"class":549,"line":948},4,[950],{"type":45,"tag":547,"props":951,"children":953},{"style":952},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[954],{"type":51,"value":955},"# 1. Ask the agent for the chunked-upload URL\n",{"type":45,"tag":547,"props":957,"children":959},{"class":549,"line":958},5,[960,965,970,974,979,984,989,993,997,1001,1005,1009,1014,1018],{"type":45,"tag":547,"props":961,"children":962},{"style":592},[963],{"type":51,"value":964},"UPLOAD_URL",{"type":45,"tag":547,"props":966,"children":967},{"style":576},[968],{"type":51,"value":969},"=$(",{"type":45,"tag":547,"props":971,"children":972},{"style":554},[973],{"type":51,"value":139},{"type":45,"tag":547,"props":975,"children":976},{"style":559},[977],{"type":51,"value":978}," -s",{"type":45,"tag":547,"props":980,"children":981},{"style":559},[982],{"type":51,"value":983}," -X",{"type":45,"tag":547,"props":985,"children":986},{"style":559},[987],{"type":51,"value":988}," POST",{"type":45,"tag":547,"props":990,"children":991},{"style":576},[992],{"type":51,"value":579},{"type":45,"tag":547,"props":994,"children":995},{"style":559},[996],{"type":51,"value":584},{"type":45,"tag":547,"props":998,"children":999},{"style":576},[1000],{"type":51,"value":589},{"type":45,"tag":547,"props":1002,"children":1003},{"style":592},[1004],{"type":51,"value":595},{"type":45,"tag":547,"props":1006,"children":1007},{"style":576},[1008],{"type":51,"value":600},{"type":45,"tag":547,"props":1010,"children":1011},{"style":559},[1012],{"type":51,"value":1013},":8000\u002Fapi\u002Fv1\u002Fvideos",{"type":45,"tag":547,"props":1015,"children":1016},{"style":576},[1017],{"type":51,"value":610},{"type":45,"tag":547,"props":1019,"children":1020},{"style":592},[1021],{"type":51,"value":625},{"type":45,"tag":547,"props":1023,"children":1025},{"class":549,"line":1024},6,[1026,1031,1035,1040,1044],{"type":45,"tag":547,"props":1027,"children":1028},{"style":559},[1029],{"type":51,"value":1030},"  -H",{"type":45,"tag":547,"props":1032,"children":1033},{"style":576},[1034],{"type":51,"value":579},{"type":45,"tag":547,"props":1036,"children":1037},{"style":559},[1038],{"type":51,"value":1039},"Content-Type: application\u002Fjson",{"type":45,"tag":547,"props":1041,"children":1042},{"style":576},[1043],{"type":51,"value":610},{"type":45,"tag":547,"props":1045,"children":1046},{"style":592},[1047],{"type":51,"value":625},{"type":45,"tag":547,"props":1049,"children":1051},{"class":549,"line":1050},7,[1052,1057,1061,1066,1071,1076,1080,1085,1089,1093,1097,1101,1105,1109,1113,1118,1123,1128,1133],{"type":45,"tag":547,"props":1053,"children":1054},{"style":559},[1055],{"type":51,"value":1056},"  -d",{"type":45,"tag":547,"props":1058,"children":1059},{"style":576},[1060],{"type":51,"value":579},{"type":45,"tag":547,"props":1062,"children":1063},{"style":559},[1064],{"type":51,"value":1065},"{",{"type":45,"tag":547,"props":1067,"children":1068},{"style":592},[1069],{"type":51,"value":1070},"\\\"",{"type":45,"tag":547,"props":1072,"children":1073},{"style":559},[1074],{"type":51,"value":1075},"filename",{"type":45,"tag":547,"props":1077,"children":1078},{"style":592},[1079],{"type":51,"value":1070},{"type":45,"tag":547,"props":1081,"children":1082},{"style":559},[1083],{"type":51,"value":1084},":",{"type":45,"tag":547,"props":1086,"children":1087},{"style":592},[1088],{"type":51,"value":1070},{"type":45,"tag":547,"props":1090,"children":1091},{"style":576},[1092],{"type":51,"value":589},{"type":45,"tag":547,"props":1094,"children":1095},{"style":592},[1096],{"type":51,"value":882},{"type":45,"tag":547,"props":1098,"children":1099},{"style":576},[1100],{"type":51,"value":600},{"type":45,"tag":547,"props":1102,"children":1103},{"style":592},[1104],{"type":51,"value":1070},{"type":45,"tag":547,"props":1106,"children":1107},{"style":559},[1108],{"type":51,"value":600},{"type":45,"tag":547,"props":1110,"children":1111},{"style":576},[1112],{"type":51,"value":610},{"type":45,"tag":547,"props":1114,"children":1115},{"style":576},[1116],{"type":51,"value":1117}," |",{"type":45,"tag":547,"props":1119,"children":1120},{"style":554},[1121],{"type":51,"value":1122}," jq",{"type":45,"tag":547,"props":1124,"children":1125},{"style":559},[1126],{"type":51,"value":1127}," -r",{"type":45,"tag":547,"props":1129,"children":1130},{"style":559},[1131],{"type":51,"value":1132}," .url",{"type":45,"tag":547,"props":1134,"children":1135},{"style":576},[1136],{"type":51,"value":1137},")\n",{"type":45,"tag":547,"props":1139,"children":1141},{"class":549,"line":1140},8,[1142],{"type":45,"tag":547,"props":1143,"children":1144},{"emptyLinePlaceholder":942},[1145],{"type":51,"value":945},{"type":45,"tag":547,"props":1147,"children":1149},{"class":549,"line":1148},9,[1150],{"type":45,"tag":547,"props":1151,"children":1152},{"style":952},[1153],{"type":51,"value":1154},"# 2. Chunked POST the file to that VST URL (nvstreamer protocol).\n",{"type":45,"tag":547,"props":1156,"children":1158},{"class":549,"line":1157},10,[1159],{"type":45,"tag":547,"props":1160,"children":1161},{"style":952},[1162],{"type":51,"value":1163},"#    The final-chunk response carries sensorId.\n",{"type":45,"tag":547,"props":1165,"children":1167},{"class":549,"line":1166},11,[1168,1173,1177,1182,1187,1191,1196,1201,1206],{"type":45,"tag":547,"props":1169,"children":1170},{"style":592},[1171],{"type":51,"value":1172},"IDENTIFIER",{"type":45,"tag":547,"props":1174,"children":1175},{"style":576},[1176],{"type":51,"value":969},{"type":45,"tag":547,"props":1178,"children":1179},{"style":554},[1180],{"type":51,"value":1181},"uuidgen",{"type":45,"tag":547,"props":1183,"children":1184},{"style":576},[1185],{"type":51,"value":1186}," 2>",{"type":45,"tag":547,"props":1188,"children":1189},{"style":559},[1190],{"type":51,"value":620},{"type":45,"tag":547,"props":1192,"children":1193},{"style":576},[1194],{"type":51,"value":1195}," ||",{"type":45,"tag":547,"props":1197,"children":1198},{"style":554},[1199],{"type":51,"value":1200}," cat",{"type":45,"tag":547,"props":1202,"children":1203},{"style":559},[1204],{"type":51,"value":1205}," \u002Fproc\u002Fsys\u002Fkernel\u002Frandom\u002Fuuid",{"type":45,"tag":547,"props":1207,"children":1208},{"style":576},[1209],{"type":51,"value":1137},{"type":45,"tag":547,"props":1211,"children":1213},{"class":549,"line":1212},12,[1214,1219,1223,1227,1231,1235,1239,1244,1248,1253],{"type":45,"tag":547,"props":1215,"children":1216},{"style":592},[1217],{"type":51,"value":1218},"UPLOAD_RESPONSE",{"type":45,"tag":547,"props":1220,"children":1221},{"style":576},[1222],{"type":51,"value":969},{"type":45,"tag":547,"props":1224,"children":1225},{"style":554},[1226],{"type":51,"value":139},{"type":45,"tag":547,"props":1228,"children":1229},{"style":559},[1230],{"type":51,"value":978},{"type":45,"tag":547,"props":1232,"children":1233},{"style":559},[1234],{"type":51,"value":983},{"type":45,"tag":547,"props":1236,"children":1237},{"style":559},[1238],{"type":51,"value":988},{"type":45,"tag":547,"props":1240,"children":1241},{"style":576},[1242],{"type":51,"value":1243}," \"${",{"type":45,"tag":547,"props":1245,"children":1246},{"style":592},[1247],{"type":51,"value":964},{"type":45,"tag":547,"props":1249,"children":1250},{"style":576},[1251],{"type":51,"value":1252},"}\"",{"type":45,"tag":547,"props":1254,"children":1255},{"style":592},[1256],{"type":51,"value":625},{"type":45,"tag":547,"props":1258,"children":1260},{"class":549,"line":1259},13,[1261,1265,1269,1274,1278],{"type":45,"tag":547,"props":1262,"children":1263},{"style":559},[1264],{"type":51,"value":1030},{"type":45,"tag":547,"props":1266,"children":1267},{"style":576},[1268],{"type":51,"value":579},{"type":45,"tag":547,"props":1270,"children":1271},{"style":559},[1272],{"type":51,"value":1273},"nvstreamer-chunk-number: 1",{"type":45,"tag":547,"props":1275,"children":1276},{"style":576},[1277],{"type":51,"value":610},{"type":45,"tag":547,"props":1279,"children":1280},{"style":592},[1281],{"type":51,"value":625},{"type":45,"tag":547,"props":1283,"children":1285},{"class":549,"line":1284},14,[1286,1290,1294,1299,1303],{"type":45,"tag":547,"props":1287,"children":1288},{"style":559},[1289],{"type":51,"value":1030},{"type":45,"tag":547,"props":1291,"children":1292},{"style":576},[1293],{"type":51,"value":579},{"type":45,"tag":547,"props":1295,"children":1296},{"style":559},[1297],{"type":51,"value":1298},"nvstreamer-total-chunks: 1",{"type":45,"tag":547,"props":1300,"children":1301},{"style":576},[1302],{"type":51,"value":610},{"type":45,"tag":547,"props":1304,"children":1305},{"style":592},[1306],{"type":51,"value":625},{"type":45,"tag":547,"props":1308,"children":1310},{"class":549,"line":1309},15,[1311,1315,1319,1324,1328],{"type":45,"tag":547,"props":1312,"children":1313},{"style":559},[1314],{"type":51,"value":1030},{"type":45,"tag":547,"props":1316,"children":1317},{"style":576},[1318],{"type":51,"value":579},{"type":45,"tag":547,"props":1320,"children":1321},{"style":559},[1322],{"type":51,"value":1323},"nvstreamer-is-last-chunk: true",{"type":45,"tag":547,"props":1325,"children":1326},{"style":576},[1327],{"type":51,"value":610},{"type":45,"tag":547,"props":1329,"children":1330},{"style":592},[1331],{"type":51,"value":625},{"type":45,"tag":547,"props":1333,"children":1335},{"class":549,"line":1334},16,[1336,1340,1344,1349,1353,1357,1361],{"type":45,"tag":547,"props":1337,"children":1338},{"style":559},[1339],{"type":51,"value":1030},{"type":45,"tag":547,"props":1341,"children":1342},{"style":576},[1343],{"type":51,"value":579},{"type":45,"tag":547,"props":1345,"children":1346},{"style":559},[1347],{"type":51,"value":1348},"nvstreamer-identifier: ",{"type":45,"tag":547,"props":1350,"children":1351},{"style":576},[1352],{"type":51,"value":589},{"type":45,"tag":547,"props":1354,"children":1355},{"style":592},[1356],{"type":51,"value":1172},{"type":45,"tag":547,"props":1358,"children":1359},{"style":576},[1360],{"type":51,"value":1252},{"type":45,"tag":547,"props":1362,"children":1363},{"style":592},[1364],{"type":51,"value":625},{"type":45,"tag":547,"props":1366,"children":1368},{"class":549,"line":1367},17,[1369,1373,1377,1382,1386,1390,1394],{"type":45,"tag":547,"props":1370,"children":1371},{"style":559},[1372],{"type":51,"value":1030},{"type":45,"tag":547,"props":1374,"children":1375},{"style":576},[1376],{"type":51,"value":579},{"type":45,"tag":547,"props":1378,"children":1379},{"style":559},[1380],{"type":51,"value":1381},"nvstreamer-file-name: ",{"type":45,"tag":547,"props":1383,"children":1384},{"style":576},[1385],{"type":51,"value":589},{"type":45,"tag":547,"props":1387,"children":1388},{"style":592},[1389],{"type":51,"value":882},{"type":45,"tag":547,"props":1391,"children":1392},{"style":576},[1393],{"type":51,"value":1252},{"type":45,"tag":547,"props":1395,"children":1396},{"style":592},[1397],{"type":51,"value":625},{"type":45,"tag":547,"props":1399,"children":1401},{"class":549,"line":1400},18,[1402,1407,1411,1416,1420,1424,1428,1433,1437,1441,1445],{"type":45,"tag":547,"props":1403,"children":1404},{"style":559},[1405],{"type":51,"value":1406},"  -F",{"type":45,"tag":547,"props":1408,"children":1409},{"style":576},[1410],{"type":51,"value":579},{"type":45,"tag":547,"props":1412,"children":1413},{"style":559},[1414],{"type":51,"value":1415},"mediaFile=@",{"type":45,"tag":547,"props":1417,"children":1418},{"style":576},[1419],{"type":51,"value":589},{"type":45,"tag":547,"props":1421,"children":1422},{"style":592},[1423],{"type":51,"value":909},{"type":45,"tag":547,"props":1425,"children":1426},{"style":576},[1427],{"type":51,"value":600},{"type":45,"tag":547,"props":1429,"children":1430},{"style":559},[1431],{"type":51,"value":1432},";filename=",{"type":45,"tag":547,"props":1434,"children":1435},{"style":576},[1436],{"type":51,"value":589},{"type":45,"tag":547,"props":1438,"children":1439},{"style":592},[1440],{"type":51,"value":882},{"type":45,"tag":547,"props":1442,"children":1443},{"style":576},[1444],{"type":51,"value":1252},{"type":45,"tag":547,"props":1446,"children":1447},{"style":592},[1448],{"type":51,"value":625},{"type":45,"tag":547,"props":1450,"children":1452},{"class":549,"line":1451},19,[1453,1457,1461,1466,1470,1474,1478],{"type":45,"tag":547,"props":1454,"children":1455},{"style":559},[1456],{"type":51,"value":1406},{"type":45,"tag":547,"props":1458,"children":1459},{"style":576},[1460],{"type":51,"value":579},{"type":45,"tag":547,"props":1462,"children":1463},{"style":559},[1464],{"type":51,"value":1465},"filename=",{"type":45,"tag":547,"props":1467,"children":1468},{"style":576},[1469],{"type":51,"value":589},{"type":45,"tag":547,"props":1471,"children":1472},{"style":592},[1473],{"type":51,"value":882},{"type":45,"tag":547,"props":1475,"children":1476},{"style":576},[1477],{"type":51,"value":1252},{"type":45,"tag":547,"props":1479,"children":1480},{"style":592},[1481],{"type":51,"value":625},{"type":45,"tag":547,"props":1483,"children":1485},{"class":549,"line":1484},20,[1486,1490,1495,1500,1505],{"type":45,"tag":547,"props":1487,"children":1488},{"style":559},[1489],{"type":51,"value":1406},{"type":45,"tag":547,"props":1491,"children":1492},{"style":576},[1493],{"type":51,"value":1494}," '",{"type":45,"tag":547,"props":1496,"children":1497},{"style":559},[1498],{"type":51,"value":1499},"metadata={\"timestamp\":\"2025-01-01T00:00:00\"}",{"type":45,"tag":547,"props":1501,"children":1502},{"style":576},[1503],{"type":51,"value":1504},"'",{"type":45,"tag":547,"props":1506,"children":1507},{"style":576},[1508],{"type":51,"value":1137},{"type":45,"tag":547,"props":1510,"children":1512},{"class":549,"line":1511},21,[1513],{"type":45,"tag":547,"props":1514,"children":1515},{"emptyLinePlaceholder":942},[1516],{"type":51,"value":945},{"type":45,"tag":547,"props":1518,"children":1520},{"class":549,"line":1519},22,[1521],{"type":45,"tag":547,"props":1522,"children":1523},{"style":952},[1524],{"type":51,"value":1525},"# 3. Tell the agent the upload finished — this fans out to RTVI-CV + RTVI-embed\n",{"type":45,"tag":547,"props":1527,"children":1529},{"class":549,"line":1528},23,[1530,1535,1539,1545,1549,1554,1558,1562,1566,1570,1574,1578,1582,1587],{"type":45,"tag":547,"props":1531,"children":1532},{"style":592},[1533],{"type":51,"value":1534},"SENSOR",{"type":45,"tag":547,"props":1536,"children":1537},{"style":576},[1538],{"type":51,"value":969},{"type":45,"tag":547,"props":1540,"children":1542},{"style":1541},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1543],{"type":51,"value":1544},"printf",{"type":45,"tag":547,"props":1546,"children":1547},{"style":576},[1548],{"type":51,"value":1494},{"type":45,"tag":547,"props":1550,"children":1551},{"style":559},[1552],{"type":51,"value":1553},"%s",{"type":45,"tag":547,"props":1555,"children":1556},{"style":576},[1557],{"type":51,"value":1504},{"type":45,"tag":547,"props":1559,"children":1560},{"style":576},[1561],{"type":51,"value":1243},{"type":45,"tag":547,"props":1563,"children":1564},{"style":592},[1565],{"type":51,"value":1218},{"type":45,"tag":547,"props":1567,"children":1568},{"style":576},[1569],{"type":51,"value":1252},{"type":45,"tag":547,"props":1571,"children":1572},{"style":576},[1573],{"type":51,"value":1117},{"type":45,"tag":547,"props":1575,"children":1576},{"style":554},[1577],{"type":51,"value":1122},{"type":45,"tag":547,"props":1579,"children":1580},{"style":559},[1581],{"type":51,"value":1127},{"type":45,"tag":547,"props":1583,"children":1584},{"style":559},[1585],{"type":51,"value":1586}," .sensorId",{"type":45,"tag":547,"props":1588,"children":1589},{"style":576},[1590],{"type":51,"value":1137},{"type":45,"tag":547,"props":1592,"children":1594},{"class":549,"line":1593},24,[1595,1600,1605,1609,1613,1617,1622,1626,1631,1635,1639,1643,1648,1652,1657,1661,1665],{"type":45,"tag":547,"props":1596,"children":1597},{"style":576},[1598],{"type":51,"value":1599},"[",{"type":45,"tag":547,"props":1601,"children":1602},{"style":576},[1603],{"type":51,"value":1604}," -z",{"type":45,"tag":547,"props":1606,"children":1607},{"style":576},[1608],{"type":51,"value":1243},{"type":45,"tag":547,"props":1610,"children":1611},{"style":592},[1612],{"type":51,"value":1534},{"type":45,"tag":547,"props":1614,"children":1615},{"style":576},[1616],{"type":51,"value":1252},{"type":45,"tag":547,"props":1618,"children":1619},{"style":576},[1620],{"type":51,"value":1621}," ]",{"type":45,"tag":547,"props":1623,"children":1624},{"style":576},[1625],{"type":51,"value":1195},{"type":45,"tag":547,"props":1627,"children":1628},{"style":576},[1629],{"type":51,"value":1630}," [",{"type":45,"tag":547,"props":1632,"children":1633},{"style":576},[1634],{"type":51,"value":1243},{"type":45,"tag":547,"props":1636,"children":1637},{"style":592},[1638],{"type":51,"value":1534},{"type":45,"tag":547,"props":1640,"children":1641},{"style":576},[1642],{"type":51,"value":1252},{"type":45,"tag":547,"props":1644,"children":1645},{"style":576},[1646],{"type":51,"value":1647}," =",{"type":45,"tag":547,"props":1649,"children":1650},{"style":576},[1651],{"type":51,"value":579},{"type":45,"tag":547,"props":1653,"children":1654},{"style":559},[1655],{"type":51,"value":1656},"null",{"type":45,"tag":547,"props":1658,"children":1659},{"style":576},[1660],{"type":51,"value":610},{"type":45,"tag":547,"props":1662,"children":1663},{"style":576},[1664],{"type":51,"value":1621},{"type":45,"tag":547,"props":1666,"children":1667},{"style":592},[1668],{"type":51,"value":625},{"type":45,"tag":547,"props":1670,"children":1672},{"class":549,"line":1671},25,[1673,1677,1682,1687,1691,1696,1700,1704,1708,1713,1718,1723,1727],{"type":45,"tag":547,"props":1674,"children":1675},{"style":576},[1676],{"type":51,"value":634},{"type":45,"tag":547,"props":1678,"children":1679},{"style":576},[1680],{"type":51,"value":1681}," {",{"type":45,"tag":547,"props":1683,"children":1684},{"style":1541},[1685],{"type":51,"value":1686}," echo",{"type":45,"tag":547,"props":1688,"children":1689},{"style":576},[1690],{"type":51,"value":579},{"type":45,"tag":547,"props":1692,"children":1693},{"style":559},[1694],{"type":51,"value":1695},"Upload failed: no sensorId in response: ",{"type":45,"tag":547,"props":1697,"children":1698},{"style":576},[1699],{"type":51,"value":589},{"type":45,"tag":547,"props":1701,"children":1702},{"style":592},[1703],{"type":51,"value":1218},{"type":45,"tag":547,"props":1705,"children":1706},{"style":576},[1707],{"type":51,"value":1252},{"type":45,"tag":547,"props":1709,"children":1710},{"style":576},[1711],{"type":51,"value":1712},";",{"type":45,"tag":547,"props":1714,"children":1715},{"style":1541},[1716],{"type":51,"value":1717}," exit",{"type":45,"tag":547,"props":1719,"children":1720},{"style":570},[1721],{"type":51,"value":1722}," 1",{"type":45,"tag":547,"props":1724,"children":1725},{"style":576},[1726],{"type":51,"value":1712},{"type":45,"tag":547,"props":1728,"children":1729},{"style":576},[1730],{"type":51,"value":1731}," }\n",{"type":45,"tag":547,"props":1733,"children":1735},{"class":549,"line":1734},26,[1736,1740,1744,1748,1752,1756,1760,1764],{"type":45,"tag":547,"props":1737,"children":1738},{"style":1541},[1739],{"type":51,"value":1544},{"type":45,"tag":547,"props":1741,"children":1742},{"style":576},[1743],{"type":51,"value":1494},{"type":45,"tag":547,"props":1745,"children":1746},{"style":559},[1747],{"type":51,"value":1553},{"type":45,"tag":547,"props":1749,"children":1750},{"style":576},[1751],{"type":51,"value":1504},{"type":45,"tag":547,"props":1753,"children":1754},{"style":576},[1755],{"type":51,"value":1243},{"type":45,"tag":547,"props":1757,"children":1758},{"style":592},[1759],{"type":51,"value":1218},{"type":45,"tag":547,"props":1761,"children":1762},{"style":576},[1763],{"type":51,"value":1252},{"type":45,"tag":547,"props":1765,"children":1766},{"style":592},[1767],{"type":51,"value":625},{"type":45,"tag":547,"props":1769,"children":1771},{"class":549,"line":1770},27,[1772,1777,1781,1786,1791,1795,1799,1803,1807,1812,1816],{"type":45,"tag":547,"props":1773,"children":1774},{"style":576},[1775],{"type":51,"value":1776},"  |",{"type":45,"tag":547,"props":1778,"children":1779},{"style":554},[1780],{"type":51,"value":1122},{"type":45,"tag":547,"props":1782,"children":1783},{"style":559},[1784],{"type":51,"value":1785}," --arg",{"type":45,"tag":547,"props":1787,"children":1788},{"style":559},[1789],{"type":51,"value":1790}," filename",{"type":45,"tag":547,"props":1792,"children":1793},{"style":576},[1794],{"type":51,"value":1243},{"type":45,"tag":547,"props":1796,"children":1797},{"style":592},[1798],{"type":51,"value":882},{"type":45,"tag":547,"props":1800,"children":1801},{"style":576},[1802],{"type":51,"value":1252},{"type":45,"tag":547,"props":1804,"children":1805},{"style":576},[1806],{"type":51,"value":1494},{"type":45,"tag":547,"props":1808,"children":1809},{"style":559},[1810],{"type":51,"value":1811},". + {filename: $filename}",{"type":45,"tag":547,"props":1813,"children":1814},{"style":576},[1815],{"type":51,"value":1504},{"type":45,"tag":547,"props":1817,"children":1818},{"style":592},[1819],{"type":51,"value":625},{"type":45,"tag":547,"props":1821,"children":1823},{"class":549,"line":1822},28,[1824,1828,1832,1836,1840,1844,1848,1852,1856,1860,1864,1869,1873,1877,1881,1886,1890],{"type":45,"tag":547,"props":1825,"children":1826},{"style":576},[1827],{"type":51,"value":1776},{"type":45,"tag":547,"props":1829,"children":1830},{"style":554},[1831],{"type":51,"value":639},{"type":45,"tag":547,"props":1833,"children":1834},{"style":559},[1835],{"type":51,"value":978},{"type":45,"tag":547,"props":1837,"children":1838},{"style":559},[1839],{"type":51,"value":983},{"type":45,"tag":547,"props":1841,"children":1842},{"style":559},[1843],{"type":51,"value":988},{"type":45,"tag":547,"props":1845,"children":1846},{"style":576},[1847],{"type":51,"value":579},{"type":45,"tag":547,"props":1849,"children":1850},{"style":559},[1851],{"type":51,"value":584},{"type":45,"tag":547,"props":1853,"children":1854},{"style":576},[1855],{"type":51,"value":589},{"type":45,"tag":547,"props":1857,"children":1858},{"style":592},[1859],{"type":51,"value":595},{"type":45,"tag":547,"props":1861,"children":1862},{"style":576},[1863],{"type":51,"value":600},{"type":45,"tag":547,"props":1865,"children":1866},{"style":559},[1867],{"type":51,"value":1868},":8000\u002Fapi\u002Fv1\u002Fvideos\u002F",{"type":45,"tag":547,"props":1870,"children":1871},{"style":576},[1872],{"type":51,"value":589},{"type":45,"tag":547,"props":1874,"children":1875},{"style":592},[1876],{"type":51,"value":1534},{"type":45,"tag":547,"props":1878,"children":1879},{"style":576},[1880],{"type":51,"value":600},{"type":45,"tag":547,"props":1882,"children":1883},{"style":559},[1884],{"type":51,"value":1885},"\u002Fcomplete",{"type":45,"tag":547,"props":1887,"children":1888},{"style":576},[1889],{"type":51,"value":610},{"type":45,"tag":547,"props":1891,"children":1892},{"style":592},[1893],{"type":51,"value":625},{"type":45,"tag":547,"props":1895,"children":1897},{"class":549,"line":1896},29,[1898,1903,1907,1911,1915],{"type":45,"tag":547,"props":1899,"children":1900},{"style":559},[1901],{"type":51,"value":1902},"      -H",{"type":45,"tag":547,"props":1904,"children":1905},{"style":576},[1906],{"type":51,"value":579},{"type":45,"tag":547,"props":1908,"children":1909},{"style":559},[1910],{"type":51,"value":1039},{"type":45,"tag":547,"props":1912,"children":1913},{"style":576},[1914],{"type":51,"value":610},{"type":45,"tag":547,"props":1916,"children":1917},{"style":592},[1918],{"type":51,"value":625},{"type":45,"tag":547,"props":1920,"children":1922},{"class":549,"line":1921},30,[1923,1928,1933,1937,1941],{"type":45,"tag":547,"props":1924,"children":1925},{"style":559},[1926],{"type":51,"value":1927},"      -d",{"type":45,"tag":547,"props":1929,"children":1930},{"style":559},[1931],{"type":51,"value":1932}," @-",{"type":45,"tag":547,"props":1934,"children":1935},{"style":576},[1936],{"type":51,"value":1117},{"type":45,"tag":547,"props":1938,"children":1939},{"style":554},[1940],{"type":51,"value":1122},{"type":45,"tag":547,"props":1942,"children":1943},{"style":559},[1944],{"type":51,"value":1945}," .\n",{"type":45,"tag":54,"props":1947,"children":1948},{},[1949,1951,1956,1958,1964],{"type":51,"value":1950},"Wait for the ",{"type":45,"tag":76,"props":1952,"children":1954},{"className":1953},[],[1955],{"type":51,"value":1885},{"type":51,"value":1957}," response (it returns ",{"type":45,"tag":76,"props":1959,"children":1961},{"className":1960},[],[1962],{"type":51,"value":1963},"chunks_processed > 0",{"type":51,"value":1965}," once embeddings land). Only then is the video searchable.",{"type":45,"tag":393,"props":1967,"children":1968},{},[1969],{"type":45,"tag":54,"props":1970,"children":1971},{},[1972,1974,1980,1982,1988],{"type":51,"value":1973},"The deprecated ",{"type":45,"tag":76,"props":1975,"children":1977},{"className":1976},[],[1978],{"type":51,"value":1979},"PUT \u002Fapi\u002Fv1\u002Fvideos-for-search\u002F{filename}",{"type":51,"value":1981}," route is also wired in for legacy callers (single-shot, agent-driven), but its OpenAPI entry is flagged ",{"type":45,"tag":76,"props":1983,"children":1985},{"className":1984},[],[1986],{"type":51,"value":1987},"deprecated",{"type":51,"value":1989},". Prefer the three-step flow above for new work.",{"type":45,"tag":841,"props":1991,"children":1993},{"id":1992},"rtsp-stream-single-endpoint",[1994],{"type":51,"value":1995},"RTSP stream — single endpoint",{"type":45,"tag":536,"props":1997,"children":1999},{"className":538,"code":1998,"language":540,"meta":541,"style":541},"curl -s -X POST \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fadd\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"sensorUrl\": \"rtsp:\u002F\u002F\u003Chost>:\u003Cport>\u002F\u003Cpath>\",\n    \"name\": \"\u003Csensor-name>\",\n    \"username\": \"\",\n    \"password\": \"\",\n    \"location\": \"\",\n    \"tags\": \"\"\n  }' | jq .\n",[2000],{"type":45,"tag":76,"props":2001,"children":2002},{"__ignoreMap":541},[2003,2055,2078,2094,2102,2110,2118,2126,2134,2142],{"type":45,"tag":547,"props":2004,"children":2005},{"class":549,"line":550},[2006,2010,2014,2018,2022,2026,2030,2034,2038,2042,2047,2051],{"type":45,"tag":547,"props":2007,"children":2008},{"style":554},[2009],{"type":51,"value":139},{"type":45,"tag":547,"props":2011,"children":2012},{"style":559},[2013],{"type":51,"value":978},{"type":45,"tag":547,"props":2015,"children":2016},{"style":559},[2017],{"type":51,"value":983},{"type":45,"tag":547,"props":2019,"children":2020},{"style":559},[2021],{"type":51,"value":988},{"type":45,"tag":547,"props":2023,"children":2024},{"style":576},[2025],{"type":51,"value":579},{"type":45,"tag":547,"props":2027,"children":2028},{"style":559},[2029],{"type":51,"value":584},{"type":45,"tag":547,"props":2031,"children":2032},{"style":576},[2033],{"type":51,"value":589},{"type":45,"tag":547,"props":2035,"children":2036},{"style":592},[2037],{"type":51,"value":595},{"type":45,"tag":547,"props":2039,"children":2040},{"style":576},[2041],{"type":51,"value":600},{"type":45,"tag":547,"props":2043,"children":2044},{"style":559},[2045],{"type":51,"value":2046},":8000\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fadd",{"type":45,"tag":547,"props":2048,"children":2049},{"style":576},[2050],{"type":51,"value":610},{"type":45,"tag":547,"props":2052,"children":2053},{"style":592},[2054],{"type":51,"value":625},{"type":45,"tag":547,"props":2056,"children":2057},{"class":549,"line":628},[2058,2062,2066,2070,2074],{"type":45,"tag":547,"props":2059,"children":2060},{"style":559},[2061],{"type":51,"value":1030},{"type":45,"tag":547,"props":2063,"children":2064},{"style":576},[2065],{"type":51,"value":579},{"type":45,"tag":547,"props":2067,"children":2068},{"style":559},[2069],{"type":51,"value":1039},{"type":45,"tag":547,"props":2071,"children":2072},{"style":576},[2073],{"type":51,"value":610},{"type":45,"tag":547,"props":2075,"children":2076},{"style":592},[2077],{"type":51,"value":625},{"type":45,"tag":547,"props":2079,"children":2080},{"class":549,"line":938},[2081,2085,2089],{"type":45,"tag":547,"props":2082,"children":2083},{"style":559},[2084],{"type":51,"value":1056},{"type":45,"tag":547,"props":2086,"children":2087},{"style":576},[2088],{"type":51,"value":1494},{"type":45,"tag":547,"props":2090,"children":2091},{"style":559},[2092],{"type":51,"value":2093},"{\n",{"type":45,"tag":547,"props":2095,"children":2096},{"class":549,"line":948},[2097],{"type":45,"tag":547,"props":2098,"children":2099},{"style":559},[2100],{"type":51,"value":2101},"    \"sensorUrl\": \"rtsp:\u002F\u002F\u003Chost>:\u003Cport>\u002F\u003Cpath>\",\n",{"type":45,"tag":547,"props":2103,"children":2104},{"class":549,"line":958},[2105],{"type":45,"tag":547,"props":2106,"children":2107},{"style":559},[2108],{"type":51,"value":2109},"    \"name\": \"\u003Csensor-name>\",\n",{"type":45,"tag":547,"props":2111,"children":2112},{"class":549,"line":1024},[2113],{"type":45,"tag":547,"props":2114,"children":2115},{"style":559},[2116],{"type":51,"value":2117},"    \"username\": \"\",\n",{"type":45,"tag":547,"props":2119,"children":2120},{"class":549,"line":1050},[2121],{"type":45,"tag":547,"props":2122,"children":2123},{"style":559},[2124],{"type":51,"value":2125},"    \"password\": \"\",\n",{"type":45,"tag":547,"props":2127,"children":2128},{"class":549,"line":1140},[2129],{"type":45,"tag":547,"props":2130,"children":2131},{"style":559},[2132],{"type":51,"value":2133},"    \"location\": \"\",\n",{"type":45,"tag":547,"props":2135,"children":2136},{"class":549,"line":1148},[2137],{"type":45,"tag":547,"props":2138,"children":2139},{"style":559},[2140],{"type":51,"value":2141},"    \"tags\": \"\"\n",{"type":45,"tag":547,"props":2143,"children":2144},{"class":549,"line":1157},[2145,2150,2154,2158,2162],{"type":45,"tag":547,"props":2146,"children":2147},{"style":559},[2148],{"type":51,"value":2149},"  }",{"type":45,"tag":547,"props":2151,"children":2152},{"style":576},[2153],{"type":51,"value":1504},{"type":45,"tag":547,"props":2155,"children":2156},{"style":576},[2157],{"type":51,"value":1117},{"type":45,"tag":547,"props":2159,"children":2160},{"style":554},[2161],{"type":51,"value":1122},{"type":45,"tag":547,"props":2163,"children":2164},{"style":559},[2165],{"type":51,"value":1945},{"type":45,"tag":54,"props":2167,"children":2168},{},[2169,2171,2177,2179,2185,2187,2193,2195,2201,2203,2208,2210,2216],{"type":51,"value":2170},"The response shape is ",{"type":45,"tag":76,"props":2172,"children":2174},{"className":2173},[],[2175],{"type":51,"value":2176},"{status, message, error}",{"type":51,"value":2178}," — no ",{"type":45,"tag":76,"props":2180,"children":2182},{"className":2181},[],[2183],{"type":51,"value":2184},"sensorId",{"type":51,"value":2186}," (the agent keys the stream by the ",{"type":45,"tag":76,"props":2188,"children":2190},{"className":2189},[],[2191],{"type":51,"value":2192},"name",{"type":51,"value":2194}," you provided). On any step's failure earlier steps roll back. The ",{"type":45,"tag":76,"props":2196,"children":2198},{"className":2197},[],[2199],{"type":51,"value":2200},"start_embedding_generation",{"type":51,"value":2202}," step is fire-and-verify: a 2xx confirms the request was accepted and the embedding pipeline is running in the background, ",{"type":45,"tag":268,"props":2204,"children":2205},{},[2206],{"type":51,"value":2207},"not",{"type":51,"value":2209}," that the stream is searchable yet. Search hits will start appearing only after enough chunks land in Elasticsearch — poll with a low-",{"type":45,"tag":76,"props":2211,"children":2213},{"className":2212},[],[2214],{"type":51,"value":2215},"top_k",{"type":51,"value":2217}," query a few seconds in if you need a readiness signal.",{"type":45,"tag":841,"props":2219,"children":2221},{"id":2220},"delete-source-agent-backed-cleanup",[2222],{"type":51,"value":2223},"Delete source — agent-backed cleanup",{"type":45,"tag":54,"props":2225,"children":2226},{},[2227],{"type":51,"value":2228},"Delete through the agent backend, not bare VIOS, so VIOS storage and search embeddings are cleaned up together.",{"type":45,"tag":536,"props":2230,"children":2232},{"className":538,"code":2231,"language":540,"meta":541,"style":541},"# For video files: video_id is the VIOS sensor\u002Fvideo UUID\ncurl -s -X DELETE \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Fvideos\u002F\u003Cvideo_id>\" | jq .\n\n# For RTSP streams: name is the registered source name\ncurl -s -X DELETE \"http:\u002F\u002F${HOST_IP}:8000\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fdelete\u002F\u003Cname>\" | jq .\n",[2233],{"type":45,"tag":76,"props":2234,"children":2235},{"__ignoreMap":541},[2236,2244,2305,2312,2320],{"type":45,"tag":547,"props":2237,"children":2238},{"class":549,"line":550},[2239],{"type":45,"tag":547,"props":2240,"children":2241},{"style":952},[2242],{"type":51,"value":2243},"# For video files: video_id is the VIOS sensor\u002Fvideo UUID\n",{"type":45,"tag":547,"props":2245,"children":2246},{"class":549,"line":628},[2247,2251,2255,2259,2264,2268,2272,2276,2280,2284,2289,2293,2297,2301],{"type":45,"tag":547,"props":2248,"children":2249},{"style":554},[2250],{"type":51,"value":139},{"type":45,"tag":547,"props":2252,"children":2253},{"style":559},[2254],{"type":51,"value":978},{"type":45,"tag":547,"props":2256,"children":2257},{"style":559},[2258],{"type":51,"value":983},{"type":45,"tag":547,"props":2260,"children":2261},{"style":559},[2262],{"type":51,"value":2263}," DELETE",{"type":45,"tag":547,"props":2265,"children":2266},{"style":576},[2267],{"type":51,"value":579},{"type":45,"tag":547,"props":2269,"children":2270},{"style":559},[2271],{"type":51,"value":584},{"type":45,"tag":547,"props":2273,"children":2274},{"style":576},[2275],{"type":51,"value":589},{"type":45,"tag":547,"props":2277,"children":2278},{"style":592},[2279],{"type":51,"value":595},{"type":45,"tag":547,"props":2281,"children":2282},{"style":576},[2283],{"type":51,"value":600},{"type":45,"tag":547,"props":2285,"children":2286},{"style":559},[2287],{"type":51,"value":2288},":8000\u002Fapi\u002Fv1\u002Fvideos\u002F\u003Cvideo_id>",{"type":45,"tag":547,"props":2290,"children":2291},{"style":576},[2292],{"type":51,"value":610},{"type":45,"tag":547,"props":2294,"children":2295},{"style":576},[2296],{"type":51,"value":1117},{"type":45,"tag":547,"props":2298,"children":2299},{"style":554},[2300],{"type":51,"value":1122},{"type":45,"tag":547,"props":2302,"children":2303},{"style":559},[2304],{"type":51,"value":1945},{"type":45,"tag":547,"props":2306,"children":2307},{"class":549,"line":938},[2308],{"type":45,"tag":547,"props":2309,"children":2310},{"emptyLinePlaceholder":942},[2311],{"type":51,"value":945},{"type":45,"tag":547,"props":2313,"children":2314},{"class":549,"line":948},[2315],{"type":45,"tag":547,"props":2316,"children":2317},{"style":952},[2318],{"type":51,"value":2319},"# For RTSP streams: name is the registered source name\n",{"type":45,"tag":547,"props":2321,"children":2322},{"class":549,"line":958},[2323,2327,2331,2335,2339,2343,2347,2351,2355,2359,2364,2368,2372,2376],{"type":45,"tag":547,"props":2324,"children":2325},{"style":554},[2326],{"type":51,"value":139},{"type":45,"tag":547,"props":2328,"children":2329},{"style":559},[2330],{"type":51,"value":978},{"type":45,"tag":547,"props":2332,"children":2333},{"style":559},[2334],{"type":51,"value":983},{"type":45,"tag":547,"props":2336,"children":2337},{"style":559},[2338],{"type":51,"value":2263},{"type":45,"tag":547,"props":2340,"children":2341},{"style":576},[2342],{"type":51,"value":579},{"type":45,"tag":547,"props":2344,"children":2345},{"style":559},[2346],{"type":51,"value":584},{"type":45,"tag":547,"props":2348,"children":2349},{"style":576},[2350],{"type":51,"value":589},{"type":45,"tag":547,"props":2352,"children":2353},{"style":592},[2354],{"type":51,"value":595},{"type":45,"tag":547,"props":2356,"children":2357},{"style":576},[2358],{"type":51,"value":600},{"type":45,"tag":547,"props":2360,"children":2361},{"style":559},[2362],{"type":51,"value":2363},":8000\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fdelete\u002F\u003Cname>",{"type":45,"tag":547,"props":2365,"children":2366},{"style":576},[2367],{"type":51,"value":610},{"type":45,"tag":547,"props":2369,"children":2370},{"style":576},[2371],{"type":51,"value":1117},{"type":45,"tag":547,"props":2373,"children":2374},{"style":554},[2375],{"type":51,"value":1122},{"type":45,"tag":547,"props":2377,"children":2378},{"style":559},[2379],{"type":51,"value":1945},{"type":45,"tag":499,"props":2381,"children":2382},{},[],{"type":45,"tag":46,"props":2384,"children":2386},{"id":2385},"how-search-works",[2387],{"type":51,"value":2388},"How Search Works",{"type":45,"tag":527,"props":2390,"children":2391},{},[2392,2410,2420,2430],{"type":45,"tag":70,"props":2393,"children":2394},{},[2395,2400,2402,2408],{"type":45,"tag":268,"props":2396,"children":2397},{},[2398],{"type":51,"value":2399},"Ingest",{"type":51,"value":2401}," — Files come in through the agent's three-step universal flow; RTSP streams through ",{"type":45,"tag":76,"props":2403,"children":2405},{"className":2404},[],[2406],{"type":51,"value":2407},"\u002Fapi\u002Fv1\u002Frtsp-streams\u002Fadd",{"type":51,"value":2409},". Both routes hand the source to RTVI-CV (attribute detection) and RTVI-Embed (Cosmos Embed1) which generates vector embeddings for video segments.",{"type":45,"tag":70,"props":2411,"children":2412},{},[2413,2418],{"type":45,"tag":268,"props":2414,"children":2415},{},[2416],{"type":51,"value":2417},"Index",{"type":51,"value":2419}," — Embeddings are stored in Elasticsearch via the Kafka pipeline.",{"type":45,"tag":70,"props":2421,"children":2422},{},[2423,2428],{"type":45,"tag":268,"props":2424,"children":2425},{},[2426],{"type":51,"value":2427},"Query",{"type":51,"value":2429}," — Natural-language queries are embedded and matched against stored vectors by similarity.",{"type":45,"tag":70,"props":2431,"children":2432},{},[2433,2438],{"type":45,"tag":268,"props":2434,"children":2435},{},[2436],{"type":51,"value":2437},"Results",{"type":51,"value":2439}," — Timestamped video segments ranked by relevance, with clip playback links.",{"type":45,"tag":54,"props":2441,"children":2442},{},[2443],{"type":51,"value":2444},"This search orchestrated by VSS agent can lead to 3 behaviors:",{"type":45,"tag":66,"props":2446,"children":2447},{},[2448,2453,2458],{"type":45,"tag":70,"props":2449,"children":2450},{},[2451],{"type":51,"value":2452},"Attribute-only: when the LLM decomposes the query and finds only appearance attributes with no action (e.g. \"person wearing red jacket\")",{"type":45,"tag":70,"props":2454,"children":2455},{},[2456],{"type":51,"value":2457},"Embed-only: when the query has no extractable attributes (e.g. \"show me forklifts\")",{"type":45,"tag":70,"props":2459,"children":2460},{},[2461],{"type":51,"value":2462},"Fusion: when the query has both an action and attributes (e.g., \"person in red jacket running\"), it runs embed search first, then reranks using attribute search",{"type":45,"tag":499,"props":2464,"children":2465},{},[],{"type":45,"tag":46,"props":2467,"children":2469},{"id":2468},"mandatory-workflow",[2470],{"type":51,"value":2471},"Mandatory workflow",{"type":45,"tag":54,"props":2473,"children":2474},{},[2475],{"type":51,"value":2476},"When using this skill, ALWAYS follow this high-level workflow:",{"type":45,"tag":527,"props":2478,"children":2479},{},[2480,2527,2654,2659,2690,2704],{"type":45,"tag":70,"props":2481,"children":2482},{},[2483,2495,2497,2503,2504,2510,2512,2518,2520,2525],{"type":45,"tag":268,"props":2484,"children":2485},{},[2486,2488,2493],{"type":51,"value":2487},"Resolve inputs from user instructions — HARD STOP if ",{"type":45,"tag":76,"props":2489,"children":2491},{"className":2490},[],[2492],{"type":51,"value":81},{"type":51,"value":2494},"\nis not explicitly provided.",{"type":51,"value":2496}," See § Input resolution below. Do NOT\ndefault to ",{"type":45,"tag":76,"props":2498,"children":2500},{"className":2499},[],[2501],{"type":51,"value":2502},"localhost",{"type":51,"value":141},{"type":45,"tag":76,"props":2505,"children":2507},{"className":2506},[],[2508],{"type":51,"value":2509},"127.0.0.1",{"type":51,"value":2511},", the host the agent itself is\nrunning on, or any other guess. Do NOT issue a\n",{"type":45,"tag":76,"props":2513,"children":2515},{"className":2514},[],[2516],{"type":51,"value":2517},"POST http:\u002F\u002F...\u002Fgenerate",{"type":51,"value":2519}," request until the user has supplied an\nendpoint. Respond to the user with a single question asking for\n",{"type":45,"tag":76,"props":2521,"children":2523},{"className":2522},[],[2524],{"type":51,"value":595},{"type":51,"value":2526}," \u002F the VSS agent endpoint and wait.",{"type":45,"tag":70,"props":2528,"children":2529},{},[2530,2542,2544,2549,2551,2557,2559,2564,2565,2568,2570],{"type":45,"tag":268,"props":2531,"children":2532},{},[2533,2535,2540],{"type":51,"value":2534},"Resolve the source — HARD STOP before any ",{"type":45,"tag":76,"props":2536,"children":2538},{"className":2537},[],[2539],{"type":51,"value":797},{"type":51,"value":2541}," call.",{"type":51,"value":2543},"\nIf the user query references a specific video \u002F sensor name\n(e.g. \"the airport video\", \"warehouse_cam_3\", \"sample warehouse\"),\nverify it's actually registered in VIOS ",{"type":45,"tag":268,"props":2545,"children":2546},{},[2547],{"type":51,"value":2548},"before",{"type":51,"value":2550}," firing\n",{"type":45,"tag":76,"props":2552,"children":2554},{"className":2553},[],[2555],{"type":51,"value":2556},"POST ...\u002Fgenerate",{"type":51,"value":2558},". List sources via the ",{"type":45,"tag":76,"props":2560,"children":2562},{"className":2561},[],[2563],{"type":51,"value":108},{"type":51,"value":319},{"type":45,"tag":691,"props":2566,"children":2567},{},[],{"type":51,"value":2569},"Then:",{"type":45,"tag":66,"props":2571,"children":2572},{},[2573,2606,2637],{"type":45,"tag":70,"props":2574,"children":2575},{},[2576,2581,2583,2589,2591,2596,2598,2604],{"type":45,"tag":268,"props":2577,"children":2578},{},[2579],{"type":51,"value":2580},"If the named source (or a clearly substring-matching name) IS in the list",{"type":51,"value":2582}," → proceed to step 3. Forward the user's natural-language query verbatim — the agent's own search tool decomposer (",{"type":45,"tag":76,"props":2584,"children":2586},{"className":2585},[],[2587],{"type":51,"value":2588},"services\u002Fagent\u002Fsrc\u002Fvss_agents\u002Ftools\u002Fsearch.py",{"type":51,"value":2590},") extracts ",{"type":45,"tag":76,"props":2592,"children":2594},{"className":2593},[],[2595],{"type":51,"value":837},{"type":51,"value":2597}," from the prose given the available sources, so the skill does NOT need to construct a structured ",{"type":45,"tag":76,"props":2599,"children":2601},{"className":2600},[],[2602],{"type":51,"value":2603},"video sources",{"type":51,"value":2605}," payload.",{"type":45,"tag":70,"props":2607,"children":2608},{},[2609,2614,2616,2621,2623,2628,2630,2635],{"type":45,"tag":268,"props":2610,"children":2611},{},[2612],{"type":51,"value":2613},"If the named source is NOT in the list",{"type":51,"value":2615}," → STOP. Do NOT fire ",{"type":45,"tag":76,"props":2617,"children":2619},{"className":2618},[],[2620],{"type":51,"value":797},{"type":51,"value":2622}," as a probe. Respond to the user with the registered source names and ask whether they meant one of those, want to ingest the missing source (point them at ",{"type":45,"tag":162,"props":2624,"children":2625},{},[2626],{"type":51,"value":2627},"Ingestion prerequisite",{"type":51,"value":2629}," and run the matching file or RTSP recipe through the ",{"type":45,"tag":268,"props":2631,"children":2632},{},[2633],{"type":51,"value":2634},"agent backend",{"type":51,"value":2636},", not bare VIOS), or want to abandon the query. Wait for clarification.",{"type":45,"tag":70,"props":2638,"children":2639},{},[2640,2645,2647,2652],{"type":45,"tag":268,"props":2641,"children":2642},{},[2643],{"type":51,"value":2644},"If the query names no specific source",{"type":51,"value":2646}," (\"find forklifts in the ingested videos\", \"search across all sources\") → skip the substring check, but ",{"type":45,"tag":76,"props":2648,"children":2650},{"className":2649},[],[2651],{"type":51,"value":829},{"type":51,"value":2653}," must still return non-empty (otherwise no sources are ingested → HARD STOP).",{"type":45,"tag":70,"props":2655,"children":2656},{},[2657],{"type":51,"value":2658},"Run the search(es) via approach chosen",{"type":45,"tag":70,"props":2660,"children":2661},{},[2662,2664,2670,2672],{"type":51,"value":2663},"Present the results to the user query. Format response as a professional inspection report but name it ",{"type":45,"tag":76,"props":2665,"children":2667},{"className":2666},[],[2668],{"type":51,"value":2669},"Video Search Results",{"type":51,"value":2671},":\n— Use clear section headers",{"type":45,"tag":66,"props":2673,"children":2674},{},[2675,2680,2685],{"type":45,"tag":70,"props":2676,"children":2677},{},[2678],{"type":51,"value":2679},"Organize findings individually with supporting detail, and close with a summary",{"type":45,"tag":70,"props":2681,"children":2682},{},[2683],{"type":51,"value":2684},"Use tables where comparisons help. Write like a technical report, not a chat message.",{"type":45,"tag":70,"props":2686,"children":2687},{},[2688],{"type":51,"value":2689},"If criteria results are non-null, then in addition to a column \"Critic result\" (\"confirmed\" | \"rejected\" | \"skipped\"), include a column \"Criteria\" with all the criteria for this search result ({criteria_n}: ✓ | ✗)",{"type":45,"tag":70,"props":2691,"children":2692},{},[2693,2695,2702],{"type":51,"value":2694},"CRITICAL: Verify the results and explain this to the user concisely.\nIf search fails, or returns unexpected results (i.e. videos that do not appear to match user query, zero matches, zero videos returned, error etc.), STOP. Do not proceed without reading ",{"type":45,"tag":2696,"props":2697,"children":2699},"a",{"href":2698},"references\u002Ftroubleshooting.md",[2700],{"type":51,"value":2701},"troubleshooting.md",{"type":51,"value":2703}," to iterate with feedback loops until proper results are found and presented like a professional inspection report.",{"type":45,"tag":70,"props":2705,"children":2706},{},[2707,2709],{"type":51,"value":2708},"Final verifications:",{"type":45,"tag":66,"props":2710,"children":2711},{},[2712,2723],{"type":45,"tag":70,"props":2713,"children":2714},{},[2715,2717],{"type":51,"value":2716},"ALWAYS inform user that final and further verifications can be run. Present this as a ",{"type":45,"tag":76,"props":2718,"children":2720},{"className":2719},[],[2721],{"type":51,"value":2722},"Verification Step",{"type":45,"tag":70,"props":2724,"children":2725},{},[2726,2728,2734,2736,2742],{"type":51,"value":2727},"ONLY IF user agrees, download screenshots using the ",{"type":45,"tag":76,"props":2729,"children":2731},{"className":2730},[],[2732],{"type":51,"value":2733},"screenshot_url",{"type":51,"value":2735}," of the best candidates (highest similarity scores) from the search hits (JSON results) to ",{"type":45,"tag":76,"props":2737,"children":2739},{"className":2738},[],[2740],{"type":51,"value":2741},"\u002Ftmp",{"type":51,"value":2743},". Read them and verify if they correspond to the user query",{"type":45,"tag":46,"props":2745,"children":2747},{"id":2746},"input-resolution",[2748],{"type":51,"value":2749},"Input resolution",{"type":45,"tag":54,"props":2751,"children":2752},{},[2753],{"type":51,"value":2754},"Infer these inputs only from the conversation or user query (no other files unless provided). If some cannot be inferred, ask the user immediately:",{"type":45,"tag":66,"props":2756,"children":2757},{},[2758],{"type":45,"tag":70,"props":2759,"children":2760},{},[2761],{"type":51,"value":2762},"$HOST_IP: where the VSS agent backend runs",{"type":45,"tag":499,"props":2764,"children":2765},{},[],{"type":45,"tag":46,"props":2767,"children":2769},{"id":2768},"gotchas",[2770],{"type":51,"value":2771},"Gotchas",{"type":45,"tag":66,"props":2773,"children":2774},{},[2775,2784,2796,2833],{"type":45,"tag":70,"props":2776,"children":2777},{},[2778,2780],{"type":51,"value":2779},"ALWAYS step into the troubleshooting step of the workflow immediately if anything unexpected happens, read ",{"type":45,"tag":2696,"props":2781,"children":2782},{"href":2698},[2783],{"type":51,"value":2701},{"type":45,"tag":70,"props":2785,"children":2786},{},[2787,2789,2794],{"type":51,"value":2788},"Queries work best with ",{"type":45,"tag":268,"props":2790,"children":2791},{},[2792],{"type":51,"value":2793},"concrete visual descriptions",{"type":51,"value":2795}," (objects, actions, locations). Augment user queries if needed to enhance the quality of the questions, expanding potential details",{"type":45,"tag":70,"props":2797,"children":2798},{},[2799,2801,2806,2807,2811,2813,2818,2820,2825,2827,2832],{"type":51,"value":2800},"The skill assumes video sources are ",{"type":45,"tag":268,"props":2802,"children":2803},{},[2804],{"type":51,"value":2805},"already ingested through the agent backend",{"type":51,"value":83},{"type":45,"tag":162,"props":2808,"children":2809},{},[2810],{"type":51,"value":2627},{"type":51,"value":2812},"). It MAY run the agent-backed ingest recipes when the user explicitly asks (\"ingest ",{"type":45,"tag":76,"props":2814,"children":2816},{"className":2815},[],[2817],{"type":51,"value":470},{"type":51,"value":2819}," for search\", \"add ",{"type":45,"tag":76,"props":2821,"children":2823},{"className":2822},[],[2824],{"type":51,"value":483},{"type":51,"value":2826}," for search\"); it does NOT search the local filesystem for files the user didn't name, and it does NOT use the bare-VIOS PUT path (no embeddings get generated). Workflow step 2 still makes confirming \"this source exists in VIOS\" a hard precondition before ",{"type":45,"tag":76,"props":2828,"children":2830},{"className":2829},[],[2831],{"type":51,"value":797},{"type":51,"value":188},{"type":45,"tag":70,"props":2834,"children":2835},{},[2836,2838,2844],{"type":51,"value":2837},"Use ",{"type":45,"tag":76,"props":2839,"children":2841},{"className":2840},[],[2842],{"type":51,"value":2843},"vss-query-analytics",{"type":51,"value":2845}," skill to cross-reference search results with incident\u002Falert data",{"type":45,"tag":499,"props":2847,"children":2848},{},[],{"type":45,"tag":46,"props":2850,"children":2852},{"id":2851},"search-via-rest-api",[2853],{"type":51,"value":2854},"Search via REST API",{"type":45,"tag":54,"props":2856,"children":2857},{},[2858],{"type":51,"value":2859},"Default to using this REST API approach, unless user specifies otherwise.",{"type":45,"tag":536,"props":2861,"children":2863},{"className":538,"code":2862,"language":540,"meta":541,"style":541},"# Consider only ingested video file sources by default\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"find all instances of forklifts\"}' | jq .\n",[2864],{"type":45,"tag":76,"props":2865,"children":2866},{"__ignoreMap":541},[2867,2875,2920,2943],{"type":45,"tag":547,"props":2868,"children":2869},{"class":549,"line":550},[2870],{"type":45,"tag":547,"props":2871,"children":2872},{"style":952},[2873],{"type":51,"value":2874},"# Consider only ingested video file sources by default\n",{"type":45,"tag":547,"props":2876,"children":2877},{"class":549,"line":628},[2878,2882,2886,2890,2894,2899,2903,2907,2911,2916],{"type":45,"tag":547,"props":2879,"children":2880},{"style":554},[2881],{"type":51,"value":139},{"type":45,"tag":547,"props":2883,"children":2884},{"style":559},[2885],{"type":51,"value":978},{"type":45,"tag":547,"props":2887,"children":2888},{"style":559},[2889],{"type":51,"value":983},{"type":45,"tag":547,"props":2891,"children":2892},{"style":559},[2893],{"type":51,"value":988},{"type":45,"tag":547,"props":2895,"children":2896},{"style":559},[2897],{"type":51,"value":2898}," http:\u002F\u002F",{"type":45,"tag":547,"props":2900,"children":2901},{"style":576},[2902],{"type":51,"value":589},{"type":45,"tag":547,"props":2904,"children":2905},{"style":592},[2906],{"type":51,"value":595},{"type":45,"tag":547,"props":2908,"children":2909},{"style":576},[2910],{"type":51,"value":600},{"type":45,"tag":547,"props":2912,"children":2913},{"style":559},[2914],{"type":51,"value":2915},":8000\u002Fgenerate",{"type":45,"tag":547,"props":2917,"children":2918},{"style":592},[2919],{"type":51,"value":625},{"type":45,"tag":547,"props":2921,"children":2922},{"class":549,"line":938},[2923,2927,2931,2935,2939],{"type":45,"tag":547,"props":2924,"children":2925},{"style":559},[2926],{"type":51,"value":1030},{"type":45,"tag":547,"props":2928,"children":2929},{"style":576},[2930],{"type":51,"value":579},{"type":45,"tag":547,"props":2932,"children":2933},{"style":559},[2934],{"type":51,"value":1039},{"type":45,"tag":547,"props":2936,"children":2937},{"style":576},[2938],{"type":51,"value":610},{"type":45,"tag":547,"props":2940,"children":2941},{"style":592},[2942],{"type":51,"value":625},{"type":45,"tag":547,"props":2944,"children":2945},{"class":549,"line":948},[2946,2950,2954,2959,2963,2967,2971],{"type":45,"tag":547,"props":2947,"children":2948},{"style":559},[2949],{"type":51,"value":1056},{"type":45,"tag":547,"props":2951,"children":2952},{"style":576},[2953],{"type":51,"value":1494},{"type":45,"tag":547,"props":2955,"children":2956},{"style":559},[2957],{"type":51,"value":2958},"{\"input_message\": \"find all instances of forklifts\"}",{"type":45,"tag":547,"props":2960,"children":2961},{"style":576},[2962],{"type":51,"value":1504},{"type":45,"tag":547,"props":2964,"children":2965},{"style":576},[2966],{"type":51,"value":1117},{"type":45,"tag":547,"props":2968,"children":2969},{"style":554},[2970],{"type":51,"value":1122},{"type":45,"tag":547,"props":2972,"children":2973},{"style":559},[2974],{"type":51,"value":1945},{"type":45,"tag":841,"props":2976,"children":2978},{"id":2977},"more-examples",[2979],{"type":51,"value":2980},"More Examples",{"type":45,"tag":54,"props":2982,"children":2983},{},[2984,2986,2992,2994,3000,3002,3008],{"type":51,"value":2985},"Use the ",{"type":45,"tag":76,"props":2987,"children":2989},{"className":2988},[],[2990],{"type":51,"value":2991},"messages",{"type":51,"value":2993}," request shape when passing structured request options such as ",{"type":45,"tag":76,"props":2995,"children":2997},{"className":2996},[],[2998],{"type":51,"value":2999},"search_source_type",{"type":51,"value":3001},"; the ",{"type":45,"tag":76,"props":3003,"children":3005},{"className":3004},[],[3006],{"type":51,"value":3007},"input_message",{"type":51,"value":3009}," shortcut does not accept extra fields.",{"type":45,"tag":536,"props":3011,"children":3013},{"className":538,"code":3012,"language":540,"meta":541,"style":541},"# Search by object\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"find vehicles in the parking lot\"}' | jq .\n\n# Search by action\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"show me people running\"}' | jq .\n\n# Search by time context\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"input_message\": \"what happened at the entrance between 2pm and 3pm?\"}' | jq .\n\n# Consider only RTSP sources with `search_source_type` filter i.e. live camera streams\ncurl -s -X POST http:\u002F\u002F${HOST_IP}:8000\u002Fgenerate \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"messages\": [{\"role\": \"user\", \"content\": \"find all instances of forklifts\"}], \"search_source_type\": \"rtsp\"}' | jq .\n",[3014],{"type":45,"tag":76,"props":3015,"children":3016},{"__ignoreMap":541},[3017,3025,3068,3091,3123,3130,3138,3181,3204,3236,3243,3251,3294,3317,3349,3356,3364,3407,3430],{"type":45,"tag":547,"props":3018,"children":3019},{"class":549,"line":550},[3020],{"type":45,"tag":547,"props":3021,"children":3022},{"style":952},[3023],{"type":51,"value":3024},"# Search by object\n",{"type":45,"tag":547,"props":3026,"children":3027},{"class":549,"line":628},[3028,3032,3036,3040,3044,3048,3052,3056,3060,3064],{"type":45,"tag":547,"props":3029,"children":3030},{"style":554},[3031],{"type":51,"value":139},{"type":45,"tag":547,"props":3033,"children":3034},{"style":559},[3035],{"type":51,"value":978},{"type":45,"tag":547,"props":3037,"children":3038},{"style":559},[3039],{"type":51,"value":983},{"type":45,"tag":547,"props":3041,"children":3042},{"style":559},[3043],{"type":51,"value":988},{"type":45,"tag":547,"props":3045,"children":3046},{"style":559},[3047],{"type":51,"value":2898},{"type":45,"tag":547,"props":3049,"children":3050},{"style":576},[3051],{"type":51,"value":589},{"type":45,"tag":547,"props":3053,"children":3054},{"style":592},[3055],{"type":51,"value":595},{"type":45,"tag":547,"props":3057,"children":3058},{"style":576},[3059],{"type":51,"value":600},{"type":45,"tag":547,"props":3061,"children":3062},{"style":559},[3063],{"type":51,"value":2915},{"type":45,"tag":547,"props":3065,"children":3066},{"style":592},[3067],{"type":51,"value":625},{"type":45,"tag":547,"props":3069,"children":3070},{"class":549,"line":938},[3071,3075,3079,3083,3087],{"type":45,"tag":547,"props":3072,"children":3073},{"style":559},[3074],{"type":51,"value":1030},{"type":45,"tag":547,"props":3076,"children":3077},{"style":576},[3078],{"type":51,"value":579},{"type":45,"tag":547,"props":3080,"children":3081},{"style":559},[3082],{"type":51,"value":1039},{"type":45,"tag":547,"props":3084,"children":3085},{"style":576},[3086],{"type":51,"value":610},{"type":45,"tag":547,"props":3088,"children":3089},{"style":592},[3090],{"type":51,"value":625},{"type":45,"tag":547,"props":3092,"children":3093},{"class":549,"line":948},[3094,3098,3102,3107,3111,3115,3119],{"type":45,"tag":547,"props":3095,"children":3096},{"style":559},[3097],{"type":51,"value":1056},{"type":45,"tag":547,"props":3099,"children":3100},{"style":576},[3101],{"type":51,"value":1494},{"type":45,"tag":547,"props":3103,"children":3104},{"style":559},[3105],{"type":51,"value":3106},"{\"input_message\": \"find vehicles in the parking lot\"}",{"type":45,"tag":547,"props":3108,"children":3109},{"style":576},[3110],{"type":51,"value":1504},{"type":45,"tag":547,"props":3112,"children":3113},{"style":576},[3114],{"type":51,"value":1117},{"type":45,"tag":547,"props":3116,"children":3117},{"style":554},[3118],{"type":51,"value":1122},{"type":45,"tag":547,"props":3120,"children":3121},{"style":559},[3122],{"type":51,"value":1945},{"type":45,"tag":547,"props":3124,"children":3125},{"class":549,"line":958},[3126],{"type":45,"tag":547,"props":3127,"children":3128},{"emptyLinePlaceholder":942},[3129],{"type":51,"value":945},{"type":45,"tag":547,"props":3131,"children":3132},{"class":549,"line":1024},[3133],{"type":45,"tag":547,"props":3134,"children":3135},{"style":952},[3136],{"type":51,"value":3137},"# Search by action\n",{"type":45,"tag":547,"props":3139,"children":3140},{"class":549,"line":1050},[3141,3145,3149,3153,3157,3161,3165,3169,3173,3177],{"type":45,"tag":547,"props":3142,"children":3143},{"style":554},[3144],{"type":51,"value":139},{"type":45,"tag":547,"props":3146,"children":3147},{"style":559},[3148],{"type":51,"value":978},{"type":45,"tag":547,"props":3150,"children":3151},{"style":559},[3152],{"type":51,"value":983},{"type":45,"tag":547,"props":3154,"children":3155},{"style":559},[3156],{"type":51,"value":988},{"type":45,"tag":547,"props":3158,"children":3159},{"style":559},[3160],{"type":51,"value":2898},{"type":45,"tag":547,"props":3162,"children":3163},{"style":576},[3164],{"type":51,"value":589},{"type":45,"tag":547,"props":3166,"children":3167},{"style":592},[3168],{"type":51,"value":595},{"type":45,"tag":547,"props":3170,"children":3171},{"style":576},[3172],{"type":51,"value":600},{"type":45,"tag":547,"props":3174,"children":3175},{"style":559},[3176],{"type":51,"value":2915},{"type":45,"tag":547,"props":3178,"children":3179},{"style":592},[3180],{"type":51,"value":625},{"type":45,"tag":547,"props":3182,"children":3183},{"class":549,"line":1140},[3184,3188,3192,3196,3200],{"type":45,"tag":547,"props":3185,"children":3186},{"style":559},[3187],{"type":51,"value":1030},{"type":45,"tag":547,"props":3189,"children":3190},{"style":576},[3191],{"type":51,"value":579},{"type":45,"tag":547,"props":3193,"children":3194},{"style":559},[3195],{"type":51,"value":1039},{"type":45,"tag":547,"props":3197,"children":3198},{"style":576},[3199],{"type":51,"value":610},{"type":45,"tag":547,"props":3201,"children":3202},{"style":592},[3203],{"type":51,"value":625},{"type":45,"tag":547,"props":3205,"children":3206},{"class":549,"line":1148},[3207,3211,3215,3220,3224,3228,3232],{"type":45,"tag":547,"props":3208,"children":3209},{"style":559},[3210],{"type":51,"value":1056},{"type":45,"tag":547,"props":3212,"children":3213},{"style":576},[3214],{"type":51,"value":1494},{"type":45,"tag":547,"props":3216,"children":3217},{"style":559},[3218],{"type":51,"value":3219},"{\"input_message\": \"show me people running\"}",{"type":45,"tag":547,"props":3221,"children":3222},{"style":576},[3223],{"type":51,"value":1504},{"type":45,"tag":547,"props":3225,"children":3226},{"style":576},[3227],{"type":51,"value":1117},{"type":45,"tag":547,"props":3229,"children":3230},{"style":554},[3231],{"type":51,"value":1122},{"type":45,"tag":547,"props":3233,"children":3234},{"style":559},[3235],{"type":51,"value":1945},{"type":45,"tag":547,"props":3237,"children":3238},{"class":549,"line":1157},[3239],{"type":45,"tag":547,"props":3240,"children":3241},{"emptyLinePlaceholder":942},[3242],{"type":51,"value":945},{"type":45,"tag":547,"props":3244,"children":3245},{"class":549,"line":1166},[3246],{"type":45,"tag":547,"props":3247,"children":3248},{"style":952},[3249],{"type":51,"value":3250},"# Search by time context\n",{"type":45,"tag":547,"props":3252,"children":3253},{"class":549,"line":1212},[3254,3258,3262,3266,3270,3274,3278,3282,3286,3290],{"type":45,"tag":547,"props":3255,"children":3256},{"style":554},[3257],{"type":51,"value":139},{"type":45,"tag":547,"props":3259,"children":3260},{"style":559},[3261],{"type":51,"value":978},{"type":45,"tag":547,"props":3263,"children":3264},{"style":559},[3265],{"type":51,"value":983},{"type":45,"tag":547,"props":3267,"children":3268},{"style":559},[3269],{"type":51,"value":988},{"type":45,"tag":547,"props":3271,"children":3272},{"style":559},[3273],{"type":51,"value":2898},{"type":45,"tag":547,"props":3275,"children":3276},{"style":576},[3277],{"type":51,"value":589},{"type":45,"tag":547,"props":3279,"children":3280},{"style":592},[3281],{"type":51,"value":595},{"type":45,"tag":547,"props":3283,"children":3284},{"style":576},[3285],{"type":51,"value":600},{"type":45,"tag":547,"props":3287,"children":3288},{"style":559},[3289],{"type":51,"value":2915},{"type":45,"tag":547,"props":3291,"children":3292},{"style":592},[3293],{"type":51,"value":625},{"type":45,"tag":547,"props":3295,"children":3296},{"class":549,"line":1259},[3297,3301,3305,3309,3313],{"type":45,"tag":547,"props":3298,"children":3299},{"style":559},[3300],{"type":51,"value":1030},{"type":45,"tag":547,"props":3302,"children":3303},{"style":576},[3304],{"type":51,"value":579},{"type":45,"tag":547,"props":3306,"children":3307},{"style":559},[3308],{"type":51,"value":1039},{"type":45,"tag":547,"props":3310,"children":3311},{"style":576},[3312],{"type":51,"value":610},{"type":45,"tag":547,"props":3314,"children":3315},{"style":592},[3316],{"type":51,"value":625},{"type":45,"tag":547,"props":3318,"children":3319},{"class":549,"line":1284},[3320,3324,3328,3333,3337,3341,3345],{"type":45,"tag":547,"props":3321,"children":3322},{"style":559},[3323],{"type":51,"value":1056},{"type":45,"tag":547,"props":3325,"children":3326},{"style":576},[3327],{"type":51,"value":1494},{"type":45,"tag":547,"props":3329,"children":3330},{"style":559},[3331],{"type":51,"value":3332},"{\"input_message\": \"what happened at the entrance between 2pm and 3pm?\"}",{"type":45,"tag":547,"props":3334,"children":3335},{"style":576},[3336],{"type":51,"value":1504},{"type":45,"tag":547,"props":3338,"children":3339},{"style":576},[3340],{"type":51,"value":1117},{"type":45,"tag":547,"props":3342,"children":3343},{"style":554},[3344],{"type":51,"value":1122},{"type":45,"tag":547,"props":3346,"children":3347},{"style":559},[3348],{"type":51,"value":1945},{"type":45,"tag":547,"props":3350,"children":3351},{"class":549,"line":1309},[3352],{"type":45,"tag":547,"props":3353,"children":3354},{"emptyLinePlaceholder":942},[3355],{"type":51,"value":945},{"type":45,"tag":547,"props":3357,"children":3358},{"class":549,"line":1334},[3359],{"type":45,"tag":547,"props":3360,"children":3361},{"style":952},[3362],{"type":51,"value":3363},"# Consider only RTSP sources with `search_source_type` filter i.e. live camera streams\n",{"type":45,"tag":547,"props":3365,"children":3366},{"class":549,"line":1367},[3367,3371,3375,3379,3383,3387,3391,3395,3399,3403],{"type":45,"tag":547,"props":3368,"children":3369},{"style":554},[3370],{"type":51,"value":139},{"type":45,"tag":547,"props":3372,"children":3373},{"style":559},[3374],{"type":51,"value":978},{"type":45,"tag":547,"props":3376,"children":3377},{"style":559},[3378],{"type":51,"value":983},{"type":45,"tag":547,"props":3380,"children":3381},{"style":559},[3382],{"type":51,"value":988},{"type":45,"tag":547,"props":3384,"children":3385},{"style":559},[3386],{"type":51,"value":2898},{"type":45,"tag":547,"props":3388,"children":3389},{"style":576},[3390],{"type":51,"value":589},{"type":45,"tag":547,"props":3392,"children":3393},{"style":592},[3394],{"type":51,"value":595},{"type":45,"tag":547,"props":3396,"children":3397},{"style":576},[3398],{"type":51,"value":600},{"type":45,"tag":547,"props":3400,"children":3401},{"style":559},[3402],{"type":51,"value":2915},{"type":45,"tag":547,"props":3404,"children":3405},{"style":592},[3406],{"type":51,"value":625},{"type":45,"tag":547,"props":3408,"children":3409},{"class":549,"line":1400},[3410,3414,3418,3422,3426],{"type":45,"tag":547,"props":3411,"children":3412},{"style":559},[3413],{"type":51,"value":1030},{"type":45,"tag":547,"props":3415,"children":3416},{"style":576},[3417],{"type":51,"value":579},{"type":45,"tag":547,"props":3419,"children":3420},{"style":559},[3421],{"type":51,"value":1039},{"type":45,"tag":547,"props":3423,"children":3424},{"style":576},[3425],{"type":51,"value":610},{"type":45,"tag":547,"props":3427,"children":3428},{"style":592},[3429],{"type":51,"value":625},{"type":45,"tag":547,"props":3431,"children":3432},{"class":549,"line":1451},[3433,3437,3441,3446,3450,3454,3458],{"type":45,"tag":547,"props":3434,"children":3435},{"style":559},[3436],{"type":51,"value":1056},{"type":45,"tag":547,"props":3438,"children":3439},{"style":576},[3440],{"type":51,"value":1494},{"type":45,"tag":547,"props":3442,"children":3443},{"style":559},[3444],{"type":51,"value":3445},"{\"messages\": [{\"role\": \"user\", \"content\": \"find all instances of forklifts\"}], \"search_source_type\": \"rtsp\"}",{"type":45,"tag":547,"props":3447,"children":3448},{"style":576},[3449],{"type":51,"value":1504},{"type":45,"tag":547,"props":3451,"children":3452},{"style":576},[3453],{"type":51,"value":1117},{"type":45,"tag":547,"props":3455,"children":3456},{"style":554},[3457],{"type":51,"value":1122},{"type":45,"tag":547,"props":3459,"children":3460},{"style":559},[3461],{"type":51,"value":1945},{"type":45,"tag":841,"props":3463,"children":3465},{"id":3464},"advanced-control-knobs",[3466],{"type":51,"value":3467},"Advanced control knobs",{"type":45,"tag":54,"props":3469,"children":3470},{},[3471,3473,3478],{"type":51,"value":3472},"If user query is ambiguous, user wants more guidance or when fine-grained control is needed, augment the user ",{"type":45,"tag":76,"props":3474,"children":3476},{"className":3475},[],[3477],{"type":51,"value":3007},{"type":51,"value":3479}," by calling out explicitly certain options in plain-text and steering the agent in the desired direction. Available control axes:",{"type":45,"tag":3481,"props":3482,"children":3483},"table",{},[3484,3513],{"type":45,"tag":3485,"props":3486,"children":3487},"thead",{},[3488],{"type":45,"tag":3489,"props":3490,"children":3491},"tr",{},[3492,3498,3503,3508],{"type":45,"tag":3493,"props":3494,"children":3495},"th",{},[3496],{"type":51,"value":3497},"Axes",{"type":45,"tag":3493,"props":3499,"children":3500},{},[3501],{"type":51,"value":3502},"Type",{"type":45,"tag":3493,"props":3504,"children":3505},{},[3506],{"type":51,"value":3507},"Default",{"type":45,"tag":3493,"props":3509,"children":3510},{},[3511],{"type":51,"value":3512},"Description",{"type":45,"tag":3514,"props":3515,"children":3516},"tbody",{},[3517,3546,3573,3600,3627],{"type":45,"tag":3489,"props":3518,"children":3519},{},[3520,3529,3537,3541],{"type":45,"tag":3521,"props":3522,"children":3523},"td",{},[3524],{"type":45,"tag":76,"props":3525,"children":3527},{"className":3526},[],[3528],{"type":51,"value":2603},{"type":45,"tag":3521,"props":3530,"children":3531},{},[3532,3534],{"type":51,"value":3533},"string",{"type":45,"tag":547,"props":3535,"children":3536},{},[],{"type":45,"tag":3521,"props":3538,"children":3539},{},[3540],{"type":51,"value":1656},{"type":45,"tag":3521,"props":3542,"children":3543},{},[3544],{"type":51,"value":3545},"Filter to specific cameras or sensor names",{"type":45,"tag":3489,"props":3547,"children":3548},{},[3549,3558,3563,3568],{"type":45,"tag":3521,"props":3550,"children":3551},{},[3552],{"type":45,"tag":76,"props":3553,"children":3555},{"className":3554},[],[3556],{"type":51,"value":3557},"top k",{"type":45,"tag":3521,"props":3559,"children":3560},{},[3561],{"type":51,"value":3562},"int",{"type":45,"tag":3521,"props":3564,"children":3565},{},[3566],{"type":51,"value":3567},"10",{"type":45,"tag":3521,"props":3569,"children":3570},{},[3571],{"type":51,"value":3572},"Max results",{"type":45,"tag":3489,"props":3574,"children":3575},{},[3576,3585,3590,3595],{"type":45,"tag":3521,"props":3577,"children":3578},{},[3579],{"type":45,"tag":76,"props":3580,"children":3582},{"className":3581},[],[3583],{"type":51,"value":3584},"minimum similarity",{"type":45,"tag":3521,"props":3586,"children":3587},{},[3588],{"type":51,"value":3589},"float",{"type":45,"tag":3521,"props":3591,"children":3592},{},[3593],{"type":51,"value":3594},"0.0",{"type":45,"tag":3521,"props":3596,"children":3597},{},[3598],{"type":51,"value":3599},"Min similarity threshold; raise (e.g. 0.3) to filter noise",{"type":45,"tag":3489,"props":3601,"children":3602},{},[3603,3612,3617,3622],{"type":45,"tag":3521,"props":3604,"children":3605},{},[3606],{"type":45,"tag":76,"props":3607,"children":3609},{"className":3608},[],[3610],{"type":51,"value":3611},"critic usage",{"type":45,"tag":3521,"props":3613,"children":3614},{},[3615],{"type":51,"value":3616},"bool",{"type":45,"tag":3521,"props":3618,"children":3619},{},[3620],{"type":51,"value":3621},"true",{"type":45,"tag":3521,"props":3623,"children":3624},{},[3625],{"type":51,"value":3626},"VLM verifies each result and removes false positives",{"type":45,"tag":3489,"props":3628,"children":3629},{},[3630,3639,3643,3647],{"type":45,"tag":3521,"props":3631,"children":3632},{},[3633],{"type":45,"tag":76,"props":3634,"children":3636},{"className":3635},[],[3637],{"type":51,"value":3638},"description",{"type":45,"tag":3521,"props":3640,"children":3641},{},[3642],{"type":51,"value":3533},{"type":45,"tag":3521,"props":3644,"children":3645},{},[3646],{"type":51,"value":1656},{"type":45,"tag":3521,"props":3648,"children":3649},{},[3650],{"type":51,"value":3651},"Filter by camera metadata (e.g. location, category) if metadata is available",{"type":45,"tag":54,"props":3653,"children":3654},{},[3655,3657,3663],{"type":51,"value":3656},"Pick and choose some of these tuning options. Adjust them as needed for the user’s situation and query.\nFor examples of discovery modes leveraging these, see ",{"type":45,"tag":2696,"props":3658,"children":3660},{"href":3659},"references\u002Fdiscovery_modes.md",[3661],{"type":51,"value":3662},"discovery_modes.md",{"type":51,"value":188},{"type":45,"tag":499,"props":3665,"children":3666},{},[],{"type":45,"tag":46,"props":3668,"children":3670},{"id":3669},"search-via-agent-ui",[3671],{"type":51,"value":3672},"Search via Agent UI",{"type":45,"tag":54,"props":3674,"children":3675},{},[3676,3678,3684],{"type":51,"value":3677},"Open ",{"type":45,"tag":76,"props":3679,"children":3681},{"className":3680},[],[3682],{"type":51,"value":3683},"http:\u002F\u002F${HOST_IP}:3000\u002F",{"type":51,"value":3685}," and type natural-language queries:",{"type":45,"tag":536,"props":3687,"children":3691},{"className":3688,"code":3690,"language":51},[3689],"language-text","find all instances of forklifts\nshow me people near the loading dock\nwhen did a truck arrive at the gate?\nfind someone wearing a red jacket\n",[3692],{"type":45,"tag":76,"props":3693,"children":3694},{"__ignoreMap":541},[3695],{"type":51,"value":3690},{"type":45,"tag":54,"props":3697,"children":3698},{},[3699],{"type":51,"value":3700},"Results include timestamped clips with similarity scores.",{"type":45,"tag":54,"props":3702,"children":3703},{},[3704],{"type":51,"value":3705},"bump:2",{"type":45,"tag":3707,"props":3708,"children":3709},"style",{},[3710],{"type":51,"value":3711},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3713,"total":3813},[3714,3729,3743,3757,3769,3784,3799],{"slug":3715,"name":3715,"fn":3716,"description":3717,"org":3718,"tags":3719,"stars":23,"repoUrl":24,"updatedAt":3728},"accelerated-computing-cudf","accelerate data processing with cuDF","Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV\u002FParquet I\u002FO, nullable semantics, and multi-GPU DataFrame workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3720,3721,3724,3725],{"name":13,"slug":14,"type":15},{"name":3722,"slug":3723,"type":15},"Data Engineering","data-engineering",{"name":9,"slug":8,"type":15},{"name":3726,"slug":3727,"type":15},"Performance","performance","2026-07-14T05:28:43.176466",{"slug":3730,"name":3730,"fn":3731,"description":3732,"org":3733,"tags":3734,"stars":23,"repoUrl":24,"updatedAt":3742},"aiq-deploy","deploy and manage NVIDIA AI-Q infrastructure","Use when asked to install, deploy, run, validate, troubleshoot, or stop NVIDIA AI-Q Blueprint infrastructure.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3735,3738,3741],{"name":3736,"slug":3737,"type":15},"Deployment","deployment",{"name":3739,"slug":3740,"type":15},"Infrastructure","infrastructure",{"name":9,"slug":8,"type":15},"2026-07-14T05:29:06.667109",{"slug":3744,"name":3744,"fn":3745,"description":3746,"org":3747,"tags":3748,"stars":23,"repoUrl":24,"updatedAt":3756},"aiq-research","conduct deep research with AI-Q","Use when asked to run deep research or AI-Q research through a reachable NVIDIA AI-Q Blueprint backend.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3749,3752,3753],{"name":3750,"slug":3751,"type":15},"Agents","agents",{"name":9,"slug":8,"type":15},{"name":3754,"slug":3755,"type":15},"Research","research","2026-07-14T05:28:06.816956",{"slug":3758,"name":3758,"fn":3759,"description":3760,"org":3761,"tags":3762,"stars":23,"repoUrl":24,"updatedAt":3768},"amc-run-sample-calibration","run AMC sample dataset calibration","Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3763,3764,3765],{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":3766,"slug":3767,"type":15},"Testing","testing","2026-07-17T05:29:03.913266",{"slug":3770,"name":3770,"fn":3771,"description":3772,"org":3773,"tags":3774,"stars":23,"repoUrl":24,"updatedAt":3783},"amc-run-video-calibration","calibrate video datasets with AutoMagicCalib","Calibrate a new dataset from pre-recorded video files via the AutoMagicCalib REST API. Use when user has local MP4s and says 'calibrate my videos', 'run AMC on these videos', or similar. For RTSP\u002Flive streams, use amc-run-rtsp-calibration instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3775,3778,3781,3782],{"name":3776,"slug":3777,"type":15},"Automation","automation",{"name":3779,"slug":3780,"type":15},"Imaging","imaging",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"2026-07-17T05:28:53.905004",{"slug":3785,"name":3785,"fn":3786,"description":3787,"org":3788,"tags":3789,"stars":23,"repoUrl":24,"updatedAt":3798},"amc-setup-calibration-stack","deploy AutoMagicCalib microservice with Docker","Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3790,3791,3794,3795],{"name":3736,"slug":3737,"type":15},{"name":3792,"slug":3793,"type":15},"Docker","docker",{"name":9,"slug":8,"type":15},{"name":3796,"slug":3797,"type":15},"Operations","operations","2026-07-17T05:28:56.913999",{"slug":3800,"name":3800,"fn":3801,"description":3802,"org":3803,"tags":3804,"stars":23,"repoUrl":24,"updatedAt":3812},"cudaq-guide","develop quantum applications with CUDA-Q","CUDA-Q onboarding guide for installation, test programs, GPU simulation, QPU hardware, and quantum applications.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3805,3806,3809],{"name":9,"slug":8,"type":15},{"name":3807,"slug":3808,"type":15},"Quantum Computing","quantum-computing",{"name":3810,"slug":3811,"type":15},"Simulation","simulation","2026-07-14T05:26:58.898253",305,{"items":3815,"total":3964},[3816,3832,3848,3859,3871,3885,3898,3912,3923,3932,3946,3955],{"slug":3817,"name":3817,"fn":3818,"description":3819,"org":3820,"tags":3821,"stars":3829,"repoUrl":3830,"updatedAt":3831},"nemoclaw-user-guide","retrieve NemoClaw documentation and configuration","Guides human users' AI agents to the NemoClaw docs MCP server and canonical Fern documentation in Markdown form. Use when users ask how to install, configure, operate, troubleshoot, secure, or learn NemoClaw with an AI coding assistant. Trigger keywords - nemoclaw docs, use nemoclaw with ai agent, nemoclaw mcp docs, nemoclaw install help, nemoclaw quickstart, nemoclaw markdown docs, llms.txt, agent skills.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3822,3825,3828],{"name":3823,"slug":3824,"type":15},"Documentation","documentation",{"name":3826,"slug":3827,"type":15},"MCP","mcp",{"name":18,"slug":19,"type":15},21777,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FNemoClaw","2026-07-20T06:00:01.461044",{"slug":3833,"name":3833,"fn":3834,"description":3835,"org":3836,"tags":3837,"stars":3845,"repoUrl":3846,"updatedAt":3847},"mcore-build-and-dependency","manage Megatron-LM development environments","Container-based dev environment setup and dependency management for Megatron-LM. Covers acquiring and launching the CI container, uv package management, and updating uv.lock.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3838,3841,3842],{"name":3839,"slug":3840,"type":15},"Containers","containers",{"name":3736,"slug":3737,"type":15},{"name":3843,"slug":3844,"type":15},"Python","python",17049,"https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FMegatron-LM","2026-07-27T06:06:11.249662",{"slug":3849,"name":3849,"fn":3850,"description":3851,"org":3852,"tags":3853,"stars":3845,"repoUrl":3846,"updatedAt":3858},"mcore-bump-base-image","update NVIDIA PyTorch base images","Bump the NVIDIA PyTorch base image (`nvcr.io\u002Fnvidia\u002Fpytorch:YY.MM-py3`) used by Megatron-LM CI. Covers the two pin sites (GitHub CI in `docker\u002F.ngc_version.dev` and GitLab CI in `.gitlab\u002Fstages\u002F01.build.yml`), the post-bump CI loop (re-run functional tests, refresh golden values, mark broken tests), and the gotchas that bit PRs",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3854,3857],{"name":3855,"slug":3856,"type":15},"CI\u002FCD","ci-cd",{"name":3736,"slug":3737,"type":15},"2026-07-14T05:25:59.97109",{"slug":3860,"name":3860,"fn":3861,"description":3862,"org":3863,"tags":3864,"stars":3845,"repoUrl":3846,"updatedAt":3870},"mcore-cicd","manage CI\u002FCD pipelines for Megatron-LM","CI\u002FCD reference for Megatron-LM. Covers CI pipeline structure, PR scope labels, triggering internal GitLab CI (which force-pushes the current branch to a pull-request\u002FBRANCH ref — always dry-run and verify the destination first; never run against shared or protected branches), and CI failure investigation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3865,3866,3867],{"name":3855,"slug":3856,"type":15},{"name":3736,"slug":3737,"type":15},{"name":3868,"slug":3869,"type":15},"GitHub","github","2026-07-27T06:06:12.278222",{"slug":3872,"name":3872,"fn":3873,"description":3874,"org":3875,"tags":3876,"stars":3845,"repoUrl":3846,"updatedAt":3884},"mcore-create-issue","investigate CI failures and create issues","Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3877,3880,3881],{"name":3878,"slug":3879,"type":15},"Debugging","debugging",{"name":3868,"slug":3869,"type":15},{"name":3882,"slug":3883,"type":15},"Triage","triage","2026-07-14T05:25:57.442089",{"slug":3886,"name":3886,"fn":3887,"description":3888,"org":3889,"tags":3890,"stars":3845,"repoUrl":3846,"updatedAt":3897},"mcore-linting-and-formatting","lint and format Megatron-LM code","Linting and formatting for Megatron-LM. Covers running autoformat.sh, tools (ruff, black, isort, pylint, mypy), and code style rules.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3891,3894],{"name":3892,"slug":3893,"type":15},"Best Practices","best-practices",{"name":3895,"slug":3896,"type":15},"Code Analysis","code-analysis","2026-07-14T05:25:56.18433",{"slug":3899,"name":3899,"fn":3900,"description":3901,"org":3902,"tags":3903,"stars":3845,"repoUrl":3846,"updatedAt":3911},"mcore-migrate-gpt-to-hybrid","migrate Megatron-LM models to HybridModel","Migration guide for moving Megatron Core GPTModel checkpoints, model providers, training commands, and layer mappings to HybridModel.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3904,3907,3910],{"name":3905,"slug":3906,"type":15},"Machine Learning","machine-learning",{"name":3908,"slug":3909,"type":15},"Migration","migration",{"name":9,"slug":8,"type":15},"2026-07-17T06:07:11.777011",{"slug":3913,"name":3913,"fn":3914,"description":3915,"org":3916,"tags":3917,"stars":3845,"repoUrl":3846,"updatedAt":3922},"mcore-onboard-gb200-1node-tests","onboard functional tests for GB200","Onboard 1-node GitHub MR functional tests for GB200 from existing mr-scoped 2-node tests.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3918,3921],{"name":3919,"slug":3920,"type":15},"QA","qa",{"name":3766,"slug":3767,"type":15},"2026-07-14T05:25:53.673039",{"slug":3924,"name":3924,"fn":3925,"description":3926,"org":3927,"tags":3928,"stars":3845,"repoUrl":3846,"updatedAt":3931},"mcore-run-on-slurm","launch distributed training jobs on SLURM","How to launch distributed Megatron-LM training jobs on a SLURM cluster. Covers a minimal sbatch skeleton, environment-variable setup for torch.distributed.run, CUDA_DEVICE_MAX_CONNECTIONS rules across hardware and parallelism modes, container conventions, monitoring, and per-rank failure diagnosis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3929,3930],{"name":3736,"slug":3737,"type":15},{"name":3739,"slug":3740,"type":15},"2026-07-14T05:25:49.362534",{"slug":3933,"name":3933,"fn":3934,"description":3935,"org":3936,"tags":3937,"stars":3845,"repoUrl":3846,"updatedAt":3945},"mcore-split-pr","split pull requests to reduce review load","Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3938,3941,3942],{"name":3939,"slug":3940,"type":15},"Code Review","code-review",{"name":3868,"slug":3869,"type":15},{"name":3943,"slug":3944,"type":15},"Pull Requests","pull-requests","2026-07-14T05:26:01.226578",{"slug":3947,"name":3947,"fn":3948,"description":3949,"org":3950,"tags":3951,"stars":3845,"repoUrl":3846,"updatedAt":3954},"mcore-testing","run and manage Megatron-LM tests","Test system for Megatron-LM. Covers test layout, recipe YAML structure, adding and running unit and functional tests, golden values, marker filters, and CI parity.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3952,3953],{"name":3919,"slug":3920,"type":15},{"name":3766,"slug":3767,"type":15},"2026-07-14T05:25:54.928983",{"slug":3956,"name":3956,"fn":3957,"description":3958,"org":3959,"tags":3960,"stars":3845,"repoUrl":3846,"updatedAt":3963},"nightly-sync","manage nightly main-to-dev sync workflows","Domain knowledge for the nightly main-to-dev sync workflow. Covers merge strategy, CI architecture, failure investigation, and known issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[3961,3962],{"name":3776,"slug":3777,"type":15},{"name":3855,"slug":3856,"type":15},"2026-07-30T05:29:03.275638",496]