BenchmarkSuite

org.llm4s.rag.benchmark.BenchmarkSuite
See theBenchmarkSuite companion object
final case class BenchmarkSuite(name: String, description: String, experiments: Seq[RAGExperimentConfig], datasetPath: String, subsetSize: Option[Int], seed: Long)

A suite of benchmark experiments to run together.

Groups related experiments for systematic comparison. Provides pre-built suites for common comparison scenarios.

Value parameters

datasetPath

Path to the evaluation dataset JSON file

description

What this suite tests

experiments

The experiments in this suite

name

Suite identifier

seed

Random seed for reproducible sample selection

subsetSize

Optional limit on samples to evaluate (for quick tests)

Attributes

Example
val suite = BenchmarkSuite.chunkingSuite("data/datasets/ragbench/test.json")
val results = runner.runSuite(suite)
Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getExperiment(name: String): Option[RAGExperimentConfig]

Get experiment by name

Get experiment by name

Attributes

def quick(sampleCount: Int): BenchmarkSuite

Create a quick version with limited samples

Create a quick version with limited samples

Attributes

def size: Int

Number of experiments in this suite

Number of experiments in this suite

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product