Back to Firebase Js Sdk

CodeExecutionResultPart interface

docs-devsite/ai.codeexecutionresultpart.md

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

CodeExecutionResultPart interface

Represents the code execution result from the model.

<b>Signature:</b>

typescript
export interface CodeExecutionResultPart 

Properties

PropertyTypeDescription
codeExecutionResultCodeExecutionResult
executableCodenever
fileDatanever
functionCallnever
functionResponsenever
inlineDatanever
textnever
thoughtnever

CodeExecutionResultPart.codeExecutionResult

<b>Signature:</b>

typescript
codeExecutionResult?: CodeExecutionResult;

CodeExecutionResultPart.executableCode

<b>Signature:</b>

typescript
executableCode?: never;

CodeExecutionResultPart.fileData

<b>Signature:</b>

typescript
fileData: never;

CodeExecutionResultPart.functionCall

<b>Signature:</b>

typescript
functionCall?: never;

CodeExecutionResultPart.functionResponse

<b>Signature:</b>

typescript
functionResponse?: never;

CodeExecutionResultPart.inlineData

<b>Signature:</b>

typescript
inlineData?: never;

CodeExecutionResultPart.text

<b>Signature:</b>

typescript
text?: never;

CodeExecutionResultPart.thought

<b>Signature:</b>

typescript
thought?: never;