Alishba Siddique
fix: replace Google embeddings with HuggingFace sentence-transformers (no API key needed)
7483ad4 | from functools import lru_cache | |
| from pydantic_settings import BaseSettings, SettingsConfigDict | |
| class Settings(BaseSettings): | |
| model_config = SettingsConfigDict( | |
| env_file=".env", | |
| env_file_encoding="utf-8", | |
| case_sensitive=False, | |
| ) | |
| google_api_key: str = "" | |
| groq_api_key: str | |
| pinecone_api_key: str | |
| pinecone_index_name: str = "medicalindex" | |
| pinecone_region: str = "us-east-1" | |
| huggingface_hub_token: str = "" | |
| def get_settings() -> Settings: | |
| return Settings() | |