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 | |
---|---|
IsThought | bool |
Text | string Text value. |
Public functions | |
---|---|
ToJson() | Dictionary< string, object > Part. |
Properties
IsThought
bool Firebase::AI::ModelContent::TextPart::IsThought
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 |
|
ToJson
Dictionary< string, object > Part. Firebase::AI::ModelContent::TextPart::ToJson()