Wordpress plugin core logic repair

Closed job
DevAction
DevAction
Employer
2 deals
Job category:
Desktop/web applications
Expected budget:

Negotiable

Preferable skills:
Published:
Valid until:

Job description

The plug-in is an article generator with the help of OpenAI. You write a piece of text and with the help of toolbar choose what it should do "Generate idea", "Continue text", "Write paragraph".

Each of these options does a query and gets an answer, and now it depends on the option, either it should add new text underneath, or replace the old text with new text. For example, I would like it to insert a new RichText block into the generated ideas. Marking the generated idea I would like, to generate a paragraph, but the problem is that to OpenAi you have to pass the context of the previous statement, or use another API method, and currently the text is generated in the same block and to the variable is passed the whole text, not a fragment / selection.

To summarize:

  • Improving the plugin so that it works according to the user's feeling.
  • Generated text preferably to create a new text block, or know where to insert if the text was previously selected, or from the context.

Required functions: