Closed MaxiDonkey closed 10 months ago
Hi. Thanks, but I have already implemented this)) Check it)
I'm sorry but I can't find any TMessageContent class after searching all units. So I can't reproduce your example. Am I missing something? My approach was to reproduce the examples given here https://platform.openai.com/docs/guides/vision
You need to update the library from the repository. I updated literally the moment I responded to issue
This version does not take Vision into account. Here is some sample code to support this.
Add the OpenAI.Vision.Images unit to manage images to send to the model for analysis.
So modify OpenAI.chat unit to support Vision.
To use Vision: Example 1: Using a link to the image to process
Example 2: By uploading the image with the query
if the Image1 component is the VCL component