The multi-modal chatbot I crafted is backed by an agent that uses three tools:
- REST Countries API Chain: enables retrieving information on countries, invoking Rest countries API
- DALL·E 3 Image Generator: Generates an image of countries based on the country name
- Google Search Tool: Useful for fetching information from the web
Clone the repository, set up the virtual environment, and install the required packages
-
git clone git@github.com:nirbar1985/country-compass-ai.git
-
( In case you have python version 3.11.4 installed in pyenv)
pyenv local 3.11.4
-
Install dependencies
poetry install
-
Enter virtual env by:
poetry shell
- Create .env file
- Place your OPENAI_API_KEY into .env file
- Place your SERPAPI_API_KEY into .env file
streamlit run chatbot_ui.py
Distributed under the MIT License. See LICENSE.txt for more information.