Enum 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 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 name
        NullPointerException - if the argument is null