org.llm4s.eval.dataset.ExampleSelector
See theExampleSelector companion object
Selects a subset of examples from a dataset.
Pattern-match exhaustively over the three cases to handle all variants:
selector match {
case ExampleSelector.All => // return everything
case ExampleSelector.ByTags(ts) => // filter by tag intersection
case ExampleSelector.ByIds(ids) => // filter by exact ID membership
}
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
In this article