CohereCitationToolV2

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

Bases: object

A citation source referencing a tool result.

Methods

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

Attributes

id Gets the id of this CohereCitationToolV2.
tool_output Gets the tool_output of this CohereCitationToolV2.
__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this CohereCitationToolV2.
  • tool_output (object) – The value to assign to the tool_output property of this CohereCitationToolV2.
id

Gets the id of this CohereCitationToolV2. Unique identifier of the tool call.

Returns:The id of this CohereCitationToolV2.
Return type:str
tool_output

Gets the tool_output of this CohereCitationToolV2. Output from the tool.

Returns:The tool_output of this CohereCitationToolV2.
Return type:object