Share via


KernelContent Constructor

Definition

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