securityChatbot / app /core /config.py
AI Assistant
feat: add support for Gemini API and implement state management for quiz turns and answers
b85377a
Raw History Blame Contribute Delete
375 Bytes
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
app_name: str = "Security Awareness Chatbot"
app_version: str = "1.0.0"
OPENAI_API_KEY: str
GROQ_API_KEY: str
GEMINI_API_KEY: str | None = None
debug: bool = False
model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"}
settings = Settings()