Skip to content

Question: Best way to pass an image to Agent with a tool #2955

Description

@JoshuaSiraj

I'm looking to have a tool do something like this:

def load_image(path: str) -> str:
    return Path(path).read_bytes()

What is the best way to do this?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions