Skip to content

Recommended way to handle files not directly supported by Gemini #1751

Description

@vikramsg

Currently I have a requirement to be able to read .xlsx files. However this is not supported by Gemini so if I follow the usual workflow either by passing in as an artifact or directly in prompt, ADK errors out.
https://ai.google.dev/gemini-api/docs/document-processing?lang=python#technical-details

The workaround is that I create tools to be able to read excel files and pass it back to the agent, however the issue is that this workaround doesn't quite work on adk web. I have to separate out file handling from the Agent.

What is the recommended way to tackle this issue? I want to be able to both use it as a workflow from the command line as well as in adk web.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

question[Component] This issue is asking a question or clarification

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions