Sdílet prostřednictvím


StreamingChatCompletionUpdateExtensions Class

Definition

Provides extension methods for working with StreamingChatCompletionUpdate instances.

public ref class StreamingChatCompletionUpdateExtensions abstract sealed
public static class StreamingChatCompletionUpdateExtensions
type StreamingChatCompletionUpdateExtensions = class
Public Module StreamingChatCompletionUpdateExtensions
Inheritance
StreamingChatCompletionUpdateExtensions

Methods

ToChatCompletion(IEnumerable<StreamingChatCompletionUpdate>, Boolean)

Combines StreamingChatCompletionUpdate instances into a single ChatCompletion.

ToChatCompletionAsync(IAsyncEnumerable<StreamingChatCompletionUpdate>, Boolean, CancellationToken)

Combines StreamingChatCompletionUpdate instances into a single ChatCompletion.

Applies to