SearchType

org.llm4s.toolapi.builtin.search.SearchType
See theSearchType companion trait
object SearchType

Attributes

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

Members list

Type members

Classlikes

case object Auto extends SearchType

Exa selects the best strategy automatically (recommended for most queries).

Exa selects the best strategy automatically (recommended for most queries).

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SearchType
class Object
trait Matchable
class Any
Show all
Self type
Auto.type
case object Deep extends SearchType

Deep crawl search — most thorough but slowest; use when quality matters most.

Deep crawl search — most thorough but slowest; use when quality matters most.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SearchType
class Object
trait Matchable
class Any
Show all
Self type
Deep.type
case object Fast extends SearchType

Keyword-style fast search — best for exact-match or identifier lookups.

Keyword-style fast search — best for exact-match or identifier lookups.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SearchType
class Object
trait Matchable
class Any
Show all
Self type
Fast.type
case object Neural extends SearchType

Neural semantic search — best for natural-language, meaning-based queries.

Neural semantic search — best for natural-language, meaning-based queries.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait SearchType
class Object
trait Matchable
class Any
Show all
Self type
Neural.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

Value members

Concrete methods

def fromString(value: String): Option[SearchType]

Parse a raw string from configuration or user input into a SearchType.

Parse a raw string from configuration or user input into a SearchType.

Value parameters

value

Case-insensitive string (e.g. "auto", "neural")

Attributes

Returns

Some(SearchType) if recognised, None otherwise