RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Fix: numeric string miss transformation. (#11025)
Kevin Hu8584d4b642f8
diff --git a/api/db/services/dialog_service.py b/api/db/services/dialog_service.pyindex 6e5bab0daf..4d4776050b 100644--- a/api/db/services/dialog_service.py+++ b/api/db/services/dialog_service.py@@ -294,12 +294,13 @@ def meta_filter(metas: dict, filters: list[dict]):def filter_out(v2docs, operator, value):ids = []for input, docids in v2docs.items():- try:- input = float(input)- value = float(value)- except Exception:- input = str(input)- value = str(value)+ if operator in ["=", "≠", ">", "<", "≥", "≤"]:+ try:+ input = float(input)+ value = float(value)+ except Exception:+ input = str(input)+ value = str(value)for conds in [(operator == "contains", str(value).lower() in str(input).lower()),