Skip to content

ObjectStreamPart

Namespace: Vercel.AI.GenerateObject

public abstract class ObjectStreamPart

A part of the full stream of a streamObject call. Maps to ObjectStreamPart.

Inheritance: object

Derived: ObjectStreamErrorPart, ObjectStreamFinishPart, ObjectStreamObjectPart, ObjectStreamTextDeltaPart

View source

public string Type { get; }

Part type: object, text-delta, error, or finish.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product