Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix bugs(when using Oracle23ai as Vector DB) (#6658)
tmuife16b4f560cdbe
diff --git a/api/core/rag/datasource/vdb/oracle/oraclevector.py b/api/core/rag/datasource/vdb/oracle/oraclevector.pyindex f65f57da60b..4bd09b331d2 100644--- a/api/core/rag/datasource/vdb/oracle/oraclevector.py+++ b/api/core/rag/datasource/vdb/oracle/oraclevector.py@@ -55,7 +55,7 @@ CREATE TABLE IF NOT EXISTS {table_name} ()"""SQL_CREATE_INDEX = """-CREATE INDEX idx_docs_{table_name} ON {table_name}(text)+CREATE INDEX IF NOT EXISTS idx_docs_{table_name} ON {table_name}(text)INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS('FILTER CTXSYS.NULL_FILTER SECTION GROUP CTXSYS.HTML_SECTION_GROUP LEXER sys.my_chinese_vgram_lexer')"""@@ -248,7 +248,7 @@ class OracleVector(BaseVector):def delete(self) -> None:with self._get_cursor() as cur:- cur.execute(f"DROP TABLE IF EXISTS {self.table_name}")+ cur.execute(f"DROP TABLE IF EXISTS {self.table_name} cascade constraints")def _create_collection(self, dimension: int):cache_key = f"vector_indexing_{self._collection_name}"