mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-14 20:41:21 +08:00
bab4975809
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
19 lines
483 B
Python
19 lines
483 B
Python
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class UpstashConfig(BaseSettings):
|
|
"""
|
|
Configuration settings for Upstash vector database
|
|
"""
|
|
|
|
UPSTASH_VECTOR_URL: str | None = Field(
|
|
description="URL of the upstash server (e.g., 'https://vector.upstash.io')",
|
|
default=None,
|
|
)
|
|
|
|
UPSTASH_VECTOR_TOKEN: str | None = Field(
|
|
description="Token for authenticating with the upstash server",
|
|
default=None,
|
|
)
|