This project is a Python script that uses the Sydney Client to interact with OpenAI's Sydney API. It supports sending image prompts by uploading local files or providing URLs.
- Interact with the Sydney API using text prompts.
- Send image prompts by uploading a local file or providing a URL.
- Display responses from Sydney in the terminal with Markdown formatting.
- Python 3.7 or higher
rich
library for rendering Markdown in the terminalsydney-py
library for interacting with the Sydney aka Bing's APItkinter
library for showing a file picker dialog
- Git clone this repository and go to the folder.
- Run the script in your terminal:
python chatsydney_full.py
Enter a text prompt to send to Sydney. For example:
User: Tell me a joke.
If you want to send an image prompt, start your input with !image, followed by the URL or local file path of the image, and then the text prompt. For example:
User: !image https://example.com/image.jpg What animal is this?
If you don’t provide a URL after !image, the script will show a file picker dialog for you to select a local file.
The script will display Sydney’s response in the terminal with Markdown formatting.
Other commands:
!context
(works much as the !image above)
!reset
!exit