1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
| { "tools": [ { "function": { "description": "返回维修的详细信息和图片列表", "name": "RepairePlugin-listRepairs", "strict": false, "parameters": { "type": "object", "required": [], "properties": { "assignedTo": { "type": "string" } } } }, "type": "function" }, { "function": { "description": "添加具有给定详细信息和图片 URL 的新维修到列表中", "name": "RepairePlugin-createRepair", "strict": false, "parameters": { "type": "object", "required": [ "title", "description", "assignedTo" ], "properties": { "title": { "type": "string", "description": "维修的简短摘要" }, "description": { "type": "string", "description": "维修的详细描述" }, "assignedTo": { "type": "string", "description": "负责维修的用户" }, "date": { "type": "string", "description": "维修计划或完成的日期和时间(可选)", "format": "date-time" }, "image": { "type": "string", "description": "要维修的物品或维修过程的图片 URL", "format": "uri" } } } }, "type": "function" }, { "function": { "description": "使用新的更新详细信息和图片 URL 更新现有维修", "name": "RepairePlugin-updateRepair", "strict": false, "parameters": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer", "description": "要更新的维修的唯一标识符" }, "title": { "type": "string", "description": "维修的简短摘要" }, "description": { "type": "string", "description": "维修的详细描述" }, "assignedTo": { "type": "string", "description": "负责维修的用户" }, "date": { "type": "string", "description": "维修计划或完成的日期和时间", "format": "date-time" }, "image": { "type": "string", "description": "要维修的物品或维修过程的图片 URL", "format": "uri" } } } }, "type": "function" }, { "function": { "description": "使用其 ID 从列表中删除现有维修", "name": "RepairePlugin-deleteRepair", "strict": false, "parameters": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "integer", "description": "要删除的维修的唯一标识符" } } } }, "type": "function" } ], "messages": [ { "role": "user", "content": "创建一个新的维修工单并分配给小明:添加一个16g的内存条" } ], "model": "gpt-4o", "tool_choice": "auto" }
|