mirror of
https://github.com/LukeHagar/log10go.git
synced 2025-12-09 20:47:49 +00:00
13 lines
6.0 KiB
Markdown
13 lines
6.0 KiB
Markdown
# ChatCompletionResponseMessage
|
|
|
|
A chat completion message generated by the model.
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `Content` | *string* | :heavy_check_mark: | The contents of the message. |
|
|
| `ToolCalls` | [][components.ChatCompletionMessageToolCall](../../models/components/chatcompletionmessagetoolcall.md) | :heavy_minus_sign: | The tool calls generated by the model, such as function calls. |
|
|
| `Role` | [components.ChatCompletionResponseMessageRole](../../models/components/chatcompletionresponsemessagerole.md) | :heavy_check_mark: | The role of the author of this message. |
|
|
| ~~`FunctionCall`~~ | [*components.ChatCompletionResponseMessageFunctionCall](../../models/components/chatcompletionresponsemessagefunctioncall.md) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.<br/><br/>Deprecated and replaced by `tool_calls`. The name and arguments of a function that should be called, as generated by the model. | |