Creates a chat record.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Query |
string |
Yes |
The session query. Get this value from the return value of the "Start a digital human" API. |
c4d242f3-c909-4846-91d9-f84c238a9820 |
| SessionId |
string |
No |
The session ID. Get this value from the return value of the "Start a digital human" API. |
c4d242f3-c909-4846-91d9-f84c238a9820 |
| Source |
string |
No |
The product type source. Valid value: polardb-console. |
polardb-console |
| ExtraInfo |
string |
No |
Additional information, as a JSON string. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Content |
string |
Id of the request |
QZ-13661677-80 |
| RequestId |
string |
The request ID. |
34458CD3-33E0-4624-BFEF-840C15****** |
| ReasoningContent |
string |
The model's reasoning content. |
xxxx |
| Product |
string |
The cloud product type. |
polardb |
| FunctionCall |
array<object> |
Indicates whether FunctionCall is supported. |
|
|
object |
Indicates whether FunctionCall is supported. |
||
| Name |
string |
The rule name. |
rule04 |
| Arguments |
string |
The operation-related output result. |
---narguments:n parameters: []n |
| Id |
string |
The quota ID. |
393 |
| Status |
string |
The status. |
xxx |
| UiFunctionCall |
array<object> |
Indicates whether UiFunctionCall is supported. |
|
|
object |
Indicates whether UiFunctionCall is supported. |
||
| ArgsText |
string |
xxx |
xxx |
| ToolName |
string |
The tool command that is invoked. |
xxx |
| SessionId |
string |
The session ID for code execution. |
40315d708f0806903b08813bf4c9db2e |
| QueryId |
string |
The ID of the user query pipeline task. |
2548026401648157601743560466154 |
Examples
Success response
JSON format
{
"Content": "QZ-13661677-80",
"RequestId": "34458CD3-33E0-4624-BFEF-840C15******",
"ReasoningContent": "xxxx",
"Product": "polardb",
"FunctionCall": [
{
"Name": "rule04",
"Arguments": "---narguments:n parameters: []n",
"Id": "393",
"Status": "xxx"
}
],
"UiFunctionCall": [
{
"ArgsText": "xxx",
"ToolName": "xxx"
}
],
"SessionId": "40315d708f0806903b08813bf4c9db2e",
"QueryId": "2548026401648157601743560466154"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.