SearchType

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

Attributes

Companion
trait
Source
ExaSearchTool.scala
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

Source
ExaSearchTool.scala
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

Source
ExaSearchTool.scala
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

Source
ExaSearchTool.scala
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

Source
ExaSearchTool.scala
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

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

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

Source
ExaSearchTool.scala