Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix:OSConnection.create_idx 4 arguments (#12862)

Stephen Hu3a8c848af574
diff --git a/rag/utils/opensearch_conn.py b/rag/utils/opensearch_conn.py
index 2e730829b3..269948f809 100644
--- a/rag/utils/opensearch_conn.py
+++ b/rag/utils/opensearch_conn.py
@@ -91,7 +91,7 @@ class OSConnection(DocStoreConnection):
Table operations
"""
- def create_idx(self, indexName: str, knowledgebaseId: str, vectorSize: int):
+ def create_idx(self, indexName: str, knowledgebaseId: str, vectorSize: int, parser_id: str = None):
if self.index_exist(indexName, knowledgebaseId):
return True
try: