Back to Firebase Js Sdk

InlineDataPart interface

docs-devsite/ai.inlinedatapart.md

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

InlineDataPart interface

Content part interface if the part represents an image.

<b>Signature:</b>

typescript
export interface InlineDataPart 

Properties

PropertyTypeDescription
codeExecutionResultnever
executableCodenever
functionCallnever
functionResponsenever
inlineDataGenerativeContentBlob
textnever
thoughtboolean
videoMetadataVideoMetadataApplicable if <code>inlineData</code> is a video.

InlineDataPart.codeExecutionResult

<b>Signature:</b>

typescript
codeExecutionResult?: never;

InlineDataPart.executableCode

<b>Signature:</b>

typescript
executableCode?: never;

InlineDataPart.functionCall

<b>Signature:</b>

typescript
functionCall?: never;

InlineDataPart.functionResponse

<b>Signature:</b>

typescript
functionResponse?: never;

InlineDataPart.inlineData

<b>Signature:</b>

typescript
inlineData: GenerativeContentBlob;

InlineDataPart.text

<b>Signature:</b>

typescript
text?: never;

InlineDataPart.thought

<b>Signature:</b>

typescript
thought?: boolean;

InlineDataPart.videoMetadata

Applicable if inlineData is a video.

<b>Signature:</b>

typescript
videoMetadata?: VideoMetadata;