feat: P5 VLM Summary pipeline integration + trace_profile vlm_summary field
- Add src/core/processor/vlm_summary.rs: VLM + Embedding pipeline stage * Reads key_frame.jpg → Ollama llava:7b → vlm_description * Writes DB (vlm_description, vlm_model, vlm_embedding) + on-disk JSON * EmbeddingGemma → Qdrant upsert (chunk_type=vlm_summary) * Non-blocking: errors logged, does not prevent job completion * Redis progress tracking: vlm_summary stage N/M traces - Add src/bin/backfill_trace_vlm.rs: manual backfill binary * Supports --file-uuid, --force, --limit flags * Concurrency: 2 parallel VLM calls - Add vlm_embedding JSONB column to trace_profiles (schema + migration) - Add vlm_summary field to FaceTraceProfile struct - Add P5 trigger in job_worker.rs (has_face + no-face paths) - Add VLM monitoring to ingestion_complete() (non-blocking) - Update .env / .env.development: VISION_URL → Ollama 11434
This commit is contained in:
+3
-3
@@ -77,9 +77,9 @@ MOMENTRY_TMDB_PROBE_ENABLED=true
|
||||
MOMENTRY_LLM_CHAT_URL=http://localhost:11434/v1/chat/completions
|
||||
MOMENTRY_LLM_CHAT_MODEL=llama3.1:8b
|
||||
|
||||
# VLM uses llama.cpp (llava-v1.6-vicuna-13b)
|
||||
MOMENTRY_LLM_VISION_URL=http://localhost:8091/v1/chat/completions
|
||||
MOMENTRY_LLM_VISION_MODEL=llava-v1.6-vicuna-13b
|
||||
# VLM uses Ollama (llava:7b) - OpenAI-compatible endpoint
|
||||
MOMENTRY_LLM_VISION_URL=http://localhost:11434/v1/chat/completions
|
||||
MOMENTRY_LLM_VISION_MODEL=llava:7b
|
||||
|
||||
# Summary LLM uses Ollama
|
||||
MOMENTRY_LLM_SUMMARY_URL=http://localhost:11434/v1/chat/completions
|
||||
|
||||
Reference in New Issue
Block a user