HuggingFaceTextGenerationMetadata Class
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>
type HuggingFaceTextGenerationMetadata = class
inherit ReadOnlyDictionary<string, obj>
Public NotInheritable Class HuggingFaceTextGenerationMetadata
Inherits ReadOnlyDictionary(Of String, Object)
- Inheritance
-
HuggingFaceTextGenerationMetadata
Finish |
Finish reason. |
Generated |
Number of generated tokens. |
Prefill |
The list of prefill tokens used on the generation. |
Tokens |
The list of tokens used on the generation. |
From |
Converts a dictionary to a HuggingFaceChatCompletionMetadata object. |
Proizvod | Verzije |
---|---|
Semantic Kernel Dotnet | Latest |