ChatRequestAssistantMessage interface
A request chat message representing response or action from the assistant.
- Extends
Properties
content | The content of the message. |
function |
The function call that must be resolved and have its output appended to subsequent input messages for the chat completions request to resolve as configured. |
name | An optional name for the participant. |
role | The chat role associated with this message, which is always 'assistant' for assistant messages. |
tool |
The tool calls that must be resolved and have their outputs appended to subsequent input messages for the chat completions request to resolve as configured. |
Property Details
content
The content of the message.
content: null | string
Property Value
null | string
functionCall
The function call that must be resolved and have its output appended to subsequent input messages for the chat completions request to resolve as configured.
functionCall?: FunctionCall
Property Value
name
An optional name for the participant.
name?: string
Property Value
string
role
The chat role associated with this message, which is always 'assistant' for assistant messages.
role: "assistant"
Property Value
"assistant"
toolCalls
The tool calls that must be resolved and have their outputs appended to subsequent input messages for the chat completions request to resolve as configured.
toolCalls?: ChatCompletionsToolCallUnion[]
Property Value
Azure SDK for JavaScript