This module contains the code to run the simple hotel planning chatbot using Functionary and external APIs. The tutorial is provided here.
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.
- Follow Functionary's installation and set up a vLLM server with any Functionary model.
- Install this module's dependencies
pip install -r requirements.txt
- Export your RapidAPI API key as an environment variable.
export RAPIDAPI_KEY=your_rapidapi_key
- Run the main script with the same model name as what you are using for the vLLM server.
python main.py model_name