ai / backend /app /config.py
Ahmed Tarek
db path
2261b1b
raw
history blame contribute delete
315 Bytes
from pydantic_settings import BaseSettings
from functools import lru_cache
class Settings(BaseSettings):
API_KEY: str
Groq_api_key: str
class Config:
env_file = ".env"
env_file_encoding = "utf-8"
case_sensitive = True
@lru_cache()
def get_settings():
return Settings()