AIInferenceModelFactory.StreamingChatChoiceUpdate 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 StreamingChatChoiceUpdate.
public static Azure.AI.Inference.StreamingChatChoiceUpdate StreamingChatChoiceUpdate (int index = 0, Azure.AI.Inference.CompletionsFinishReason? finishReason = default, Azure.AI.Inference.StreamingChatResponseMessageUpdate delta = default);
static member StreamingChatChoiceUpdate : int * Nullable<Azure.AI.Inference.CompletionsFinishReason> * Azure.AI.Inference.StreamingChatResponseMessageUpdate -> Azure.AI.Inference.StreamingChatChoiceUpdate
Public Shared Function StreamingChatChoiceUpdate (Optional index As Integer = 0, Optional finishReason As Nullable(Of CompletionsFinishReason) = Nothing, Optional delta As StreamingChatResponseMessageUpdate = Nothing) As StreamingChatChoiceUpdate
Parameters
- index
- Int32
The ordered index associated with this chat completions choice.
- finishReason
- Nullable<CompletionsFinishReason>
The reason that this chat completions choice completed its generated.
An update to the chat message for a given chat completions prompt.
Returns
A new StreamingChatChoiceUpdate instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET