org.llm4s.rag.RerankingStrategy
See theRerankingStrategy companion trait
object RerankingStrategy
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RerankingStrategy.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 Serializabletrait Producttrait Equalstrait RerankingStrategyclass Objecttrait Matchableclass AnyShow all
case object LLM extends RerankingStrategy
Use LLM as judge for reranking
Use LLM as judge for reranking
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RerankingStrategyclass Objecttrait Matchableclass AnyShow 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 Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RerankingStrategyclass Objecttrait Matchableclass AnyShow all
- Self type
-
None.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
In this article