AzureOpenAIModelFactory.StreamingChatCompletionsUpdate 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.
public static Azure.AI.OpenAI.StreamingChatCompletionsUpdate StreamingChatCompletionsUpdate (string id, string model, DateTimeOffset created, string systemFingerprint, int? choiceIndex = default, Azure.AI.OpenAI.ChatRole? role = default, string authorName = default, string contentUpdate = default, Azure.AI.OpenAI.ChatChoiceLogProbabilityInfo logProbabilityInfo = default, Azure.AI.OpenAI.CompletionsFinishReason? finishReason = default, string functionName = default, string functionArgumentsUpdate = default, Azure.AI.OpenAI.StreamingToolCallUpdate toolCallUpdate = default, Azure.AI.OpenAI.AzureChatExtensionsMessageContext azureExtensionsContext = default);
static member StreamingChatCompletionsUpdate : string * string * DateTimeOffset * string * Nullable<int> * Nullable<Azure.AI.OpenAI.ChatRole> * string * string * Azure.AI.OpenAI.ChatChoiceLogProbabilityInfo * Nullable<Azure.AI.OpenAI.CompletionsFinishReason> * string * string * Azure.AI.OpenAI.StreamingToolCallUpdate * Azure.AI.OpenAI.AzureChatExtensionsMessageContext -> Azure.AI.OpenAI.StreamingChatCompletionsUpdate
Public Shared Function StreamingChatCompletionsUpdate (id As String, model As String, created As DateTimeOffset, systemFingerprint As String, Optional choiceIndex As Nullable(Of Integer) = Nothing, Optional role As Nullable(Of ChatRole) = Nothing, Optional authorName As String = Nothing, Optional contentUpdate As String = Nothing, Optional logProbabilityInfo As ChatChoiceLogProbabilityInfo = Nothing, Optional finishReason As Nullable(Of CompletionsFinishReason) = Nothing, Optional functionName As String = Nothing, Optional functionArgumentsUpdate As String = Nothing, Optional toolCallUpdate As StreamingToolCallUpdate = Nothing, Optional azureExtensionsContext As AzureChatExtensionsMessageContext = Nothing) As StreamingChatCompletionsUpdate
Parameters
- id
- String
- model
- String
- created
- DateTimeOffset
- systemFingerprint
- String
- authorName
- String
- contentUpdate
- String
- logProbabilityInfo
- ChatChoiceLogProbabilityInfo
- finishReason
- Nullable<CompletionsFinishReason>
- functionName
- String
- functionArgumentsUpdate
- String
- toolCallUpdate
- StreamingToolCallUpdate
- azureExtensionsContext
- AzureChatExtensionsMessageContext
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for