diff --git a/rag/utils/opensearch_conn.py b/rag/utils/opensearch_conn.py index 2e730829b..269948f80 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: