CohereToolResult

class oci.generative_ai_inference.models.CohereToolResult(**kwargs)

Bases: object

The result from invoking tools recommended by the model in the previous chat turn.

Methods

__init__(**kwargs) Initializes a new CohereToolResult object with values from keyword arguments.

Attributes

call [Required] Gets the call of this CohereToolResult.
outputs [Required] Gets the outputs of this CohereToolResult.
__init__(**kwargs)

Initializes a new CohereToolResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
call

[Required] Gets the call of this CohereToolResult.

Returns:The call of this CohereToolResult.
Return type:oci.generative_ai_inference.models.CohereToolCall
outputs

[Required] Gets the outputs of this CohereToolResult. An array of objects returned by tool.

Returns:The outputs of this CohereToolResult.
Return type:list[object]