Enum CitationOptionsV2.Mode
- java.lang.Object
-
- java.lang.Enum<CitationOptionsV2.Mode>
-
- com.oracle.bmc.generativeaiinference.model.CitationOptionsV2.Mode
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<CitationOptionsV2.Mode>
- Enclosing class:
- CitationOptionsV2
public static enum CitationOptionsV2.Mode extends Enum<CitationOptionsV2.Mode> implements BmcEnum
Dictates the approach taken to generating citations as part of the RAG flow.Defaults to “accurate”. - “ACCURATE”: More precise citation generation. - “FAST”: Faster but may be less precise. - “OFF”: Disables citation generation. Note: command-r7b-12-2024 and command-a-03-2025 only support “FAST” and “OFF”.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CitationOptionsV2.Modecreate(String key)StringgetValue()static CitationOptionsV2.ModevalueOf(String name)Returns the enum constant of this type with the specified name.static CitationOptionsV2.Mode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Fast
public static final CitationOptionsV2.Mode Fast
-
Accurate
public static final CitationOptionsV2.Mode Accurate
-
Off
public static final CitationOptionsV2.Mode Off
-
-
Method Detail
-
values
public static CitationOptionsV2.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CitationOptionsV2.Mode c : CitationOptionsV2.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CitationOptionsV2.Mode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
create
public static CitationOptionsV2.Mode create(String key)
-
-