arcanaxion / demo-gpt-4o

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 80.9%Language:CSS 19.1%