Settings'; array_push($links, $settings_link); } return $links; } add_filter('plugin_action_links', 'aireply_add_plugin_page_settings_link',10,2); // Define settings page HTML function aireply_comment_reply_settings_page() { if ( ! current_user_can( 'manage_options' ) ) { wp_die( __( 'You do not have sufficient permissions to access this page.' ) ); } $openai_api_key = get_option( 'openai_api_key' ); $max_tokens = get_option( 'openai_max_tokens' ); $temperature = get_option( 'openai_temperature' ); $openai_model = get_option( 'openai_model' ); ?>

Reply with ChatGPT Settings

OpenAI API Key
  • Go to the https://openai.com/product
  • Click on the “Get started” button.
  • Create an account or just Continue with your Google or Microsoft Account
  • Once your registration is complete, you will receive an email with instructions on how to activate your account.
  • Once your account is activated, log in to the OpenAI API dashboard.
  • Click on the “API Keys” tab and then click the “Create new secret key” button.
  • Copy the API key and paste it here.
Model
Maximum Words Range from 1 to 2048, recommend value of 100 - 500 for generating short replies to comments
Creativity Range from 0 to 1, lower value (e.g. 0.1 to 0.3) for more conservative and predictable, higher value (e.g. 0.7 to 1.0).) for more creative and unpredictable