Partager via


StreamingMethodContent Constructor

Definition

Initializes a new instance of the StreamingMethodContent class.

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

Parameters

innerContent
Object

Underlying object that represents the chunk content.

metadata
IReadOnlyDictionary<String,Object>

Additional metadata associated with the content.

Applies to