ChatChoice

ChatChoice
ChatChoice
JSON Example
{
    "index": 0,
    "message": {
        "role": "string",
        "content": "string",
        "tool_calls": [
            {
                "id": "string",
                "type": "string",
                "function": {
                    "name": "string",
                    "arguments": "string"
                }
            }
        ]
    },
    "finish_reason": "string"
}
integer
index
Required

index

message
Required

message

string
finish_reason
Optional

finish_reason