Open
Description
Description
There isn't a good way to tag BinaryContent with metadata. For example, I might want to do
result = agent.run_sync(
[
'What company is this logo from?',
BinaryContent(
data=image_response.content,
media_type='image/png',
src='https://iili.io/3Hs4FMg.png',
),
]
)
I'm trying to figure out a good way to specify as a tool argument which binary object the tool should act upon. If there is a src field, than the tool can scan for the associated data.
Maybe there is a more direct way to do this??
References
No response