Aia - Ai Assistant

Version 1.0.2
Released On
Updated On
File Size 44.66 Kb
MD5 Signature 87e3e0192287327efc224e399867692c
Licence GNU General Public License, Version 2 or later

Leverage the ChatGPT AI to produce dynamic content or refine existing material.

Installation

Install using the Joomla Extensions Installer - https://docs.joomla.org/Installing_an_extension

After installation, assign the plugin to an Editor Profile in Editor Profiles -> Features & Layout by dragging the icon into an editor toolbar row.

Usage

This plugin requires access to the ChatGPT OpenAI API - https://platform.openai.com - and a credit balance in your in your OpenAI Account.

Once you have signed up for the API, generate an API key - https://platform.openai.com/settings/profile?tab=api-keys - copy the key, and paste it into the API Key field in the Aia parameters in Editor Profiles -> Plugin Parameters -> Aia. Aia supports Legacy User API keys and Project API Keys.

PLEASE NOTE: OpenAI does provide limited free access using the gpt-3.5-turbo model only. Continued use of the ChatGPT OpenAI API via the Aia plugin may require you to purchase additional access to the OpenAI API in your OpenAI Account.

Set the OpenAi API Key

Set any other parameter options as required. For example, select an appropriate GPT Model to use:

Generate content using the Aia dialog

Sending a request using the Aia dialog

Generate content using a Textpattern

Prefixing any prompt in a block element (paragraph or div) with the :ai prefix will send the prompt as a request to Aia and replace the prompt and prefix with the result.

Sending a request using the textpattern :ai prefix

Process or generate content using Custom Preset Prompts

Preset Prompts can be easily created within the Plugin Parameters by assigning a Name and a Prompt instruction. These prompts can either be utilized on selected HTML content or employed to generate fresh text. Preset Prompts will be accessible from the Ai button menu.

Create Preset Prompts to process or generate new content
Example Custom Prompts created in the Aia Plugin Parameters

Accept or Reject Edits on processed content

Before inserting AI-processed content, users can preview the differences made to the selected content. If the Show Differences option is activated during insertion, these alterations will be highlighted within the editor. Users then have the flexibility to accept or reject changes, either on an individual basis or collectively.

Accept and Reject changes made by the AI to selected content
Show Differences in the original and processed content and Accept and Reject edits.

Spellcheck content using Aia

Enabling the Spellcheck option in the parameters changes the Spellcheck button into a context-sensitive spellcheck using Aia. This tool not only checks spelling but also understands the context of the text, supporting multiple languages seamlessly.

Enable the Spellcheck option in the Aia Parameters

Click the Spellcheck button to perform the spellcheck. Once the spellcheck is complete, words marked as misspelled can be corrected by clicking on each marked word and selecting the suggested correction. Click Ignore Word to accept the word as spelled, Ignore All to ignore all suggestions. Click the Spellcheck button again to reset the spellcheck and remove the markers.

Perform a multi-language spellcheck using Aia