Skip to content

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

fix settings global docStoreConn for opensearch (#8885)

湛露先生fa1d6ed683f7
diff --git a/api/settings.py b/api/settings.py
index 4d0e18b68e..32fc7bd698 100644
--- a/api/settings.py
+++ b/api/settings.py
@@ -163,7 +163,7 @@ def init_settings():
elif lower_case_doc_engine == "infinity":
docStoreConn = rag.utils.infinity_conn.InfinityConnection()
elif lower_case_doc_engine == "opensearch":
- docStoreConn = rag.utils.opensearch_coon.OSConnection()
+ docStoreConn = rag.utils.opensearch_conn.OSConnection()
else:
raise Exception(f"Not supported doc engine: {DOC_ENGINE}")