Hi Johan,
Thank you for the kind words about the plugin! I’m glad you’ve found it.
Regarding your questions:
Shortcode for Displaying the Summary: The shortcode you mentioned was originally intended to allow customization of the title, button, colors, and other elements. However, you can now achieve all of this through the “Override” checkbox available on each post or page. This gives you more control directly within the editor without needing to use a shortcode. The documentation will be updated. Thank you for letting me know.
Adjusting the Prompt: Since this is an AI-powered assistant, it’s more than just a prompt. There is an initial set of instructions but what sets this apart is that it’s using function calling via the Assistant. You can fine tune these by logging into the OpenAI Playground. Simply head over to the “Assistants” section, and you’ll find your assistant and the options to tweak the prompt to your liking. This sounds like a good idea for the next update though!
The main parts are very simple.
‘description’ => ‘This Assistant extracts the top 5 key points from a given article and returns them in a JSON format being sure to use the extract_key_points
function.’
‘instruction’ => “When provided with a message containing the content of an article, analyze the article and identify the top 5 key points. Call the extract_key_points
function to return these points in a JSON format.
The ‘extract_key_points’ function just makes sure the Assistant gives us back the format we need every single time.
I hope this helps! If you have any more questions or need further assistance, feel free to reach out.
Best regards,
James