sagentic-ai / sagentic-af

😎 Sagentic.ai Agent Framework - Sagentic.ai is a unified platform for building, running and scaling autonomous agents.
https://sagentic.ai
MIT License
66 stars 5 forks source link

Vision API support: handle image messages #11

Closed xiv-bazed-ai closed 9 months ago

xiv-bazed-ai commented 9 months ago

Related to Issue #10

It's now possible to append image URLs that will be treated properly by gpt4-vision-preview.

For example:

thread = thread.appendUserImage("https://bazed.ai/bazed.png", { detail: "high" })

Images can be appended to plain-text messages, the receiving interaction will be auto-promoted.