low-key-007's picture
Create config.py
dfdb1a5 verified
Raw History Blame Contribute Delete
351 Bytes
import os
from pydantic import BaseModel
class Settings(BaseModel):
APP_NAME: str = "FinSight RAG Engine"
VERSION: str = "1.2.0"
GROQ_API_KEY: str = os.getenv("GROQ_API_KEY", "")
EMBEDDING_MODEL: str = "all-MiniLM-L6-v2"
LLM_MODEL: str = "llama3-8b-8192"
CHUNK_SIZE: int = 1000
CHUNK_OVERLAP: int = 200
conf = Settings()