- Add rag_indexer.py: build LightRAG index from OCR with OpenCode API - Add rag_query.py: query the knowledge graph - Add vlm_describer.py: generate VLM descriptions via LM Studio - Add test_model.py: quick check for LightRAG-compatible models - Add run_pipeline.sh and run_pipeline.bat: full OCR → VLM → RAG pipeline - Fix rapidocr import (rapidocr_onnxruntime) - Fix process_any_pdf.py paths for cross-platform use - Add .env.example, README_RAG.md, AGENTS.md - Update .gitignore for outputs and secrets
11 lines
295 B
Plaintext
11 lines
295 B
Plaintext
# OpenCode API (DeepSeek V4 Flash Free)
|
|
OPENCODE_API_KEY=ваш-ключ-здесь
|
|
OPENCODE_URL=https://opencode.ai/zen/v1
|
|
|
|
# LM Studio (VLM для описаний PNG)
|
|
LMSTUDIO_URL=http://127.0.0.1:1234/v1
|
|
LMSTUDIO_API_KEY=lm-studio
|
|
|
|
# OpenAI (опционально)
|
|
# OPENAI_API_KEY=sk-...
|