Files
log10py/docs/models/components/chatcompletionresponsemessage.md
Niklas Nielsen ebd24efca7 Initial commit
2024-05-24 19:20:08 -07:00

6.0 KiB
Raw Permalink Blame History

ChatCompletionResponseMessage

A chat completion message generated by the model.

Fields

Field Type Required Description
content Optional[str] ✔️ The contents of the message.
role components.ChatCompletionResponseMessageRole ✔️ The role of the author of this message.
tool_calls List[components.ChatCompletionMessageToolCall] The tool calls generated by the model, such as function calls.
function_call Optional[components.ChatCompletionResponseMessageFunctionCall] : 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.