https://github.com/avaiga/demo-gpt-4o
A Taipy Chatbot that supports images thanks to OpenAI's GPT-4o
https://github.com/avaiga/demo-gpt-4o
Last synced: 7 months ago
JSON representation
A Taipy Chatbot that supports images thanks to OpenAI's GPT-4o
- Host: GitHub
- URL: https://github.com/avaiga/demo-gpt-4o
- Owner: Avaiga
- Created: 2024-05-28T11:40:39.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-09-12T06:58:36.000Z (about 1 year ago)
- Last Synced: 2024-09-12T16:32:44.681Z (about 1 year ago)
- Language: Python
- Size: 2.56 MB
- Stars: 11
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Taipy Vision Chat Demo
![]()
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:
```bash
git clone https://github.com/Avaiga/demo-gpt-4o.git
```2. Install dependencies:
```bash
pip install -r requirements.txt
```3. Create a `.env` file in the root directory with the following content:
```bash
OPENAI_API_KEY=[YOUR_OPENAI_API_KEY]
```4. Run the app:
```bash
python main.py
```