agents.moderation.inappropriate_content.enabled - Evaluation-options - Feedback Aide API

Feedback Aide API Evaluation Options

enabled

Using Feedback Aide Agents will result in additional credit usage. For more information, reach out to your Learnosity Customer Success Manager.

Controls whether to use the content moderation checking for inappropriate content in responses.

You would want to use this to enable response moderation for inappropriate content.

Examples

// Example for evaluate endpoints
{
    "options": {
        "agents": {
            "moderation": {
                "inappropriate_content": {
                    "enabled": true
                }
            }
        }
    }
}

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

        options: {
            agents: {
                moderation: {
                    inappropriate_content: {
                        enabled: true
                    }
                }
            }
        },
    }
);

Values

Default false

Type boolean

Was this article helpful?

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