feat:support baidu vector db (#9185)
This commit is contained in:
parent
793205afc5
commit
2ec6ffe478
15 changed files with 582 additions and 13 deletions
|
|
@ -617,6 +617,7 @@ class DatasetRetrievalSettingApi(Resource):
|
|||
| VectorType.CHROMA
|
||||
| VectorType.TENCENT
|
||||
| VectorType.PGVECTO_RS
|
||||
| VectorType.BAIDU
|
||||
):
|
||||
return {"retrieval_method": [RetrievalMethod.SEMANTIC_SEARCH.value]}
|
||||
case (
|
||||
|
|
@ -653,6 +654,7 @@ class DatasetRetrievalSettingMockApi(Resource):
|
|||
| VectorType.CHROMA
|
||||
| VectorType.TENCENT
|
||||
| VectorType.PGVECTO_RS
|
||||
| VectorType.BAIDU
|
||||
):
|
||||
return {"retrieval_method": [RetrievalMethod.SEMANTIC_SEARCH.value]}
|
||||
case (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue