Interface PearsonAssistantConfig

An AI assistant provisioned on a template by a CodeGrade admin.

interface PearsonAssistantConfig {
    features: "ACCESS_TO_PAGE"[];
    guardrails: AssistantGuardrails;
    model: AssistantModel;
    name: string;
    systemPrompt: string;
}

Properties

features: "ACCESS_TO_PAGE"[]

The features this assistant has, empty for an assistant that needs none. Required rather than optional, so provisioning states the answer instead of an omission deciding it. ACCESS_TO_PAGE is what lets an assistant read the page the student is working on.

The guardrail level this assistant converses under. Required, so a provisioned assistant can never fall back to the create-path default of no guardrails at all.

The model this assistant runs on.

name: string

The name students see for this assistant.

systemPrompt: string

The system prompt this assistant carries.