ExecutableCodePart

class ExecutableCodePart : Part


Represents the code that was executed by the model.

Summary

Public constructors

ExecutableCodePart(language: String, code: String)

This function is deprecated. Part of the model response.

Public properties

String

The source code to be executed.

open Boolean

Indicates whether the response is a thought.

String

The programming language of the code.

Public constructors

ExecutableCodePart

ExecutableCodePart(language: String, code: String)

Public properties

code

val codeString

The source code to be executed.

isThought

open val isThoughtBoolean

Indicates whether the response is a thought.

language

val languageString

The programming language of the code.