This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Represents the code that is executed by the model.
Signature:
export interface ExecutableCodePart
Properties
| Property | Type | Description |
|---|---|---|
| codeExecutionResult | never | (Public Preview) |
| executableCode | ExecutableCode | (Public Preview) |
| fileData | never | (Public Preview) |
| functionCall | never | (Public Preview) |
| functionResponse | never | (Public Preview) |
| inlineData | never | (Public Preview) |
| text | never | (Public Preview) |
| thought | never | (Public Preview) |
ExecutableCodePart.codeExecutionResult
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
codeExecutionResult?: never;
ExecutableCodePart.executableCode
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
executableCode?: ExecutableCode;
ExecutableCodePart.fileData
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
fileData: never;
ExecutableCodePart.functionCall
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
functionCall?: never;
ExecutableCodePart.functionResponse
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
functionResponse?: never;
ExecutableCodePart.inlineData
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
inlineData?: never;
ExecutableCodePart.text
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
text?: never;
ExecutableCodePart.thought
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Signature:
thought?: never;