<?php

namespace ZenoChatbot\Services\Chat;

class FallbackPolicy
{
    public bool $allowAI = true;
    public bool $strictSavedOnly = false;
    public float $confidenceThreshold = 0.0;

    public static function strict(): self
    {
        $p = new self();
        $p->strictSavedOnly = true;
        $p->allowAI = false;
        return $p;
    }
}
