Spaces:
Running
Running
axeronis commited on
Commit ·
8958c80
1
Parent(s): cf591ba
fix(backend): add EMBEDDING_DIMENSION to settings
Browse files
backend/app/core/config.py
CHANGED
|
@@ -25,6 +25,7 @@ class Settings(BaseSettings):
|
|
| 25 |
# Google Gemini AI
|
| 26 |
GEMINI_API_KEY: str
|
| 27 |
GEMINI_MODEL: str = "gemini-2.5-flash" # Latest stable model (Dec 2024)
|
|
|
|
| 28 |
|
| 29 |
# Security
|
| 30 |
SECRET_KEY: str
|
|
|
|
| 25 |
# Google Gemini AI
|
| 26 |
GEMINI_API_KEY: str
|
| 27 |
GEMINI_MODEL: str = "gemini-2.5-flash" # Latest stable model (Dec 2024)
|
| 28 |
+
EMBEDDING_DIMENSION: int = 768 # Gemini embedding-001 dimension
|
| 29 |
|
| 30 |
# Security
|
| 31 |
SECRET_KEY: str
|