-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
func NewImageMessageObjectByURL(fileURL string) *MessageObjectString {
return &MessageObjectString{
Type: MessageObjectStringTypeImage,
FileURL: fileURL,
}
}
在这里,只传入类型是图片,和地址。但我看官方支持这样的。
"additional_messages":[
{
"role":"user",
"content":"[{"type":"image","file_url":"https://lf-bot-studio-plugin-resource.coze.cn/obj/bot-studio-platform-plugin-tos/artist/image/4ca71a5f55d54efc95ed9c06e019ff4b.png"},{"type":"text","text":"帮我看看这张图片里都有什么"}]",
"content_type":"object_string"
}
]
这里可以针对这个图片,说明我想要干什么,但上面的传入是不是不支持这个?
希望大佬 回答一下。
Metadata
Metadata
Assignees
Labels
No labels