HuggingFaceTextGenerationMetadata Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the metadata of a Hugging Face chat completion.

C#
public sealed class HuggingFaceTextGenerationMetadata : System.Collections.ObjectModel.ReadOnlyDictionary<string,object>
Inheritance
HuggingFaceTextGenerationMetadata

Properties

FinishReason

Finish reason.

GeneratedTokens

Number of generated tokens.

PrefillTokens

The list of prefill tokens used on the generation.

Tokens

The list of tokens used on the generation.

Methods

Applies to

Proizvod Verzije
Semantic Kernel Dotnet Latest