This project is an advanced research assistant that leverages AI and web search technologies to provide evidence-backed, comprehensive responses to user queries. Inspired by Perplexity AI and Arvind Srinivas' interview , the application combines web search, content extraction, and AI-powered summarization to deliver accurate and informative real-time results which conventional LLMs like ChatGPT and Claude can't do.
- Intelligent Web Search
- Content Extraction from Multiple Sources
- AI-Powered Summarization
- Evidence-Backed Responses
- Python
- Mistral Large Language Model
- SerpAPI
- Async Web Scraping
- Mistral API Key
- SerpAPI Key
- Create a
.env
file in the project root:
MISTRAL_API_KEY=your_mistral_api_key
SERPAPI_KEY=your_serpapi_key
- User submits a query
- SerpAPI searches the internet for relevant sources
- Content is extracted from top sources
- Mistral AI analyzes and summarizes the content
- Response is generated with evidence and insights
- Depends on API rate limits. Uses exponential backoff to overcome this
- Quality of results varies with source availability
- Requires active internet connection
- Add local caching of search results
- Implement more sophisticated source validation
- Add user interface (CLI/Web)
This project has been developed using a variety of tools and techniques, including the use of AI-powered coding assistants like GitHub Copilot, ChatGPT, and Claude. These tools were used to help generate code snippets and provide design suggestionss. While the final decisions and implementations were made by human developers, these tools were invaluable in accelerating the development workflow.