language_check - Evaluation-options - Feedback Aide API

Feedback Aide API Evaluation Options

language_check

Checks if the essay response is written in the expected language.

You would want to use this to ensure that responses are submitted in the required language for the assessment.

Important Only available for essay models.

Examples

// Example for evaluate endpoints
{
    "options": {
        "language_check": {
            "enabled": true,
            "expected_language": "en"
        }
    }
}

// Example using the JavaScript API
const feedbackSession = await feedbackApp.feedbackSession(
    { /* security token */ },
    {
        state: '...',
        session_uuid: '...',
        // ...

        options: {
            language_check: {
                enabled: true,
                expected_language: "en"
            }
        },
    }
);

Values

Type object

Properties

  • enabled boolean

    Enable or disable language checking for essay responses.

  • expected_language string

    Sets the expected language the response should be in.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.