A powerful search engine chat application built with LangChain, Streamlit, and Groq. This application combines multiple search tools (Arxiv, Wikipedia, and DuckDuckGo) to provide comprehensive answers to your questions.
- Real-time chat interface using Streamlit
- Integration with multiple search tools:
- Arxiv for academic papers
- Wikipedia for general knowledge
- DuckDuckGo for web search
- Powered by Groq's Llama3-8b-8192 model
- Streaming responses with real-time agent thoughts
- Secure API key management
- Beautiful and intuitive UI
- Python 3.8 or higher
- pip (Python package installer)
- Clone the repository:
git clone https://github.com/yourusername/Search_Engine_LangChain.git
cd Search_Engine_LangChain- Install the required packages:
pip install -r requirements.txt- Create a
.envfile in the root directory and add your API keys:
GROQ_API_KEY="your_groq_api_key"
LANGCHAIN_API_KEY="your_langchain_api_key"
LANGCHAIN_PROJECT="your_project_name"- Start the Streamlit app:
streamlit run app.py- Open your web browser and navigate to the URL shown in the terminal (typically http://localhost:8501)
- Enter your question in the chat input field
- The application will:
- Search across multiple sources (Arxiv, Wikipedia, DuckDuckGo)
- Process the information using the Groq LLM
- Display the results in real-time
- Show the agent's thought process
- Streamlit - For the web interface
- LangChain - For building the search agent
- Groq - For the LLM backend
- Arxiv - For academic paper search
- Wikipedia - For general knowledge
- DuckDuckGo - For web search
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Vedanth Nayak
- GitHub: @vedanthnyk25
- Thanks to the LangChain team for their excellent framework
- Groq for providing the LLM capabilities
- All the open-source tools and libraries used in this project