org.llm4s.rag.benchmark.GroundTruthGenerator
See theGroundTruthGenerator companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Create a generator with default options.
Create a generator with default options.
Attributes
Create a generator with custom options.
Create a generator with custom options.
Attributes
Generate and save a dataset in one call.
Generate and save a dataset in one call.
Value parameters
-
datasetName
-
Dataset name
-
documents
-
Source documents
-
llmClient
-
LLM client
-
outputPath
-
Output JSON file path
-
questionsPerDoc
-
QA pairs per document
Attributes
-
Returns
-
Unit or error