CustomContentUIPart
Namespace: Vercel.AI.Ui
public sealed class CustomContentUIPart : UIMessagePartA provider-specific part. Maps to CustomContentUIPart.
Inheritance: object → UIMessagePart
Constructors
Section titled “Constructors”CustomContentUIPart(string)
Section titled “CustomContentUIPart(string)”public CustomContentUIPart(string kind)Creates a custom part.
Parameters
| Name | Type | Description |
|---|---|---|
kind |
string |
Properties
Section titled “Properties”public string Kind { get; }The kind of custom content, in the format {provider}.{provider-type}.
Value: string
ProviderMetadata
Section titled “ProviderMetadata”public IReadOnlyDictionary<string, JsonElement>? ProviderMetadata { get; init; }The provider metadata.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product