CohereToolResult¶
- class oci.generative_ai_inference.models.CohereToolResult(**kwargs)¶
Bases:
objectThe 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:
[Required] Gets the call of this CohereToolResult.
[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 (oci.generative_ai_inference.models.CohereToolCall) – The value to assign to the call property of this CohereToolResult.
outputs (list[object]) – The value to assign to the outputs property of this CohereToolResult.
- property call¶
[Required] Gets the call of this CohereToolResult.
- Returns
The call of this CohereToolResult.
- Return type
- property 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]