Partager via


KernelContent Constructors

Definition

Overloads

KernelContent()

Initializes a new instance of the KernelContent class.

KernelContent(Object, String, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the KernelContent class.

KernelContent()

Initializes a new instance of the KernelContent class.

protected KernelContent ();
Protected Sub New ()

Applies to

KernelContent(Object, String, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the KernelContent class.

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

Parameters

innerContent
Object

The inner content representation

modelId
String

The model ID used to generate the content

metadata
IReadOnlyDictionary<String,Object>

Metadata associated with the content

Applies to