Files
Ai/knowledge_base/config/rag_config.example.yaml
T
sajad-dev 197f70ee12 Add Qdrant and ChromaDB support to the project
- Added Qdrant service to both docker-compose files for production and development.
- Updated environment variables in .env.example and settings.py to include Qdrant configuration.
- Included necessary dependencies for Qdrant and ChromaDB in requirements.txt.
- Updated .gitignore to exclude ChromaDB data files.
2026-02-27 19:37:02 +03:30

22 lines
562 B
YAML

# نمونه تنظیمات RAG برای پایگاه دانش CropLogic
# کپی به rag_config.yaml و در صورت نیاز ویرایش کنید
embedding:
provider: "sentence_transformers" # یا openai
model: "paraphrase-multilingual-MiniLM-L12-v2"
# برای OpenAI:
# provider: "openai"
# model: "text-embedding-3-small"
# api_key_env: "OPENAI_API_KEY"
batch_size: 32
chromadb:
persist_directory: "data/chromadb"
collection_name: "croplogic_kb"
chunking:
max_chunk_tokens: 500
overlap_tokens: 50
tone_file: "config/tone.txt"