第三方模型如何配置图片输入? #210584
Replies: 3 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
你好!配置第三方多模态大模型的图片输入时,主流格式均遵循 OpenAI Vision API 标准规范: {
"model": "your-model-name",
"messages": [
{
"role": "user",
"content": [
{ "type": "text", "text": "请描述这张图片" },
{
"type": "image_url",
"image_url": {
"url": "data:image/jpeg;base64,{BASE64_DATA}"
}
}
]
}
]
}确保传入的是公开可访问的 HTTPS 图片链接或标准的 Base64 编码即可。 |
|
Hi @DURKOO, thanks for participating! Unfortunately, we don’t currently have moderators for languages other than English. Until that changes, we need to ask that everyone use English here in the GitHub Community when posting to ensure discussions are adhering to our Code of Conduct. We’ll be closing and locking this post for now, but please feel encouraged to create a new discussion in English if you still need support. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
demenson接入的第三方模型,如何配置模型图片输入功能?
All reactions