Automated-AI-Web-Researcher-Ollama  by TheBlewish

Automated research assistant using local LLMs

created 8 months ago
2,871 stars

Top 17.0% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This Python program transforms a locally hosted LLM via Ollama into an automated web researcher. It's designed for users needing in-depth, structured online research without manual intervention, systematically breaking down queries, searching the web, scraping content, and compiling findings into a documented trail.

How It Works

The tool takes a user query, decomposes it into prioritized research areas, and iteratively searches the web, scrapes relevant content, and extracts source URLs. It dynamically generates new research avenues based on discovered information, allowing continuous research until manually stopped. Upon termination, the LLM synthesizes all collected data into a comprehensive summary and enters a conversational mode for follow-up questions.

Quick Start & Requirements

  • Install dependencies: pip install -r requirements.txt
  • Requires Ollama to be installed and running with a suitable model (e.g., phi3:3.8b-mini-128k-instruct or phi3:14b-medium-128k-instruct with custom context length).
  • Configure Ollama model and context size in llm_config.py.
  • Run researcher: python Web-LLM.py
  • Start research: Type @ followed by your query and press CTRL+D.
  • Official Ollama installation: https://ollama.ai

Highlighted Details

  • Automated research planning with prioritized focus areas.
  • Systematic web searching, content analysis, and source URL documentation.
  • Post-research Q&A capability and comprehensive answer synthesis.
  • Dynamic research cycle that generates new focus areas based on findings.

Maintenance & Community

This is a prototype project by a new programmer. Contributions and suggestions are welcomed.

Licensing & Compatibility

Licensed under the MIT License. Compatible with commercial use and closed-source linking.

Limitations & Caveats

The project is described as a prototype and is still in development. While functional, it may have room for improvements and new features. Windows users should refer to the /feature/windows-support branch for specific instructions.

Health Check
Last commit

7 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
64 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.