CitationOptionsV2¶
- class oci.generative_ai_inference.models.CitationOptionsV2(**kwargs)¶
Bases:
objectOptions for controlling citation generation.
Attributes:
A constant which can be used with the mode property of a CitationOptionsV2.
A constant which can be used with the mode property of a CitationOptionsV2.
A constant which can be used with the mode property of a CitationOptionsV2.
Gets the mode of this CitationOptionsV2.
Methods:
__init__(**kwargs)Initializes a new CitationOptionsV2 object with values from keyword arguments.
- MODE_ACCURATE = 'ACCURATE'¶
A constant which can be used with the mode property of a CitationOptionsV2. This constant has a value of “ACCURATE”
- MODE_FAST = 'FAST'¶
A constant which can be used with the mode property of a CitationOptionsV2. This constant has a value of “FAST”
- MODE_OFF = 'OFF'¶
A constant which can be used with the mode property of a CitationOptionsV2. This constant has a value of “OFF”
- __init__(**kwargs)¶
Initializes a new CitationOptionsV2 object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
mode (str) – The value to assign to the mode property of this CitationOptionsV2. Allowed values for this property are: “FAST”, “ACCURATE”, “OFF”
- property mode¶
Gets the mode of this CitationOptionsV2. Dictates the approach taken to generating citations. - “ACCURATE”: More precise citation generation. - “FAST”: Faster but may be less precise. - “OFF”: Disables citation generation.
Allowed values for this property are: “FAST”, “ACCURATE”, “OFF”
- Returns
The mode of this CitationOptionsV2.
- Return type
str