Share via


StreamingKernelContent Constructors

Definition

Overloads

StreamingKernelContent()

Initializes a new instance of the StreamingKernelContent class.

StreamingKernelContent(Object, Int32, String, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the StreamingKernelContent class.

StreamingKernelContent()

Initializes a new instance of the StreamingKernelContent class.

protected StreamingKernelContent ();
Protected Sub New ()

Applies to

StreamingKernelContent(Object, Int32, String, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the StreamingKernelContent class.

protected StreamingKernelContent (object? innerContent, int choiceIndex = 0, string? modelId = default, System.Collections.Generic.IReadOnlyDictionary<string,object?>? metadata = default);
new Microsoft.SemanticKernel.StreamingKernelContent : obj * int * string * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.SemanticKernel.StreamingKernelContent
Protected Sub New (innerContent As Object, Optional choiceIndex As Integer = 0, Optional modelId As String = Nothing, Optional metadata As IReadOnlyDictionary(Of String, Object) = Nothing)

Parameters

innerContent
Object

Inner content object reference

choiceIndex
Int32

Choice index

modelId
String

The model ID used to generate the content.

metadata
IReadOnlyDictionary<String,Object>

Additional metadata associated with the content.

Applies to