Skip to content

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.

License

Notifications You must be signed in to change notification settings

samthakur587/travel-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦜🔗 Travel Chatbot with RAG Chain

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.

Features

  • 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.

Getting Started

Prerequisites

  • Python 3.7 or higher
  • OpenAI API key
  • Google Serper API key
  • OpenWeatherMap API key

Installation

  1. Clone the repository:

    git clone https://github.com/samthakur587/travel-chatbot
    cd travel-chatbot
  2. Install dependencies:

    pip install -r requirement.txt
  3. Set up environment variables:

    • OPENAI_API_KEY: Your OpenAI API key
    • SERPER_API_KEY: Your Google Serper API key
    • OPENWEATHERMAP_API_KEY: Your OpenWeatherMap API key
  4. Run the application:

    streamlit run app.py

Usage

  • 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.

Contributing

Contributions are welcome! Feel free to submit issues or pull requests for any enhancements or bug fixes.

License

This project is licensed under the MIT License.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages