Skip to content

A Taipy Chatbot that supports images thanks to OpenAI's GPT-4o

Notifications You must be signed in to change notification settings

Avaiga/demo-gpt-4o

Repository files navigation

Taipy Vision Chat Demo

App Screenshot

A simple app to chat with GPT-4o and send images.

This particular app uses OpenAI's GPT-4o API to generate responses to your messages. You can easily change the code to use any other API or model.

How to Use

You need an OpenAI account with an active API key

  1. Clone this repo:
git clone https://github.com/Avaiga/demo-gpt-4o.git
  1. Install dependencies:
pip install -r requirements.txt
  1. Create a .env file in the root directory with the following content:
OPENAI_API_KEY=[YOUR_OPENAI_API_KEY]
  1. Run the app:
python main.py