- 有时候会返回不正确的json格式数据,我的这个函数中不存在id字段,但参数中返回多了id。
{
"content": "",
"role": "assistant",
"tool_calls": [
{
"function": {
"arguments": " {\"comcode\": \"17496524645454\", \"key\": \"x\", \"val\": 0}, \"id",
"name": "DataV-design-uiset"
},
"id": "call_8pj7mas6uako04oh8esh1215",
"type": "function"
}
]
}
- 最后返回的choices为什么是stop状态,并且message.content中存放参数的值,且json格式不规范。
{
"finish_reason": "stop",
"index": 0,
"logprobs": null,
"message": {
"content": "\n{\"name\": \"DataV-design-direct-save\"}\n]",
"role": "assistant"
}
}