mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-05 01:55:05 +08:00
feat: add OceanBase memory store (#12955)
### What problem does this PR solve? Add OceanBase memory store and extracting base class `OBConnectionBase`. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -41,6 +41,7 @@ from rag.nlp import search
|
||||
|
||||
import memory.utils.es_conn as memory_es_conn
|
||||
import memory.utils.infinity_conn as memory_infinity_conn
|
||||
import memory.utils.ob_conn as memory_ob_conn
|
||||
|
||||
LLM = None
|
||||
LLM_FACTORY = None
|
||||
@ -281,6 +282,8 @@ def init_settings():
|
||||
"db_name": "default_db"
|
||||
})
|
||||
msgStoreConn = memory_infinity_conn.InfinityConnection()
|
||||
elif lower_case_doc_engine in ["oceanbase", "seekdb"]:
|
||||
msgStoreConn = memory_ob_conn.OBConnection()
|
||||
|
||||
global AZURE, S3, MINIO, OSS, GCS
|
||||
if STORAGE_IMPL_TYPE in ['AZURE_SPN', 'AZURE_SAS']:
|
||||
|
||||
Reference in New Issue
Block a user