This project implements a travel chatbot powered by the RAG (Retrieve and Generate) chain, providing real-time information retrieval using various tools and the ability to fetch weather reports.
- Conversational Interface: Engage in a conversation with the travel chatbot.
- RAG Chain Integration: Utilizes RAG (Retrieve and Generate) chain for natural language processing.
- Real-time Tool Search: Access to real-time information through integrated tools.
- Weather Report: Fetch current weather data based on the user's location.
- Python 3.7 or higher
- OpenAI API key
- Google Serper API key
- OpenWeatherMap API key
-
Clone the repository:
git clone https://github.com/samthakur587/travel-chatbot cd travel-chatbot
-
Install dependencies:
pip install -r requirement.txt
-
Set up environment variables:
OPENAI_API_KEY
: Your OpenAI API keySERPER_API_KEY
: Your Google Serper API keyOPENWEATHERMAP_API_KEY
: Your OpenWeatherMap API key
-
Run the application:
streamlit run app.py
- Access the application via the provided Streamlit URL.
- Input your query or engage in a conversation with the travel chatbot.
- If prompted, enter your OpenAI API key in the sidebar.
Contributions are welcome! Feel free to submit issues or pull requests for any enhancements or bug fixes.
This project is licensed under the MIT License.