~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
Optimize report generator prompt to reduce repetitive content
LearningCircuit40d54c4d44b0
diff --git a/src/local_deep_research/report_generator.py b/src/local_deep_research/report_generator.pyindex 4196c0683e..9f9167f3c9 100644--- a/src/local_deep_research/report_generator.py+++ b/src/local_deep_research/report_generator.py@@ -159,7 +159,18 @@ class IntegratedReportGenerator:section_content.append(f"_{subsection['purpose']}_\n\n")# Generate a specific search query for this subsection- subsection_query = f"{query} {section['name']} {subsection['name']} {subsection['purpose']}"+ # Create a more focused and directive query to avoid repetition+ subsection_query = (+ f"Research task: You are creating content for ONE SPECIFIC SUBSECTION of a comprehensive report about '{query}'. "+ f"This subsection '{subsection['name']}' has a specific purpose: {subsection['purpose']} "+ f"It belongs to the larger section '{section['name']}'. "+ f"Your goal is to find and present information that ONLY addresses this subsection's specific purpose. "+ f"Focus on unique details, specific examples, and concrete information relevant to this aspect only. "+ f"Do not include general overview information about the topic. "+ f"Use tables to organize information if applicable. "+ f"Remember: Other subsections will cover other aspects, so stay focused on your specific purpose. "+ f"Note: Initial research has already been conducted on this topic, so look for specific angles and details related to your subsection's purpose."+ )logger.info(f"Researching subsection: {subsection['name']} with query: {subsection_query}"