Share via


HuggingFaceTextGenerationMetadata.FromDictionary Method

Definition

Converts a dictionary to a HuggingFaceChatCompletionMetadata object.

public static Microsoft.SemanticKernel.Connectors.HuggingFace.HuggingFaceTextGenerationMetadata FromDictionary (System.Collections.Generic.IReadOnlyDictionary<string,object?> dictionary);
static member FromDictionary : System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.SemanticKernel.Connectors.HuggingFace.HuggingFaceTextGenerationMetadata
Public Shared Function FromDictionary (dictionary As IReadOnlyDictionary(Of String, Object)) As HuggingFaceTextGenerationMetadata

Parameters

Returns

Applies to