ReasoningFileUIPart
Namespace: Vercel.AI.Ui
public sealed class ReasoningFileUIPart : UIMessagePartA file produced as reasoning. Maps to ReasoningFileUIPart.
Inheritance: object → UIMessagePart
Constructors
Section titled “Constructors”ReasoningFileUIPart(string, string)
Section titled “ReasoningFileUIPart(string, string)”public ReasoningFileUIPart(string mediaType, string url)Creates a reasoning file part.
Parameters
| Name | Type | Description |
|---|---|---|
mediaType |
string | |
url |
string |
Properties
Section titled “Properties”MediaType
Section titled “MediaType”public string MediaType { get; }IANA media type.
Value: string
ProviderMetadata
Section titled “ProviderMetadata”public IReadOnlyDictionary<string, JsonElement>? ProviderMetadata { get; init; }The provider metadata.
Value: IReadOnlyDictionary<string, JsonElement>
public string Url { get; }The URL, which can be a data URL.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product