Spaces:
Runtime error
Runtime error
Download config.py from StudyOcean/Study-Ocean-AI_Mentor: direct link, hf CLI and curl.
- Browser
- Download file 815 Bytes
-
https://huggingface.co/spaces/StudyOcean/Study-Ocean-AI_Mentor/resolve/main/config.py
- Command line
-
hf download hf://spaces/StudyOcean/Study-Ocean-AI_Mentor/config.py
-
curl -L -o config.py https://huggingface.co/spaces/StudyOcean/Study-Ocean-AI_Mentor/resolve/main/config.py
815 Bytes
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| # βββ API Keys ββββββββββββββββββββββββββββββββββββββββββββββββ | |
| GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY", "").strip() | |
| GROQ_API_KEY = os.getenv("GROQ_API_KEY", "").strip() | |
| # βββ Model Configuration ββββββββββββββββββββββββββββββββββββ | |
| EMBEDDING_MODEL = "all-MiniLM-L6-v2" | |
| LLM_MODEL = "llama-3.3-70b-versatile" | |
| # βββ Settings βββββββββββββββββββββββββββββββββββββββββββββββ | |
| VECTOR_STORE_PATH = "data/vector_store" | |
| TOP_K_RESULTS = 3 | |
| TEMPERATURE = 0.3 | |
| MAX_OUTPUT_TOKENS = 1024 | |