ChatCompletionMessage#
- class nemo_microservices.types.shared.ChatCompletionMessage(*args: Any, **kwargs: Any)
Bases:
BaseModel- content: str | None = None
The contents of the message.
- function_call: FunctionCall | None = None
Deprecated and replaced by tool_calls.
The name and arguments of a function that should be called, as generated by the model.
- role: str | None = None
The role of the author of this message.
- tool_calls: List[ChatCompletionMessageToolCall] | None = None
The tool calls generated by the model, such as function calls.