Back to Firebase Js Sdk

FileDataPart interface

docs-devsite/ai.filedatapart.md

12.12.11.9 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 %}

FileDataPart interface

Content part interface if the part represents FileData

<b>Signature:</b>

typescript
export interface FileDataPart 

Properties

PropertyTypeDescription
codeExecutionResultnever
executableCodenever
fileDataFileData
functionCallnever
functionResponsenever
inlineDatanever
textnever
thoughtboolean

FileDataPart.codeExecutionResult

<b>Signature:</b>

typescript
codeExecutionResult?: never;

FileDataPart.executableCode

<b>Signature:</b>

typescript
executableCode?: never;

FileDataPart.fileData

<b>Signature:</b>

typescript
fileData: FileData;

FileDataPart.functionCall

<b>Signature:</b>

typescript
functionCall?: never;

FileDataPart.functionResponse

<b>Signature:</b>

typescript
functionResponse?: never;

FileDataPart.inlineData

<b>Signature:</b>

typescript
inlineData?: never;

FileDataPart.text

<b>Signature:</b>

typescript
text?: never;

FileDataPart.thought

<b>Signature:</b>

typescript
thought?: boolean;