End-to-end retrieval over a sample warehouse using Ollama embeddings (default embeddinggemma) and optional L2 vision.
Requires pip install -e ".[index]", Ollama running, embedding model pulled.
vic demoThis seeds data/mock_storage/, runs vic index --full into data/vector_db (or VIC_DB_PATH), then runs two sample vic ask queries with human-readable output.
- Fast path (no embeddings):
vic demo --quick— seeds only; queries use legacy L0 unless you already indexed.
Default warehouse resolution:
--root DIRif you pass it- Else
VIC_WAREHOUSE_ROOT - Else
data/mock_storageif that directory exists - Else current working directory
vic ask --format human "compliance checklist"
vic ask --root ./data/mock_storage --format json "stand-up notes"| Flag | Behavior |
|---|---|
--format json (default) |
AskResponse JSON (includes stats: pipeline, latency, hit counts, paths). |
--format human |
Sectioned text report: summary, warnings, hits with paths/excerpts. |
scripts/demo.sh/demo.ps1— shell equivalentsdocs/API.md—statsschema and HTTP bridgedocs/ROADMAP_DEEP_DIVE.md— production roadmap
Start bridge:
vic bridgeCreate async index job:
curl -X POST http://127.0.0.1:8765/v1/index/start ^
-H "Content-Type: application/json" ^
-d "{\"root\":\"./data/mock_storage\",\"db_path\":\"./data/vector_db\",\"full\":true}"Poll status:
curl "http://127.0.0.1:8765/v1/index/status?job_id=<job_id>"If VIC_BRIDGE_API_KEY is set, include Authorization: Bearer <key> on all /v1/* calls.