197f70ee12
- 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.
22 lines
562 B
YAML
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"
|