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 execution result from the model.
Signature:
export interface CodeExecutionResultPart
Properties
Property | Type | Description |
---|---|---|
codeExecutionResult | CodeExecutionResult | (Public Preview) |
executableCode | never | (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) |
CodeExecutionResultPart.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?: CodeExecutionResult;
CodeExecutionResultPart.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?: never;
CodeExecutionResultPart.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;
CodeExecutionResultPart.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;
CodeExecutionResultPart.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;
CodeExecutionResultPart.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;
CodeExecutionResultPart.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;
CodeExecutionResultPart.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;