Skip to content

DecisionModelTextPart

Namespace: Vercel.AI.Operations

public sealed class DecisionModelTextPart : DecisionModelStatePart

A text part the model receives.

Inheritance: object → DecisionModelStatePart

View source

public DecisionModelTextPart(string text)

Creates a text part.

Parameters

Name Type Description
text string

View source

public string Text { get; }

Text.

Value: string

View source

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