You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. )