org.llm4s.eval.dataset.ExampleSelector
See theExampleSelector companion trait
object ExampleSelector
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ExampleSelector.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 Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ExampleSelectorclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait ExampleSelectorclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait ExampleSelectorclass Objecttrait Matchableclass AnyShow all
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