Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+5 votes
184 views
in Plugins by

Are you looking for a way to enhance the quality of question titles on your Question2Answer (Q2A) platform? Introducing the GPT-4 Title Generator Plugin, a free plugin that uses OpenAI's GPT-4 language model to automatically generate meaningful, SEO-optimized titles based on the content provided by users.

Key Features:

  • Automatic Title Generation: The plugin uses GPT-4 to analyze the content of each question and create an improved title.
  • User Approval: Users can either accept the generated title, modify it, or keep their original title.
  • Failsafe Mechanism: If the GPT-4 API fails to respond or times out, the question is submitted with the original title.
  • Easy Integration: The plugin is simple to install and can be enabled or disabled from the Q2A admin panel.

How It Works:

  1. Ask a Question: Users submit their question with a title and content.
  2. Title Enhancement: The GPT-4 API analyzes the content and generates an optimized title.
  3. User Control: The user is presented with the new title and can either accept, edit, or reject it.
  4. Seamless Publishing: The question is then published with the selected title, ensuring better visibility and SEO.

How to Install:

  • Download the plugin from the repository.
  • Upload it to the qa-plugin directory.
  • Add your OpenAI API key in the qa-gpt4-title-generator.php file.
  • Activate the plugin through the admin panel.

This plugin is completely free and helps you improve user engagement by ensuring that all questions have optimized and meaningful titles. Download now and enhance your Q2A site today!

https://github.com/kksal55/q2a-gpt4-title-generator

by
Nice work. Let me give it a try.

1 Answer

0 votes
by
I have tried this. I set everything as your documentation and requirement. But it is not working for me. When ask a question, instead of showing modal popup, it is creating a question page. I also checked the API Uses in OpenAI dashboard but no API request was found.
by
edited by
Did you replace this line $api_key = 'YOUR_OPENAI_API_KEY'; with your API key?
I think it's most likely related to your API code if the question is being asked directly without the notification window opening. When I tested it with different sites and API codes, it seems to be working fine. However, I will still check it.
by
Yes, I replaced the API Key.
...