Attributes
Members list
Type members
Classlikes
Prefix: codeExecutionResult
Prefix: codeExecutionResult
Attributes
- outcome
Required. Outcome of the code execution.
- output
Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
- Graph
- Supertypes
Prefix: executableCode
Prefix: executableCode
Code generated by the model that is meant to be executed, and the result returned to the model. Only generated when using the CodeExecution tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated.
Attributes
- code
Required. The code to be executed.
- language
Required. Programming language of the code.
- Graph
- Supertypes
Prefix: fileData
Prefix: fileData
URI based data.
Attributes
- fileUri
Required. URI.
- mimeType
Optional. The IANA standard MIME type of the source data.
- Graph
- Supertypes
Prefix: functionCall
Prefix: functionCall
A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values.
Attributes
- args
Optional. The function parameters and values in JSON object format.
- id
The unique id of the function call. If populated, the client to execute the functionCall and return the response with the matching id.
- name
Required. The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 63.
- Graph
- Supertypes
Prefix: functionResponse
Prefix: functionResponse
The result output of a FunctionCall that contains a string representing the FunctionDeclaration.name and a structured JSON object containing any output from the function is used as context to the model.
Attributes
- id
The id of the function call this response is for. Populated by the client to match the corresponding function call id.
- name
The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 63.
- response
The function response in JSON object format.
- Graph
- Supertypes
Prefix: inlineData
Prefix: inlineData
Blob of data. Inline media bytes.
Attributes
- data
Raw bytes for media formats. A base64-encoded string.
- mimeType
The IANA standard MIME type of the source data. Examples: - image/png - image/jpeg If an unsupported MIME type is provided, an error will be returned. For a complete list of supported types, see Supported file formats.
- Graph
- Supertypes
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror