Firebase.AI.ModelContent.TextPart

A text part containing a string value.

Summary

Inheritance

Inherits from: Firebase.AI.ModelContent.Part

Constructors and Destructors

TextPart(string text)
Creates a TextPart with the given text.

Properties

Text
string
Text value.

Public functions

ToJson()
Dictionary< string, object > Part.

Properties

Text

string Firebase::AI::ModelContent::TextPart::Text

Text value.

Public functions

TextPart

 Firebase::AI::ModelContent::TextPart::TextPart(
  string text
)

Creates a TextPart with the given text.

Details
Parameters
text
The text value to use.

ToJson

Dictionary< string, object > Part. Firebase::AI::ModelContent::TextPart::ToJson()