vrin insert
Insert text content into the knowledge base. VRIN automatically chunks the text, extracts structured facts, and indexes everything in the knowledge graph.Options
| Flag | Short | Default | Description |
|---|---|---|---|
--title | -t | "Untitled" | Document title |
--tag | Tags (repeatable: --tag finance --tag earnings) | ||
--metadata | Metadata as JSON string | ||
--wait / --no-wait | --wait | Wait for processing to complete | |
--dry-run | false | Show payload without sending | |
--json | Force JSON output |
Async mode
By default,insert waits for fact extraction to complete. Use --no-wait to get a job ID immediately:
Tags and metadata
vrin upload
Upload a file to the knowledge base. Supports PDF, CSV, TXT, MD, and DOCX.Options
| Flag | Default | Description |
|---|---|---|
--save-to-memory / --no-save-to-memory | --save-to-memory | Persist extracted knowledge permanently |
--wait / --no-wait | --wait | Wait for processing to complete |
--json | Force JSON output |
Examples
vrin bulk-insert
Insert multiple items from a JSON file. Uses adaptive concurrency for fast batch processing.Input format
The JSON file must contain an array of objects:content is required. title, tags, and metadata are optional.
Options
| Flag | Default | Description |
|---|---|---|
--concurrency | 8 | Initial concurrent workers |
--max-concurrency | 25 | Maximum concurrent workers (auto-scales) |
--tag | Default tags applied to all items | |
--json | Force JSON output |
Example
vrin job
Check the status of an async job (from--no-wait inserts or uploads).
Options
| Flag | Description |
|---|---|
--wait | Poll until the job completes |
--json | Force JSON output |