-
I have a workflow whereby I retrieve a certain document from GCS, and then need to answer questions on this document with respect to a user query. How do I insert this image into the context of the LLM Agent? From my understanding:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@homiecal food you ever figure this out |
Beta Was this translation helpful? Give feedback.
-
You can use load_artifacts tool. Or look at its code and insert the file content yourself to the request: https://github.com/google/adk-python/blob/main/src/google/adk/tools/load_artifacts_tool.py |
Beta Was this translation helpful? Give feedback.
You can use load_artifacts tool. Or look at its code and insert the file content yourself to the request: https://github.com/google/adk-python/blob/main/src/google/adk/tools/load_artifacts_tool.py