Back to Firebase Js Sdk

ExecutableCode interface

docs-devsite/ai.executablecode.md

12.12.11015 B
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 %}

ExecutableCode interface

An interface for executable code returned by the model.

<b>Signature:</b>

typescript
export interface ExecutableCode 

Properties

PropertyTypeDescription
codestringThe source code to be executed.
languageLanguageThe programming language of the code.

ExecutableCode.code

The source code to be executed.

<b>Signature:</b>

typescript
code?: string;

ExecutableCode.language

The programming language of the code.

<b>Signature:</b>

typescript
language?: Language;