StartStepPart
Namespace: Vercel.AI
public sealed class StartStepPart : TextStreamPartA step started. It comes before the parts of that step.
Inheritance: object → TextStreamPart
Constructors
Section titled “Constructors”StartStepPart(IReadOnlyList<CallWarning>?, LanguageModelRequestMetadata?)
Section titled “StartStepPart(IReadOnlyList<CallWarning>?, LanguageModelRequestMetadata?)”public StartStepPart(IReadOnlyList<CallWarning>? warnings = null, LanguageModelRequestMetadata? request = null)Creates a start-step part.
Parameters
| Name | Type | Description |
|---|---|---|
warnings |
IReadOnlyList<CallWarning> | |
request |
LanguageModelRequestMetadata |
Properties
Section titled “Properties”Request
Section titled “Request”public LanguageModelRequestMetadata Request { get; }Request metadata of this step. Body and messages are set only when Include asks for them.
Value: LanguageModelRequestMetadata
Warnings
Section titled “Warnings”public IReadOnlyList<CallWarning> Warnings { get; }Warnings from the model call of this step.
Value: IReadOnlyList<CallWarning>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product