AnimeRAGSystem / config.py
Pushkar02-n's picture
Update config.py
a8671b5 verified
from pydantic_settings import BaseSettings
import os
class Settings(BaseSettings):
groq_api_key: str
model_name: str
postgres_user: str
postgres_password: str
postgres_db: str
database_url: str
qdrant_url: str
qdrant_api_key: str
fastapi_api_key: str
frontend_api_key: str
class Config:
env_file = '.env'
settings = Settings() # type: ignore