mirror of
https://github.com/LukeHagar/log10go.git
synced 2025-12-06 04:20:12 +00:00
6.9 KiB
6.9 KiB
ChatCompletionRequestAssistantMessage
Fields
| Field | Type | Required | Description |
|---|---|---|---|
Content |
*string | ➖ | The contents of the assistant message. Required unless tool_calls or function_call is specified. |
Role |
components.ChatCompletionRequestAssistantMessageRole | ✔️ | The role of the messages author, in this case assistant. |
Name |
*string | ➖ | An optional name for the participant. Provides the model information to differentiate between participants of the same role. |
ToolCalls |
[]components.ChatCompletionMessageToolCall | ➖ | The tool calls generated by the model, such as function calls. |
FunctionCall |
*components.FunctionCall | ➖ | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. Deprecated and replaced by tool_calls. The name and arguments of a function that should be called, as generated by the model. |