Skip to content

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

@JoshuaSiraj

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?

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