Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 840 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 840 Bytes

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