<?xml version="1.0"?>
<!--
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
-->

<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
    <group id="general" translate="label" sortOrder="20" showInDefault="1" showInWebsite="0" showInStore="0">
        <label>Set default Tones, Style, and Audience</label>
        <frontend_model>WriteTextAI\WriteTextAI\Block\Adminhtml\System\Config\Form\Fieldset</frontend_model>
        <field id="tones" translate="label comment" type="multiselect" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
            <label>Tones</label>
            <source_model>WriteTextAI\WriteTextAI\Model\Config\Source\Tones</source_model>
            <backend_model>WriteTextAI\WriteTextAI\Model\Config\Source\DefaultValues\Tones</backend_model>
            <frontend_model>WriteTextAI\WriteTextAI\Block\Adminhtml\System\Config\Field\Combination</frontend_model>
            <validate>required-entry</validate>
            <comment>Select one or more tones to set the overall mood and attitude of the text. What you choose here will apply to all your products unless you choose different options for a specific product page. We recommend setting defaults in order to ensure a consistent voice throughout your entire website.</comment>
        </field>
        <field id="styles" translate="label comment" type="radios" sortOrder="20" showInDefault="1" showInWebsite="0" showInStore="0">
            <label>Style</label>
            <source_model>WriteTextAI\WriteTextAI\Model\Config\Source\Styles</source_model>
            <backend_model>WriteTextAI\WriteTextAI\Model\Config\Source\DefaultValues\Styles</backend_model>
            <frontend_model>WriteTextAI\WriteTextAI\Block\Adminhtml\System\Config\Field\Combination</frontend_model>
            <validate>required-entry</validate>
            <comment>Choose a style to set the voice and structure of the text. What you choose here will apply to all your products unless you choose different options for a specific product page. We recommend setting a default in order to ensure a consistent voice throughout your entire website.</comment>
        </field>
        <field id="audiences" translate="label comment" type="multiselect" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0">
            <label>Audience</label>
            <source_model>WriteTextAI\WriteTextAI\Model\Config\Source\Audiences</source_model>
            <backend_model>WriteTextAI\WriteTextAI\Model\Config\Source\DefaultValues\Audiences</backend_model>
            <frontend_model>WriteTextAI\WriteTextAI\Block\Adminhtml\System\Config\Field\Combination</frontend_model>
            <can_be_empty>1</can_be_empty>
            <comment>Select one or more audiences for your product so WriteText.ai can generate text that will appeal to them. If you don’t select an audience, the generated text will default to a “neutral” audience. What you choose here will apply to all your products unless you choose different audiences for a specific product page.</comment>
        </field>
    </group>
</include>
    