AIInferenceModelFactory.StreamingChatResponseMessageUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StreamingChatResponseMessageUpdate.
public static Azure.AI.Inference.StreamingChatResponseMessageUpdate StreamingChatResponseMessageUpdate (Azure.AI.Inference.ChatRole? role = default, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.Inference.StreamingChatResponseToolCallUpdate> toolCalls = default);
static member StreamingChatResponseMessageUpdate : Nullable<Azure.AI.Inference.ChatRole> * string * seq<Azure.AI.Inference.StreamingChatResponseToolCallUpdate> -> Azure.AI.Inference.StreamingChatResponseMessageUpdate
Public Shared Function StreamingChatResponseMessageUpdate (Optional role As Nullable(Of ChatRole) = Nothing, Optional content As String = Nothing, Optional toolCalls As IEnumerable(Of StreamingChatResponseToolCallUpdate) = Nothing) As StreamingChatResponseMessageUpdate
Parameters
The chat role associated with the message. If present, should always be 'assistant'.
- content
- String
The content of the message.
- toolCalls
- IEnumerable<StreamingChatResponseToolCallUpdate>
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.
Returns
A new StreamingChatResponseMessageUpdate instance for mocking.
Applies to
Azure SDK for .NET