build: add project configuration and environment template

This commit is contained in:
2026-07-21 18:51:51 +03:30
parent 09f9bb53bf
commit c5bf8d5e1e
2 changed files with 59 additions and 0 deletions

28
.env.example Normal file
View File

@@ -0,0 +1,28 @@
# OpenAI API authentication (required)
OPENAI_API_KEY=sk-...
# Qdrant configuration
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=
# Fixed models (not configurable per strategy)
EMBEDDING_MODEL=text-embedding-3-small
LLM_MODEL=gpt-4o-mini
# Retrieval defaults
TOP_K=5
# LLM generation parameters
TEMPERATURE=0.0
MAX_TOKENS=1024
# Chunking defaults
CHUNK_SIZE=512
CHUNK_OVERLAP=50
# Semantic chunking parameters
SEMANTIC_THRESHOLD=0.3
SEMANTIC_MIN_CHUNK_SIZE=3
# SQLite database path
DATABASE_URL=sqlite:///./data/chunking_benchmark.db