38 lines
1.3 KiB
TypeScript
38 lines
1.3 KiB
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { AutoEvalContentBlock } from "./AutoEvalContentBlock";
|
|
import type { AutoEvalExampleSource } from "./AutoEvalExampleSource";
|
|
import type { AutoEvalExplanationQuestion } from "./AutoEvalExplanationQuestion";
|
|
import type { AutoEvalLabelQuestion } from "./AutoEvalLabelQuestion";
|
|
import type { UserQuestionAnswer } from "./UserQuestionAnswer";
|
|
|
|
/**
|
|
* A labeled example with its full context and submitted answers.
|
|
*/
|
|
export type AutoEvalLabeledExample = {
|
|
/**
|
|
* Optional since some behaviors only depend on the response
|
|
*/
|
|
maybe_excerpted_prompt: AutoEvalContentBlock | null;
|
|
/**
|
|
* Mandatory since we always need the response for evals
|
|
*/
|
|
maybe_excerpted_response: AutoEvalContentBlock;
|
|
source: AutoEvalExampleSource;
|
|
/**
|
|
* The multiple-choice labeling question for this example.
|
|
*/
|
|
label_question: AutoEvalLabelQuestion;
|
|
/**
|
|
* The user's answer to the label question.
|
|
*/
|
|
label_answer: UserQuestionAnswer;
|
|
/**
|
|
* An optional free-response explanation question.
|
|
*/
|
|
explanation_question?: AutoEvalExplanationQuestion;
|
|
/**
|
|
* The user's answer to the explanation question, if one was present.
|
|
*/
|
|
explanation_answer?: UserQuestionAnswer;
|
|
};
|