Class InteractionTextContent
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
A text content block.
public sealed class InteractionTextContent : InteractionContent
- Inheritance
-
InteractionTextContent
- Inherited Members
- Extension Methods
Constructors
InteractionTextContent()
Initializes a new instance of the InteractionTextContent class.
public InteractionTextContent()
Properties
Annotations
Citation information for model-generated content.
[JsonPropertyName("annotations")]
public List<InteractionAnnotation>? Annotations { get; set; }
Property Value
Text
Required. The text content.
[JsonPropertyName("text")]
public string? Text { get; set; }