"""
Configuration parameters for RooCode RAG Lookup
All parameters are defined as constants in SCREAMING_CASE
"""
# Embedding Model Configuration
# This model must be the same for both indexing and retrieval to ensure dimensional consistency
# all-mpnet-base-v2: 768 dimensions, better accuracy, slower
# all-MiniLM-L6-v2: 384 dimensions, faster, lower accuracy
EMBEDDING_MODEL = "sentence-transformers/all-mpnet-base-v2"
# ChromaDB Configuration
COLLECTION_NAME = "documents"
PERSIST_PATH = "./chroma_db"
# Document Processing Configuration
CHUNK_SIZE = 500 # Size of text chunks in words
CHUNK_OVERLAP = 50 # Overlap between chunks in words
# Retrieval Configuration
DEFAULT_TOP_K = 5 # Default number of results to return