StreamingChatCompletionsUpdate Class
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.
Represents an incremental update to a streamed Chat Completions response.
public class StreamingChatCompletionsUpdate
type StreamingChatCompletionsUpdate = class
Public Class StreamingChatCompletionsUpdate
- Inheritance
-
StreamingChatCompletionsUpdate
Properties
AuthorName |
Gets an optional name associated with the role of the streamed Chat Completion, typically as previously specified in a system message. |
AzureExtensionsContext |
Gets additional data associated with this update that is specific to use with Azure OpenAI and that service's extended capabilities. |
ChoiceIndex |
Gets the choice index associated with this streamed update. |
ContentUpdate |
Gets the content fragment associated with this update. |
Created |
Gets the first timestamp associated with generation activity for this completions response, represented as seconds since the beginning of the Unix epoch of 00:00 on 1 Jan 1970. |
FinishReason |
Gets the CompletionsFinishReason associated with this update. |
FunctionArgumentsUpdate |
Gets a function arguments fragment associated with this update. |
FunctionName |
Gets the name of a function to be called. |
Id |
Gets a unique identifier associated with this streamed Chat Completions response. |
LogProbabilityInfo |
Gets the log probability information associated with the content of this update, as requested by providing values for EnableLogProbabilities and LogProbabilitiesPerToken in the request. |
Model |
The model name used for this completions request. |
Role |
Gets the ChatRole associated with this update. |
SystemFingerprint |
Can be used in conjunction with the |
ToolCallUpdate |
An incremental update payload for a tool call that is part of this response. |
Applies to
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