DatasetSnapshot

org.llm4s.eval.dataset.DatasetSnapshot
final case class DatasetSnapshot[I, O](snapshotId: SnapshotId, datasetId: DatasetId, examples: List[Example[I, O]], createdAt: Instant)

An immutable point-in-time copy of the examples in a Dataset.

Snapshots are created by DatasetStore.createSnapshot and are unaffected by subsequent mutations to the originating dataset.

Type parameters

I

input type

O

output type

Value parameters

createdAt

snapshot creation timestamp

datasetId

the dataset from which the snapshot was taken

examples

the frozen example list at snapshot time

snapshotId

unique identifier for this snapshot

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product