AssistantTextPart
Namespace: Vercel.AI.Provider
public sealed class AssistantTextPart : AssistantContentPartText in an assistant message.
Inheritance: object → AssistantContentPart
Constructors
Section titled “Constructors”AssistantTextPart(string, IReadOnlyDictionary<string, JsonElement>?)
Section titled “AssistantTextPart(string, IReadOnlyDictionary<string, JsonElement>?)”public AssistantTextPart(string text, IReadOnlyDictionary<string, JsonElement>? providerOptions = null)Creates a text part.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string | |
providerOptions |
IReadOnlyDictionary<string, JsonElement> |
Properties
Section titled “Properties”public string Text { get; }Text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product