Vercel.AI.GenerateObject
Public types in the Vercel.AI.GenerateObject namespace.
Classes
Section titled “Classes”| Type | Summary |
|---|---|
| GenerateObjectEndEvent<T> | Event sent after the generated object has been parsed and validated. |
| GenerateObjectEvent | Base information shared by generate-object callback events. |
| GenerateObjectOptions<T> | Options for CancellationToken). Maps to generateObject. |
| GenerateObjectRepairContext | Input passed to RepairText. |
| GenerateObjectResult<T> | Result of a generateObject call. |
| GenerateObjectStartEvent | Event sent before object generation begins. |
| GenerateObjectStepEndEvent | The raw result of the one model step made by generateObject. |
| GenerateObjectStepStartEvent | Event sent immediately before the generate-object model call. |
| NoObjectGeneratedException | Thrown when a model response cannot produce the requested object. Maps to NoObjectGeneratedError. |
| ObjectStreamErrorPart | An error. Maps to { type: ‘error’ }. |
| ObjectStreamFinishPart | The end of the stream. Maps to { type: ‘finish’ }. |
| ObjectStreamObjectPart | A new partial object. Maps to { type: ‘object’ }. |
| ObjectStreamPart | A part of the full stream of a streamObject call. Maps to ObjectStreamPart. |
| ObjectStreamTextDeltaPart | A text delta of the JSON representation of the object. Maps to { type: ‘text-delta’ }. |
| StreamObjectOptions<T> | Options for CancellationToken). Maps to streamObject. |
| StreamObjectResult<T> | The result of a streamObject call. Maps to StreamObjectResult. |
| Type | Summary |
|---|---|
| StreamObjectOutput | The type of the output of streamObject. Maps to the output option. |
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product