GenerateObjectStepStartEvent
Namespace: Vercel.AI.GenerateObject
public sealed class GenerateObjectStepStartEvent : GenerateObjectEventEvent sent immediately before the generate-object model call.
Inheritance: object → GenerateObjectEvent
Properties
Section titled “Properties”Headers
Section titled “Headers”public IReadOnlyDictionary<string, string?>? Headers { get; init; }Additional HTTP headers sent with the request. Maps to headers.
Value: IReadOnlyDictionary<string, string>
PromptMessages
Section titled “PromptMessages”public IReadOnlyList<ModelMessage>? PromptMessages { get; init; }The prompt messages in provider format. Maps to promptMessages.
Value: IReadOnlyList<ModelMessage>
ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; init; }Additional provider-specific options. Maps to providerOptions.
Value: IReadOnlyDictionary<string, JsonElement>
StepNumber
Section titled “StepNumber”public int StepNumber { get; }The only step number made by generateObject.
Value: int
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product