UIMessagePart
Namespace: Vercel.AI.Ui
public abstract class UIMessagePartA part of a UIMessage. Maps to UIMessagePart.
Inheritance: object
Derived: CustomContentUIPart, DataUIPart, FileUIPart, ReasoningFileUIPart, ReasoningUIPart, SourceDocumentUIPart, SourceUrlUIPart, StepStartUIPart, TextUIPart, ToolUIPart
Constructors
Section titled “Constructors”UIMessagePart(string)
Section titled “UIMessagePart(string)”protected UIMessagePart(string type)Creates a part.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string |
Properties
Section titled “Properties”public string Type { get; }The part type, such as text, tool-get-weather, or data-chart.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product