Config

org.llm4s.vectorstore.HybridSearcher.Config
See theConfig companion object
final case class Config(vectorStoreConfig: Config, keywordIndexConfig: Config, defaultStrategy: FusionStrategy)

Configuration for hybrid searcher.

Value parameters

defaultStrategy

Default fusion strategy

keywordIndexConfig

Keyword index configuration

vectorStoreConfig

Vector store configuration

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def withRRF(k: Int): Config
def withVectorStore(config: Config): Config
def withWeightedScore(vectorWeight: Double, keywordWeight: Double): Config

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product