diff --git a/api/app/core/rag/nlp/search.py b/api/app/core/rag/nlp/search.py index 572f2e3c..65fbd9cb 100644 --- a/api/app/core/rag/nlp/search.py +++ b/api/app/core/rag/nlp/search.py @@ -179,7 +179,7 @@ def knowledge_retrieval( "reranker_id": reranker_id, "query": query, "doc_count": len(all_results), - "error": str(e), + "error": str(rerank_error), }, )