Stay organized with collections
Save and categorize content based on your preferences.
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
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[null,null,["Last updated 2025-09-04 UTC."],[],[],null,["Firebase.AI.ModelContent.Part\n\nA discrete piece of data in a media format interpretable by an [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) model.\n\nSummary\n\nWithin a single value of [Part](/docs/reference/unity/interface/firebase/a-i/model-content/part#interface_firebase_1_1_a_i_1_1_model_content_1_1_part), different data types may not mix.\n\nInheritanceDirect Known Subclasses:[Firebase.AI.ModelContent.FileDataPart](/docs/reference/unity/struct/firebase/a-i/model-content/file-data-part), [Firebase.AI.ModelContent.FunctionCallPart](/docs/reference/unity/struct/firebase/a-i/model-content/function-call-part), [Firebase.AI.ModelContent.FunctionResponsePart](/docs/reference/unity/struct/firebase/a-i/model-content/function-response-part), [Firebase.AI.ModelContent.InlineDataPart](/docs/reference/unity/struct/firebase/a-i/model-content/inline-data-part), [Firebase.AI.ModelContent.TextPart](/docs/reference/unity/struct/firebase/a-i/model-content/text-part)\n\n| Properties ||\n|--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IsThought](#interface_firebase_1_1_a_i_1_1_model_content_1_1_part_1ae1d8730a875f65672468e0463938e9ca) | `bool` Indicates whether this [Part](/docs/reference/unity/interface/firebase/a-i/model-content/part#interface_firebase_1_1_a_i_1_1_model_content_1_1_part) is a summary of the model's internal thinking process. |\n\nProperties \n\nIsThought \n\n```c#\nbool IsThought\n``` \nIndicates whether this [Part](/docs/reference/unity/interface/firebase/a-i/model-content/part#interface_firebase_1_1_a_i_1_1_model_content_1_1_part) is a summary of the model's internal thinking process.\n\nWhen `IncludeThoughts` is set to `true` in [ThinkingConfig](/docs/reference/unity/struct/firebase/a-i/thinking-config#struct_firebase_1_1_a_i_1_1_thinking_config), 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`."]]