~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
Update README.md
LearningCircuit6a058a2a650f
diff --git a/README.md b/README.mdindex 845933eb97..8d78575b87 100644--- a/README.md+++ b/README.md@@ -47,6 +47,18 @@ A powerful AI-powered research assistant that performs deep, iterative analysis- Compatible with various document formats (PDF, text, markdown, etc.)- Automatic integration with meta-search for unified queries+## Example Research: Fusion Energy Developments++The repository includes complete research examples demonstrating the tool's capabilities. For instance, our [fusion energy research analysis](https://github.com/LearningCircuit/local-deep-research/blob/main/examples/fusion-energy-research-developments.md) provides a comprehensive overview of:++- Latest scientific breakthroughs in fusion research (2022-2025)+- Private sector funding developments exceeding $6 billion+- Expert projections for commercial fusion energy timelines+- Regulatory frameworks being developed for fusion deployment+- Technical challenges that must be overcome for commercial viability++This example showcases the system's ability to perform multiple research iterations, follow evidence trails across scientific and commercial domains, and synthesize information from diverse sources while maintaining proper citation.+## Installation1. Clone the repository:@@ -169,87 +181,6 @@ LOCAL_COLLECTIONS = {}}-# Configuration for local search integration-LOCAL_SEARCH_CONFIG = {- # General embedding options- "DEFAULT_EMBEDDING_MODEL": "all-MiniLM-L6-v2",- "DEFAULT_EMBEDDING_DEVICE": "cpu", # "cpu" or "cuda" for GPU acceleration- "DEFAULT_EMBEDDING_MODEL_TYPE": "sentence_transformers", # or "ollama"-- # Ollama settings (only used if model type is "ollama")- # Note: You must run 'ollama pull nomic-embed-text' first if using Ollama for embeddings- "OLLAMA_BASE_URL": "http://localhost:11434",- "OLLAMA_EMBEDDING_MODEL": "nomic-embed-text",-- # Default indexing options- "FORCE_REINDEX": False, # Force reindexing on startup- "CACHE_DIR": ".cache/local_search", # Base directory for cache-}--def register_local_collections(search_engines_dict: Dict[str, Any]) -> None:- """- Register all enabled local collections as search engines.-- Args:- search_engines_dict: The main search engines dictionary to update- """- for collection_id, collection in LOCAL_COLLECTIONS.items():- if collection.get("enabled", True):- # Skip if already defined (don't override)- if collection_id in search_engines_dict:- continue-- # Validate paths exist- paths = collection.get("paths", [])- valid_paths = []- for path in paths:- if os.path.exists(path) and os.path.isdir(path):- valid_paths.append(path)- else:- print(f"Warning: Collection '{collection_id}' contains non-existent folder: {path}")-- # Log warning if no valid paths- if not valid_paths and paths:- print(f"Warning: Collection '{collection_id}' has no valid folders. It will be registered but won't return results.")-- # Create a search engine entry for this collection- search_engines_dict[collection_id] = {- "module_path": "web_search_engines.engines.search_engine_local",- "class_name": "LocalSearchEngine",- "requires_api_key": False,- "reliability": 0.9, # High reliability for local documents- "strengths": ["personal documents", "offline access",- collection.get("description", "local documents")],- "weaknesses": ["requires indexing", "limited to specific folders"],- "default_params": {- "folder_paths": collection.get("paths", []),- "embedding_model": collection.get(- "embedding_model",- LOCAL_SEARCH_CONFIG["DEFAULT_EMBEDDING_MODEL"]- ),- "embedding_device": collection.get(- "embedding_device",- LOCAL_SEARCH_CONFIG["DEFAULT_EMBEDDING_DEVICE"]- ),- "embedding_model_type": collection.get(- "embedding_model_type",- LOCAL_SEARCH_CONFIG["DEFAULT_EMBEDDING_MODEL_TYPE"]- ),- "chunk_size": collection.get("chunk_size", 1000),- "chunk_overlap": collection.get("chunk_overlap", 200),- "cache_dir": collection.get(- "cache_dir",- f"{LOCAL_SEARCH_CONFIG['CACHE_DIR']}/{collection_id}"- ),- "max_results": collection.get("max_results", 20),- "max_filtered_results": collection.get("max_filtered_results", 5),- "collection_name": collection.get("name", collection_id),- "collection_description": collection.get("description", "")- },- "requires_llm": True- }-```-Create the directories for your collections:```bashmkdir -p local_search_files/research_papers@@ -316,4 +247,4 @@ Contributions are welcome! Please feel free to submit a Pull Request.2. Create your feature branch (`git checkout -b feature/AmazingFeature`)3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)4. Push to the branch (`git push origin feature/AmazingFeature`)-5. Open a Pull Request\ No newline at end of file+5. Open a Pull Request