<?php
namespace GriffinForms\Admin\Language;

class Ai extends \GriffinForms\Admin\Language\Settings
{
    protected static $instance;

    public static function getInstance()
    {
        if (self::$instance == null)
        {
            self::$instance = new Ai();
        }
        
        return self::$instance;
    }
    
    private function __construct() 
    {
    }

    protected function ai_providerLabel()
    {
        return __('AI Provider', 'griffinforms-form-builder');
    }

    protected function ai_providerDescription()
    {
        return __('Select the LLM provider to power Griffin Assist. "Mock" can be used for local testing without API costs.', 'griffinforms-form-builder');
    }

    protected function ai_timeoutLabel()
    {
        return __('Generation Timeout (seconds)', 'griffinforms-form-builder');
    }

    protected function ai_timeoutDescription()
    {
        return __('How long to wait for the AI to respond before aborting. Default is 20 seconds.', 'griffinforms-form-builder');
    }

    protected function butleractiveproviderLabel()
    {
        return __('Active AI Provider', 'griffinforms-form-builder');
    }

    protected function butleractiveproviderDescription()
    {
        return __('Choose which configured AI integration powers Griffin Assist. Provider credentials are managed from the Integrations modal.', 'griffinforms-form-builder');
    }

    protected function butlergenerationtimeoutLabel()
    {
        return __('AI Response Timeout', 'griffinforms-form-builder');
    }

    protected function butlergenerationtimeoutDescription()
    {
        return __('How long to wait for a response before cancelling. Increase this if you experience frequent timeouts.', 'griffinforms-form-builder');
    }

    protected function aidatasharingacknowledgedLabel()
    {
        return __('AI Data Sharing Acknowledgement', 'griffinforms-form-builder');
    }

    protected function aidatasharingacknowledgedDescription()
    {
        return __('Griffin Assist may send relevant form context to your configured AI provider. This acknowledgement is required before external AI requests are allowed.', 'griffinforms-form-builder');
    }
}
