Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding “Upload file” support #161

Open
Newayys opened this issue Mar 25, 2024 · 2 comments
Open

Adding “Upload file” support #161

Newayys opened this issue Mar 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Newayys
Copy link

Newayys commented Mar 25, 2024

No description provided.

@ns-ffx
Copy link

ns-ffx commented Apr 4, 2024

That would be amazing for our ongoing project! Does anybody know if this feature is planned?

@vsakkas vsakkas self-assigned this May 11, 2024
@vsakkas vsakkas added the enhancement New feature or request label May 11, 2024
@vsakkas
Copy link
Owner

vsakkas commented May 11, 2024

Hi @ns-ffx @Newayys You should be able to provide a file using the attachment parameter. A short example:

 async with SydneyClient() as sydney:
            response = await sydney.ask(
                "What does this image show?", attachment=file_path
            )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants