This project is an intelligent research pipeline built using LangGraph, LangChain, Streamlit, and Hugging Face. It allows users to enter a topic, fetches real-time web data using Tavily, and generates a concise answer using a HuggingFace-hosted language model.
- 🔍 Real-time Web search using Tavily API
- 🧠 Research summarization and Answer generation using Hugging Face LLMs (GPT-2 or GPT-Neo)
- 🛠 Modular agents using LangGraph
- 🖥️ Interactive Streamlit UI
git clone https://github.com/AshNicolus/QueryCrafter.git
cd QueryCrafterInstall required packages:
pip install -r requirements.txtCreate a .env file:
TAVILY_API_KEY=your_tavily_api_key
HUGGINGFACEHUB_API_TOKEN=your_huggingface_tokenstreamlit run app.py- Enter your research topic in the UI.
- Wait for the system to fetch web results and generate an answer.