Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

upstash_config.py 483B

123456789101112131415161718
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class UpstashConfig(BaseSettings):
  4. """
  5. Configuration settings for Upstash vector database
  6. """
  7. UPSTASH_VECTOR_URL: str | None = Field(
  8. description="URL of the upstash server (e.g., 'https://vector.upstash.io')",
  9. default=None,
  10. )
  11. UPSTASH_VECTOR_TOKEN: str | None = Field(
  12. description="Token for authenticating with the upstash server",
  13. default=None,
  14. )