Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: skip deprecated field_schema param in creating payload index on Qdrant (#3903)

Bowen Liang142814d451d2
diff --git a/api/core/rag/datasource/vdb/qdrant/qdrant_vector.py b/api/core/rag/datasource/vdb/qdrant/qdrant_vector.py
index 0f6bff6dd7d..e6e83c66d84 100644
--- a/api/core/rag/datasource/vdb/qdrant/qdrant_vector.py
+++ b/api/core/rag/datasource/vdb/qdrant/qdrant_vector.py
@@ -117,8 +117,7 @@ class QdrantVector(BaseVector):
# create payload index
self._client.create_payload_index(collection_name, Field.GROUP_KEY.value,
- field_schema=PayloadSchemaType.KEYWORD,
- field_type=PayloadSchemaType.KEYWORD)
+ field_schema=PayloadSchemaType.KEYWORD)
# creat full text index
text_index_params = TextIndexParams(
type=TextIndexType.TEXT,