Created
April 22, 2024 15:55
-
-
Save ahmednuaman/4f2070773de3fad5efda44a2ea61e6c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
content: [ | |
{ | |
source: { | |
data: imageData, | |
media_type: 'image/jpeg', | |
type: 'base64' | |
}, | |
type: 'image' | |
}, | |
{ | |
text: `Return your response as the following JSON: | |
{ | |
"description": "Please describe the objects in this image and if there's any damage" | |
}`, | |
type: 'text' | |
} | |
], | |
role: 'user' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment