Package com.rpl.agentorama
Interface ExampleRun
public interface ExampleRun
Represents a single example run for summary evaluators..
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExampleRunCreates a new example run with the specified input, reference output, and actual output.<T> TgetInput()Gets the input data for this example run.<T> TGets the actual output for this example run.<T> TGets the reference output for this example run.
-
Method Details
-
create
Creates a new example run with the specified input, reference output, and actual output.- Parameters:
input- the input data for the examplereferenceOutput- the expected/reference outputoutput- the actual output from the agent- Returns:
- the example run instance
-
getInput
<T> T getInput()Gets the input data for this example run.- Type Parameters:
T- the type of the input data- Returns:
- the input data
-
getReferenceOutput
<T> T getReferenceOutput()Gets the reference output for this example run.- Type Parameters:
T- the type of the reference output- Returns:
- the reference output
-
getOutput
<T> T getOutput()Gets the actual output for this example run.- Type Parameters:
T- the type of the actual output- Returns:
- the actual output
-