ExampleSelector

org.llm4s.eval.dataset.ExampleSelector
See theExampleSelector companion trait

Attributes

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

Members list

Type members

Classlikes

case object All extends ExampleSelector

Returns all examples in the dataset without filtering.

Returns all examples in the dataset without filtering.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
All.type
final case class ByIds(ids: Set[ExampleId]) extends ExampleSelector

Returns only the examples whose ExampleId appears in ids.

Returns only the examples whose ExampleId appears in ids.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class ByTags(tags: Set[String]) extends ExampleSelector

Returns examples that have at least one tag in common with tags. An empty tags set always produces an empty result.

Returns examples that have at least one tag in common with tags. An empty tags set always produces an empty result.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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