Delete multi_modal_data.json
Browse files- multi_modal_data.json +0 -123
multi_modal_data.json
DELETED
|
@@ -1,123 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"tools": [
|
| 3 |
-
{
|
| 4 |
-
"type": "function",
|
| 5 |
-
"function": {
|
| 6 |
-
"name": "crop",
|
| 7 |
-
"description": "根据 bounding box 裁剪图片中的区域,坐标范围统一为 0-1000",
|
| 8 |
-
"parameters": {
|
| 9 |
-
"type": "object",
|
| 10 |
-
"properties": {
|
| 11 |
-
"image_index": {
|
| 12 |
-
"type": "integer",
|
| 13 |
-
"description": "输入图片 index"
|
| 14 |
-
},
|
| 15 |
-
"bbox": {
|
| 16 |
-
"type": "array",
|
| 17 |
-
"description": "[x1, y1, x2, y2],范围 0-1000",
|
| 18 |
-
"items": { "type": "integer" },
|
| 19 |
-
"minItems": 4,
|
| 20 |
-
"maxItems": 4
|
| 21 |
-
}
|
| 22 |
-
},
|
| 23 |
-
"required": ["image_index", "bbox"]
|
| 24 |
-
}
|
| 25 |
-
}
|
| 26 |
-
},
|
| 27 |
-
{
|
| 28 |
-
"type": "function",
|
| 29 |
-
"function": {
|
| 30 |
-
"name": "search",
|
| 31 |
-
"description": "根据图片进行图像搜索,识别品牌或物体",
|
| 32 |
-
"parameters": {
|
| 33 |
-
"type": "object",
|
| 34 |
-
"properties": {
|
| 35 |
-
"image_index": {
|
| 36 |
-
"type": "integer",
|
| 37 |
-
"description": "用于搜索的图片 index"
|
| 38 |
-
}
|
| 39 |
-
},
|
| 40 |
-
"required": ["image_index"]
|
| 41 |
-
}
|
| 42 |
-
}
|
| 43 |
-
}
|
| 44 |
-
],
|
| 45 |
-
"messages": [
|
| 46 |
-
{
|
| 47 |
-
"role": "system",
|
| 48 |
-
"content": "You are a helpful assistant."
|
| 49 |
-
},
|
| 50 |
-
{
|
| 51 |
-
"role": "user",
|
| 52 |
-
"content": [
|
| 53 |
-
{
|
| 54 |
-
"type": "image",
|
| 55 |
-
"image_url":
|
| 56 |
-
{
|
| 57 |
-
"url": "https://example.com/user_upload/public_square_people.jpg"
|
| 58 |
-
}
|
| 59 |
-
},
|
| 60 |
-
{
|
| 61 |
-
"type": "text",
|
| 62 |
-
"text": "广场里有个穿着花衬衫的人手上戴了一块手表,我想知道这是什么品牌。"
|
| 63 |
-
}
|
| 64 |
-
]
|
| 65 |
-
},
|
| 66 |
-
{
|
| 67 |
-
"role": "assistant",
|
| 68 |
-
"reasoning_content": "图片是一个广场场景,人物很多,手表在原图中很小。为了识别手表品牌,需要先裁剪出穿着花衬衫的人手腕区域,再使用图像搜索识别手表。",
|
| 69 |
-
"tool_calls": [
|
| 70 |
-
{
|
| 71 |
-
"id": "call_001",
|
| 72 |
-
"type": "function",
|
| 73 |
-
"function": {
|
| 74 |
-
"name": "crop",
|
| 75 |
-
"arguments": "{\"image_index\": 0, \"bbox\": [610, 420, 720, 560]}"
|
| 76 |
-
}
|
| 77 |
-
}
|
| 78 |
-
]
|
| 79 |
-
},
|
| 80 |
-
{
|
| 81 |
-
"role": "tool",
|
| 82 |
-
"tool_call_id": "call_001",
|
| 83 |
-
"content": [
|
| 84 |
-
{
|
| 85 |
-
"type": "image",
|
| 86 |
-
"image_url":
|
| 87 |
-
{
|
| 88 |
-
"url": "https://example.com/user_upload/public_square_people.jpg"
|
| 89 |
-
}
|
| 90 |
-
}
|
| 91 |
-
]
|
| 92 |
-
},
|
| 93 |
-
{
|
| 94 |
-
"role": "assistant",
|
| 95 |
-
"reasoning_content": "现在已经获得裁剪后的手表图片(新的 image index = 1),可以使用图像搜索识别手表品牌。",
|
| 96 |
-
"tool_calls": [
|
| 97 |
-
{
|
| 98 |
-
"id": "call_002",
|
| 99 |
-
"type": "function",
|
| 100 |
-
"function": {
|
| 101 |
-
"name": "search",
|
| 102 |
-
"arguments": "{\"image_index\": 1}"
|
| 103 |
-
}
|
| 104 |
-
}
|
| 105 |
-
]
|
| 106 |
-
},
|
| 107 |
-
{
|
| 108 |
-
"role": "tool",
|
| 109 |
-
"tool_call_id": "call_002",
|
| 110 |
-
"content": "{\"brand\": \"Omega\", \"model\": \"Speedmaster Professional\", \"confidence\": 0.87}"
|
| 111 |
-
},
|
| 112 |
-
{
|
| 113 |
-
"role": "assistant",
|
| 114 |
-
"reasoning_content": "通过裁剪手表区域并进行图像搜索,识别出品牌和型号。",
|
| 115 |
-
"content": [
|
| 116 |
-
{
|
| 117 |
-
"type": "text",
|
| 118 |
-
"text": "我先从原图中裁剪出了手腕上的手表区域,然后使用图像搜索进行了识别。\n\n结果显示,这块手表很可能是 **Omega(欧米茄)Speedmaster Professional**。\n\n它的典型特征包括黑色表盘和三眼计时布局,这些特征与 Speedmaster 系列高度匹配。"
|
| 119 |
-
}
|
| 120 |
-
]
|
| 121 |
-
}
|
| 122 |
-
]
|
| 123 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|