Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface TopicRule

    interface TopicRule {
        action: GuardrailAction;
        category: TopicCategory;
        enabled: boolean;
        id: string;
        keywords: string[];
        name: string;
        patterns?: RegExp[];
        redirectMessage?: string;
        severity: number;
    }
    Index

    Action to take when topic is detected

    category: TopicCategory
    enabled: boolean
    id: string
    keywords: string[]

    Keywords that signal this topic

    name: string
    patterns?: RegExp[]

    Regex patterns for more precise matching

    redirectMessage?: string

    Redirect message if action is 'redirect'

    severity: number

    Severity level (1 = low, 5 = critical)