mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-30 08:12:00 +08:00

Co-authored-by: crazywoola <427733928@qq.com> Co-authored-by: Elliot Scribner <elliot.scribner@couchbase.com> Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: Bowen Liang <bowenliang@apache.org>
35 lines
751 B
Python
35 lines
751 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class CouchbaseConfig(BaseModel):
|
|
"""
|
|
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,
|
|
)
|