Interface AutoTestPromptEngineeringQuestionStepOutput

Create a question answered by writing a prompt which uses AI to generate the answer. This question will be automatically generated for the student in the code editor under the parent quiz of this question.

interface AutoTestPromptEngineeringQuestionStepOutput {
    answerFilename: string;
    answerLanguage: string;
    children: AutoTestTestStepOutput[];
    id: string;
    name: string;
    question: string;
    systemPrompt: string;
}

Properties

answerFilename: string

The name of the file where the code will be generated. The file type will determine the programming language used.

answerLanguage: string

The programming language that the generated answer will be written in.

The children of this wrapper step.

id: string

The id of this step.

name: string

The name of this step.

question: string

The question that the student will answer using a prompt for the AI.

systemPrompt: string

This system prompt is in addition to the internal prompt which instructs the AI to answer using code in the language related to the answer file.