TextStreamPart
Namespace: Vercel.AI
public abstract class TextStreamPartA part of the streamText full stream.
Inheritance: object
Derived: AbortPart, ErrorPart, FinishPart, RawPart, ReasoningDeltaPart, SourcePart, StartPart, StartStepPart, StepFinishPart, TextDeltaPart, ToolApprovalRequestPart, ToolCallPart, ToolErrorPart, ToolInputDeltaPart, ToolInputEndPart, ToolInputStartPart, ToolResultPart
Constructors
Section titled “Constructors”TextStreamPart(string)
Section titled “TextStreamPart(string)”protected TextStreamPart(string type)Creates a part.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string |
Properties
Section titled “Properties”public string Type { get; }Part type.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product