mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-04 01:25:07 +08:00
Fix:OSConnection.create_idx 4 arguments (#12862)
### What problem does this PR solve? https://github.com/infiniflow/ragflow/issues/12858 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -91,7 +91,7 @@ class OSConnection(DocStoreConnection):
|
|||||||
Table operations
|
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):
|
if self.index_exist(indexName, knowledgebaseId):
|
||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user