ResponsesRunDataSource class

Responses-based data source for evaluation runs.

This data source type allows running evaluations with model sampling, where the model generates responses that are then evaluated.

Inheritance
Annotations
  • @immutable

Constructors

ResponsesRunDataSource({required ResponsesSource source, String? model, InputMessages? inputMessages, EvalSamplingParams? samplingParams})
Creates a ResponsesRunDataSource.
const
ResponsesRunDataSource.fromJson(Map<String, dynamic> json)
Creates a ResponsesRunDataSource from JSON.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
inputMessages InputMessages?
Input messages configuration for model sampling.
final
model String?
The model to use for generating responses.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingParams EvalSamplingParams?
Parameters for model sampling.
final
source ResponsesSource
The source for item data (populates the item namespace).
final
type String
The type of run data source.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override