TextContentPart
Namespace: Vercel.AI.Provider
public sealed class TextContentPart : UserContentPartText in a user message.
Inheritance: object → UserContentPart
Constructors
Section titled “Constructors”TextContentPart(string)
Section titled “TextContentPart(string)”public TextContentPart(string text)Creates a text part.
Parameters
| Name | Type | Description |
|---|---|---|
text |
string |
Properties
Section titled “Properties”ProviderOptions
Section titled “ProviderOptions”public IReadOnlyDictionary<string, JsonElement>? ProviderOptions { get; init; }Provider-specific options for this part, such as the Amazon Bedrock guardContent or cachePoint.
Value: IReadOnlyDictionary<string, JsonElement>
public string Text { get; }Text.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product