nemo_microservices.types.shared.chat_completion_message#

Module Contents#

Classes#

API#

class nemo_microservices.types.shared.chat_completion_message.ChatCompletionMessage(/, **data: typing.Any)#

Bases: nemo_microservices._models.BaseModel

content: Optional[str]#

None

The contents of the message.

function_call: Optional[nemo_microservices.types.shared.function_call.FunctionCall]#

None

Deprecated and replaced by tool_calls.

The name and arguments of a function that should be called, as generated by the model.

role: Optional[str]#

None

The role of the author of this message.

tool_calls: Optional[List[nemo_microservices.types.shared.chat_completion_message_tool_call.ChatCompletionMessageToolCall]]#

None

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