Browse Source

add milvus full text search setting (#12930)

Jyong 3 months ago
parent
commit
3ee213ddca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      api/controllers/console/datasets/datasets.py

+ 2 - 2
api/controllers/console/datasets/datasets.py

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