Table of Contents

Class TextContent

Namespace
AutoGen.Anthropic.DTO
Assembly
AutoGen.Anthropic.dll
public class TextContent : ContentBase
Inheritance
TextContent
Inherited Members

Properties

Text

[JsonPropertyName("text")]
public string? Text { get; set; }

Property Value

string

Type

[JsonPropertyName("type")]
public override string Type { get; }

Property Value

string

Methods

CreateTextWithCacheControl(string)

public static TextContent CreateTextWithCacheControl(string text)

Parameters

text string

Returns

TextContent