This project uses the Langchain library to build a bot within a Streamlit framework, this project is a quick and dirty implementation, which serves as my first encounter with Langchain. The Trip-Planner Bot is an interactive tool for accessing geographic information, identifying points of interest, and getting travel routes with customizable waypoints and transportation modes.
The Trip-Planner Bot uses some free APIs that provide geographical information to the LLM. Below are the key functionalities offered by this application:
This project harnesses the capabilities of several external APIs to furnish its core functionalities:
The LLM used here is OpenAI's gpt-3.5-turbo, it can replaced with any other open-source LLM. To deploy the app on google-colab you can have a look at my other repo
To run the Trip-Planner Bot locally, you need to:
pip install -r requirements.txtstreamlit run main.pyEnsure you have valid API keys for OpenAI, Bing Maps, and FourSquare configured in your environment.
Contributions are welcome! If you have ideas for improvements or encounter any issues, please feel free to fork the repository and submit a pull request or open an issue.
A video to show how the chatbot responds to different prompts of the user.
Please give a star to this repo, if it helps you in any way, thanks!!