CohereCitationDocument

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

Bases: object

A citation source referencing a document.

Methods

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

Attributes

document Gets the document of this CohereCitationDocument.
id Gets the id of this CohereCitationDocument.
__init__(**kwargs)

Initializes a new CohereCitationDocument 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 CohereCitationDocument.
  • document (object) – The value to assign to the document property of this CohereCitationDocument.
document

Gets the document of this CohereCitationDocument. The actual document content or reference.

Returns:The document of this CohereCitationDocument.
Return type:object
id

Gets the id of this CohereCitationDocument. Unique identifier for the document.

Returns:The id of this CohereCitationDocument.
Return type:str