Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google ADK and large datasets

I have been experimenting with the Google Agent Development Kit and I absolutely love it. One thing I've been struggling with is how to operate on data that is too large to fit into a prompt. For example, I have an agent that uses a tool to get the schema of the large dataset and then builds code to process the dataset. I would like to be able to have the large dataset loaded into the execution environment without it being passed around in a prompt. How do I accomplish this? As a workaround, I have an agent that updates any python code generated to load the source data from a bucket, but this seems hacky. Ideally I could pass a reference to the bucket object in the session data and have it loaded into memory inside an execution environment.

1 1 483
1 REPLY 1