Skip to content

Latest commit

 

History

History

hotel_planning

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Hotel Planning Chatbot with Functionary and external APIs

This module contains the code to run the simple hotel planning chatbot using Functionary and external APIs. The tutorial is provided here.

Prerequisite

This module requires subscription for RapidAPI's Hotels-com-provider APIs. Please follow this section of the tutorial to sign up for a RapidAPI account and to subscribe to the APIs.

Installation and Get Started

  1. Follow Functionary's installation and set up a vLLM server with any Functionary model.
  2. Install this module's dependencies
pip install -r requirements.txt
  1. Export your RapidAPI API key as an environment variable.
export RAPIDAPI_KEY=your_rapidapi_key
  1. Run the main script with the same model name as what you are using for the vLLM server.
python main.py model_name