paper-qa-rag / script /config.py
whosouravsharma's picture
added config setup
66c529e
Raw History Blame Contribute Delete
238 Bytes
import os
# -------------------------------
# Chunking / Retrieval
# -------------------------------
CHUNK_SIZE = int(os.getenv("CHUNK_SIZE", 1200))
CHUNK_OVERLAP = int(os.getenv("CHUNK_OVERLAP", 200))
TOP_K = int(os.getenv("TOP_K", 4))