HuggingFaceText
Namespace: Vercel.AI.HuggingFace
public sealed class HuggingFaceText : GeneratedTextGenerated text that carries the Responses output item id.
Inheritance: object → GeneratedContent → GeneratedText
Constructors
Section titled “Constructors”HuggingFaceText(string, JsonElement?)
Section titled “HuggingFaceText(string, JsonElement?)”public HuggingFaceText(string text, JsonElement? providerMetadata)Creates text.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string | |
providerMetadata |
JsonElement? |
Properties
Section titled “Properties”ProviderMetadata
Section titled “ProviderMetadata”public JsonElement? ProviderMetadata { get; }Provider metadata, such as huggingface.itemId.
Value: JsonElement?
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product