ChatCompletionAssistantMessageParam#

class nemo_microservices.types.shared.ChatCompletionAssistantMessageParam(*args: Any, **kwargs: Any)

Bases: BaseModel

role: Literal['assistant']

The role of the messages author, in this case assistant.

content: str | None = None

The contents of the assistant message.

function_call: FunctionCall | None = None

Deprecated and replaced by tool_calls.

name: str | None = None

An optional name for the participant.

tool_calls: List[ChatCompletionMessageToolCallParam] | None = None

The tool calls generated by the model, such as function calls.