RerankingStrategy

org.llm4s.rag.RerankingStrategy
See theRerankingStrategy companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Cohere(model: String) extends RerankingStrategy

Use Cohere's cross-encoder reranking API

Use Cohere's cross-encoder reranking API

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object LLM extends RerankingStrategy

Use LLM as judge for reranking

Use LLM as judge for reranking

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
LLM.type
case object None extends RerankingStrategy

No reranking - use fusion scores directly

No reranking - use fusion scores directly

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
None.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror