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
trival (#2808)
Kevin Hu190eea70971f
diff --git a/api/apps/llm_app.py b/api/apps/llm_app.pyindex cb49449630..432c21ff63 100644--- a/api/apps/llm_app.py+++ b/api/apps/llm_app.py@@ -332,7 +332,7 @@ def my_llms():@login_requireddef list_app():self_deploied = ["Youdao","FastEmbed", "BAAI", "Ollama", "Xinference", "LocalAI", "LM-Studio"]- weighted = ["Youdao","FastEmbed", "BAAI"] if not LIGHTEN else []+ weighted = ["Youdao","FastEmbed", "BAAI"] if LIGHTEN != 0 else []model_type = request.args.get("model_type")try:objs = TenantLLMService.query(tenant_id=current_user.id)diff --git a/rag/nlp/__init__.py b/rag/nlp/__init__.pyindex 0928ce4425..4a8c9a73bf 100644--- a/rag/nlp/__init__.py+++ b/rag/nlp/__init__.py@@ -151,6 +151,7 @@ def qbullets_category(sections):maxium = hreturn res, QUESTION_PATTERN[res]+BULLET_PATTERN = [[r"第[零一二三四五六七八九十百0-9]+(分?编|部分)",r"第[零一二三四五六七八九十百0-9]+章",