Firebase.
Result output from a function call.
Summary
Contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model. This should contain the result of a FunctionCallPart made based on model prediction. 
Inheritance
Inherits from: Firebase.AI.ModelContent.Part| Constructors and Destructors | |
|---|---|
| FunctionResponsePart(string name, IDictionary< string, object > response, string id)Constructs a new  FunctionResponsePart. | 
| Properties | |
|---|---|
| Id | stringThe id from the FunctionCallPart this is in response to.  | 
| IsThought | bool | 
| Name | stringThe name of the function that was called.  | 
| Response | IReadOnlyDictionary< string, object >The function's response or return value.  | 
| Public functions | |
|---|---|
| ToJson() | Dictionary< string, object > Part. | 
Properties
Id
string Firebase::AI::ModelContent::FunctionResponsePart::Id
The id from the FunctionCallPart this is in response to.
IsThought
bool Firebase::AI::ModelContent::FunctionResponsePart::IsThought
Name
string Firebase::AI::ModelContent::FunctionResponsePart::Name
The name of the function that was called.
Response
IReadOnlyDictionary< string, object > Firebase::AI::ModelContent::FunctionResponsePart::Response
The function's response or return value.
Public functions
FunctionResponsePart
Firebase::AI::ModelContent::FunctionResponsePart::FunctionResponsePart( string name, IDictionary< string, object > response, string id )
Constructs a new FunctionResponsePart. 
| Details | |||||||
|---|---|---|---|---|---|---|---|
| Parameters | 
 | 
ToJson
Dictionary< string, object > Part. Firebase::AI::ModelContent::FunctionResponsePart::ToJson()