|
@@ -619,8 +619,7 @@ class DatasetRetrievalSettingApi(Resource):
|
|
vector_type = dify_config.VECTOR_STORE
|
|
vector_type = dify_config.VECTOR_STORE
|
|
match vector_type:
|
|
match vector_type:
|
|
case (
|
|
case (
|
|
- VectorType.MILVUS
|
|
|
|
- | VectorType.RELYT
|
|
|
|
|
|
+ VectorType.RELYT
|
|
| VectorType.PGVECTOR
|
|
| VectorType.PGVECTOR
|
|
| VectorType.TIDB_VECTOR
|
|
| VectorType.TIDB_VECTOR
|
|
| VectorType.CHROMA
|
|
| VectorType.CHROMA
|
|
@@ -645,6 +644,7 @@ class DatasetRetrievalSettingApi(Resource):
|
|
| VectorType.TIDB_ON_QDRANT
|
|
| VectorType.TIDB_ON_QDRANT
|
|
| VectorType.LINDORM
|
|
| VectorType.LINDORM
|
|
| VectorType.COUCHBASE
|
|
| VectorType.COUCHBASE
|
|
|
|
+ | VectorType.MILVUS
|
|
):
|
|
):
|
|
return {
|
|
return {
|
|
"retrieval_method": [
|
|
"retrieval_method": [
|