Giter Club home page Giter Club logo

hotel-booking-bot's Introduction

Hotel Booking Chatbot

Chatbot with RAG + Memory - Cohere AI, Streamlit, Langchain, Qdrant

Check blog to know more about the project

Overview

This project is a chatbot application built using Cohere AI. The chatbot assists users in making hotel bookings by providing information and answering queries related to hotel reservations. Hotel booking bot for Sheraton hotel. Made with cohere AI

Screenshot 2023-09-24 115029

Features

  • Chat Interface: Users can interact with the chatbot through a user-friendly chat interface.

  • Hotel Information: The chatbot can provide details about available hotels, room types, and amenities.

  • Booking Assistance: Users can inquire about room availability, rates, and make reservations through the chatbot.

  • DISCLAIMER:

    • We are using a short knowledge base and an trail api key for cohere api. Therefore the responses may vary

Deployment

The chatbot is deployed on Streamlit Cloud and can be accessed at the following URL: Chatbot App

Prerequisites

Before running this project locally, ensure that you have the following installed:

  • Python 3.10.5
  • Streamlit
  • Other necessary Python libraries (specified in requirements.txt)

Getting Started

For clear instruction refer to the blog

  1. Clone this repository to your local machine:

    git clone https://github.com/4N1Z/hotel-booking-bot
    cd hotel-booking-bot
  2. Install the required Python packages:

    pip install -r requirements.txt
  3. Add your Cohere API key and Qdrant API_key in secrets.toml

    COHERE_API_KEY = "<add_your_api_key>"
    QDRANT_HOST = "<QDRANT_URL>"
    QDRANT_API_KEY = "QDRANT_API_KEY" 
      
  4. Run the database file first

    python run dbCheck.py
    
  5. Run the Streamlit app:

    streamlit run app.py
  6. Access the chatbot in your web browser at http://localhost:8501.

Usage

  • Start a conversation with the chatbot by typing your questions or commands into the chat input field.

  • The chatbot will respond with relevant information and assistance related to hotel bookings.

Contributing

Contributions are welcome! If you have any ideas, bug fixes, or improvements to the chatbot, please feel free to submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

  • Special thanks to the Langchain, Qdrant, Cohere and Streamlit team for providing a user-friendly framework for building web applications with Python.

hotel-booking-bot's People

Contributors

4n1z avatar kivilaid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.