Replies: 1 comment
|
Is it similar to this? If multi agent, someone mentioned the problem |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I would like to return an image as a result of my custom tool so that LLM can analyze it.
It seems that the key is to specify
type="image_url"andimage_urlwith url or base64 inline data:https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/gpt-with-vision?tabs=python
Here's an example how it can be done in langchain:
https://github.com/langchain-ai/langgraph/discussions/4384#discussioncomment-12931351
All reactions