A chatbot that leverages Large Language Models (LLMs) to perform real-time web searches using LangChain, Groq API, and various search tools. This project is deployed on Hugging Face Spaces.
Try the chatbot here: Search Engine LLM
- 🌐 Web Search: Retrieves up-to-date information from the web using DuckDuckGo.
- 📚 Arxiv & Wikipedia Support: Fetches relevant academic papers and Wikipedia summaries.
- 🤖 LLM-Powered Responses: Uses Groq's
qwen-2.5-32bmodel for intelligent responses. - 🔄 Chat History: Maintains session history for a better user experience.
- 📊 LangSmith Tracing: Enables tracking and debugging of LangChain interactions.
- 📂 Deployed on Hugging Face Spaces: Easily accessible without setup.
- Python 🐍
- Streamlit 🎈
- LangChain & LangSmith 🔗
- Groq API 🚀
- DuckDuckGo Search API 🔎
- Arxiv & Wikipedia API 📖
-
Clone the repository:
git clone https://github.com/laavanjan/Search-LLM-deploy-huggingface.git cd Search-LLM-deploy-huggingface -
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
Create a
.envfile and add your API keys:GROQ_API_KEY=your_groq_api_key LANGCHAIN_API_KEY=your_langchain_api_key LANGCHAIN_TRACING_V2=true LANGCHAIN_PROJECT="Chatbot with webSearch" -
Run the application:
streamlit run app.py
(Screenshots of the chatbot in action will be added here)
![]() |
![]() |
![]() |
|---|---|---|
![]() |
![]() |
![]() |
This project is licensed under the GPL License.
Contributions are welcome! Feel free to fork the repo, make changes, and submit a pull request.
⭐ Star this repo if you find it useful!




