Spaces:
Build error
Build error
AI Assistant
feat: add support for Gemini API and implement state management for quiz turns and answers
b85377a Download app/core/config.py from amirelrefai/securityChatbot: direct link, hf CLI and curl.
- Browser
- Download file 375 Bytes
-
https://huggingface.co/spaces/amirelrefai/securityChatbot/resolve/main/app/core/config.py
- Command line
-
hf download hf://spaces/amirelrefai/securityChatbot/app/core/config.py
-
curl -L -o config.py https://huggingface.co/spaces/amirelrefai/securityChatbot/resolve/main/app/core/config.py
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() | |