File size: 330 Bytes
de850e8 2515509 de850e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# config.py
import os
from dotenv import load_dotenv
load_dotenv()
FAISS_DB_INDEX = "./index_faiss"
BM25_INDEX = "./index_bm25/bm25_kiwi_retriever.pkl"
CHUNK_SIZE = 2000
CHUNK_OVERLAP = 200
EMBEDDING_MODEL = "BAAI/bge-m3"
LLM_MODEL = os.getenv("MODEL_KEY", "gemini")
STREAMING = os.getenv("STREAMING", "true").lower() == "true"
|