Firebase.AI.ModelContent.Part

A discrete piece of data in a media format interpretable by an AI model.

Summary

Within a single value of Part, different data types may not mix.

Inheritance

Direct Known Subclasses:Firebase.AI.ModelContent.FileDataPart, Firebase.AI.ModelContent.FunctionCallPart, Firebase.AI.ModelContent.FunctionResponsePart, Firebase.AI.ModelContent.InlineDataPart, Firebase.AI.ModelContent.TextPart

Properties

IsThought
bool
Indicates whether this Part is a summary of the model's internal thinking process.

Properties

IsThought

bool IsThought

Indicates whether this Part is a summary of the model's internal thinking process.

When IncludeThoughts is set to true in ThinkingConfig, the model may return one or more "thought" parts that provide insight into how it reasoned through the prompt to arrive at the final answer. These parts will have IsThought set to true.