forked from langgenius/dify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: couchbase integration (langgenius#6165)
Co-authored-by: crazywoola <[email protected]> Co-authored-by: Elliot Scribner <[email protected]> Co-authored-by: crazywoola <[email protected]> Co-authored-by: Bowen Liang <[email protected]>
- Loading branch information
1 parent
fc37e65
commit c8ef922
Showing
21 changed files
with
639 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,14 +78,15 @@ jobs: | |
- name: Run Workflow | ||
run: poetry run -C api bash dev/pytest/pytest_workflow.sh | ||
|
||
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch) | ||
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma, MyScale, ElasticSearch, Couchbase) | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
compose-file: | | ||
docker/docker-compose.yaml | ||
services: | | ||
weaviate | ||
qdrant | ||
couchbase-server | ||
etcd | ||
minio | ||
milvus-standalone | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
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, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.