Enum Class HybridGraphStream

java.lang.Object
java.lang.Enum<HybridGraphStream>
com.tnsai.intelligence.rag.HybridGraphStream
All Implemented Interfaces:
Serializable, Comparable<HybridGraphStream>, Constable

public enum HybridGraphStream extends Enum<HybridGraphStream>
Outcome of attaching the optional knowledge-graph stream to HybridRAGStrategy.

SKIPPED_NO_GRAPH_STORE is a typed diagnostic, not a VECTOR-only fallback: BM25 and vector still fuse through RRF.

Since:
0.14.0
  • Enum Constant Details

    • FUSED

      public static final HybridGraphStream FUSED
      Graph hits were ranked independently and RRF-fused with BM25 and vector.
    • SKIPPED_NO_GRAPH_STORE

      public static final HybridGraphStream SKIPPED_NO_GRAPH_STORE
      No GraphStore was available for this Role. The two lexical and semantic streams still fused.
  • Method Details

    • values

      public static HybridGraphStream[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HybridGraphStream valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • metadataValue

      public String metadataValue()
      Returns:
      stable metadata token