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
Retrieval service optimization (#13849)
Charlie.Weiabe5aca3e217
diff --git a/api/core/rag/datasource/retrieval_service.py b/api/core/rag/datasource/retrieval_service.pyindex 07a90559443..725df69fd02 100644--- a/api/core/rag/datasource/retrieval_service.py+++ b/api/core/rag/datasource/retrieval_service.py@@ -301,7 +301,6 @@ class RetrievalService:DocumentSegment.id,DocumentSegment.content,DocumentSegment.answer,- DocumentSegment.doc_metadata,)).first()@@ -362,7 +361,6 @@ class RetrievalService:record = {"segment": segment,"score": document.metadata.get("score"), # type: ignore- "segment_metadata": segment.doc_metadata,}records.append(record)