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

Undefined array key "file_id" #116

Open
ckefalianou opened this issue Jul 25, 2024 · 1 comment
Open

Undefined array key "file_id" #116

ckefalianou opened this issue Jul 25, 2024 · 1 comment

Comments

@ckefalianou
Copy link

ckefalianou commented Jul 25, 2024

I am using the library, sending a text and some image_url as content.
After retrieving the Assistant, creating a Thread, I create a Message:

[ 'role' => 'user', 'content' => [ [ 'type' => 'text', 'text' => $prompt['title'] ], [ 'type' => 'image_url', 'image_url' => [ 'url' => $photo[0]->large, 'detail' => 'high', ], ], [ 'type' => 'image_url', 'image_url' => [ 'url' => $photo[1]->large, 'detail' => 'high', ], ], ] ];

Thank you in advance!

@elephantux
Copy link

Did you solve this?

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

No branches or pull requests

2 participants