|
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:
|
Answered by
boyangsvl
May 3, 2025
Replies: 2 comments
|
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 |
0 replies
Answer selected by
boyangsvl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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