ToolModelContentPart
Namespace: Vercel.AI.Prompt
public sealed class ToolModelContentPartOne content part inside a content tool output.
Inheritance: object
Constructors
Section titled “Constructors”ToolModelContentPart(string, string)
Section titled “ToolModelContentPart(string, string)”public ToolModelContentPart(string type, string text)Creates a text part.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
text |
string |
Properties
Section titled “Properties”public string Text { get; }Part text.
Value: string
public string Type { get; }Part type.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product