mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-04 11:14:10 +08:00

Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: huanshare <liuhuan101@longfor.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
36 lines
786 B
Python
36 lines
786 B
Python
from typing import Optional
|
|
|
|
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class CouchbaseConfig(BaseSettings):
|
|
"""
|
|
Couchbase configs
|
|
"""
|
|
|
|
COUCHBASE_CONNECTION_STRING: Optional[str] = Field(
|
|
description="COUCHBASE connection string",
|
|
default=None,
|
|
)
|
|
|
|
COUCHBASE_USER: Optional[str] = Field(
|
|
description="COUCHBASE user",
|
|
default=None,
|
|
)
|
|
|
|
COUCHBASE_PASSWORD: Optional[str] = Field(
|
|
description="COUCHBASE password",
|
|
default=None,
|
|
)
|
|
|
|
COUCHBASE_BUCKET_NAME: Optional[str] = Field(
|
|
description="COUCHBASE bucket name",
|
|
default=None,
|
|
)
|
|
|
|
COUCHBASE_SCOPE_NAME: Optional[str] = Field(
|
|
description="COUCHBASE scope name",
|
|
default=None,
|
|
)
|