LegFailurePolicy

org.llm4s.vectorstore.LegFailurePolicy

What a fused (RRF or weighted) search does when one of its two legs fails and the other succeeds (#2995).

Attributes

Source
HybridSearcher.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Degrade extends LegFailurePolicy

Answer from the leg that succeeded, and log the failed leg's error as a WARN. The default.

Answer from the leg that succeeded, and log the failed leg's error as a WARN. The default.

Attributes

Source
HybridSearcher.scala
case Fail extends LegFailurePolicy

Fail the whole search with the failed leg's error.

Fail the whole search with the failed leg's error.

Attributes

Source
HybridSearcher.scala