Firebase.AI.ModelContent.Part

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

Summary

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

Inheritance

Direct Known Subclasses:Firebase.AI.ModelContent.CodeExecutionResultPart,Firebase.AI.ModelContent.ExecutableCodePart,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 thisPart is a summary of the model's internal thinking process.

Properties

IsThought

boolIsThought

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

WhenIncludeThoughts is set totrue inThinkingConfig, 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 haveIsThought set totrue.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-25 UTC.