Document¶
- class oci.generative_ai_inference.models.Document(**kwargs)¶
Bases:
objectThe input of the document to rerank.
Methods:
__init__(**kwargs)Initializes a new Document object with values from keyword arguments.
Attributes:
[Required] Gets the text of this Document.
- __init__(**kwargs)¶
Initializes a new Document object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
text (str) – The value to assign to the text property of this Document.
- property text¶
[Required] Gets the text of this Document. The text of the document to rerank.
- Returns
The text of this Document.
- Return type
str