[GH-ISSUE #53] 请问,如果问题中包含图片的话message的格式是怎么的,是否跟如下格式一样 #42

Closed
opened 2026-10-26 21:12:03 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @yangxin60-tal on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/53

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",
},
},
],
}
],

Originally created by @yangxin60-tal on GitHub (Jan 23, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/53 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", }, }, ], } ],
Author
Owner

@neteroster commented on GitHub (Jan 24, 2025):

R1 基于 V3,后者不支持原生图片模态输入,因此 R1 也不支持。

<!-- gh-comment-id:2612172819 --> @neteroster commented on GitHub (Jan 24, 2025): R1 基于 V3,后者不支持原生图片模态输入,因此 R1 也不支持。
Author
Owner

@mowentian commented on GitHub (Jan 26, 2025):

https://github.com/deepseek-ai/DeepSeek-V3/issues/339

<!-- gh-comment-id:2614159919 --> @mowentian commented on GitHub (Jan 26, 2025): https://github.com/deepseek-ai/DeepSeek-V3/issues/339
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-R1#42
No description provided.