law-bot / libs /config.py
anpigon's picture
Update libs/config.py
2515509 verified
raw
history blame contribute delete
330 Bytes
# 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"