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

not support img #4

Open
ywgx opened this issue Aug 8, 2024 · 1 comment
Open

not support img #4

ywgx opened this issue Aug 8, 2024 · 1 comment

Comments

@ywgx
Copy link

ywgx commented Aug 8, 2024

curl -i http://127.0.0.1:6600/v1/chat/completions
-H "Content-Type: application/json"
-H "Authorization: Bearer $OPENAI_API_KEY"
-d '{
"model": "claude-3.5-sonnet",
"stream_options": { "include_usage": true },
"stream": true,
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "What'''s in this image?"
},
{
"type": "image_url",
"image_url": {
"url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
}
}
]
}
],
"max_tokens": 300
}'

}

@missuo
Copy link
Owner

missuo commented Aug 12, 2024

Yes, this feature is currently not supported in the project, but we may consider adding it in the future. Please stay tuned.

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