Skip to content

dakshkanaujia/hotel-booking-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Hotel Room Booking Agent ChatBot using OPEN AI API

Installation

Instructions on how to install and set up the project.

# Command to run backend
git clone https://github.com/dakshkanaujia/hotel-booking-chatbot.git
cd backend
npm install
npm install -d nodemon cors express openai sqlite sequelize dotenv
npz nodemon src/app.js

Using postman we can make POST request,

first we have to create a .env file, and give API_KEY declaration then also define a PORT example

PORT = 8003
API_KEY = "sk-pro-**"

Endpoints Example

#endpoint
http://localhost:8003/chat

#req body example
{
    "sessionId" : 1,
    "Role" : "user",
    "Content" : "Hello, how are you"
}

Working model video via postman

Watch the Video here!...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published