ExecutableCode interface

An interface for executable code returned by the model.

Signature:

export interface ExecutableCode 

Properties

Property Type Description
code string The source code to be executed.
language Language The programming language of the code.

ExecutableCode.code

The source code to be executed.

Signature:

code?: string;

ExecutableCode.language

The programming language of the code.

Signature:

language?: Language;