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, SpeechMetadata? speechMetadata)
Creates a
TextPart with the given text. |
Properties |
|
|---|---|
IsThought
|
bool
|
SpeechMetadata
|
Optional metadata used to guide speech generation, such as speaker and vocal style.
|
Text
|
string
Text value.
|
Public functions |
|
|---|---|
ToJson()
|
Dictionary< string, object > Part.
|
Properties
IsThought
bool Firebase::AI::ModelContent::TextPart::IsThought
SpeechMetadata
SpeechMetadata Firebase::AI::ModelContent::TextPart::SpeechMetadata
Optional metadata used to guide speech generation, such as speaker and vocal style.
Text
string Firebase::AI::ModelContent::TextPart::Text
Text value.
Public functions
TextPart
Firebase::AI::ModelContent::TextPart::TextPart( string text, SpeechMetadata? speechMetadata )
Creates a TextPart with the given text.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
ToJson
Dictionary< string, object > Part. Firebase::AI::ModelContent::TextPart::ToJson()