vsakkas/sydney.py

Adding “Upload file” support

Opened this issue · 2 comments

Adding “Upload file” support

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

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
            )