Back to Firebase Js Sdk

FunctionResponsePart interface

docs-devsite/ai.functionresponsepart.md

12.12.12.0 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

FunctionResponsePart interface

Content part interface if the part represents FunctionResponse<!-- -->.

<b>Signature:</b>

typescript
export interface FunctionResponsePart 

Properties

PropertyTypeDescription
codeExecutionResultnever
executableCodenever
functionCallnever
functionResponseFunctionResponse
inlineDatanever
textnever
thoughtboolean

FunctionResponsePart.codeExecutionResult

<b>Signature:</b>

typescript
codeExecutionResult?: never;

FunctionResponsePart.executableCode

<b>Signature:</b>

typescript
executableCode?: never;

FunctionResponsePart.functionCall

<b>Signature:</b>

typescript
functionCall?: never;

FunctionResponsePart.functionResponse

<b>Signature:</b>

typescript
functionResponse: FunctionResponse;

FunctionResponsePart.inlineData

<b>Signature:</b>

typescript
inlineData?: never;

FunctionResponsePart.text

<b>Signature:</b>

typescript
text?: never;

FunctionResponsePart.thought

<b>Signature:</b>

typescript
thought?: boolean;