-
New Feature
-
Resolution: Duplicate
-
Minor
-
None
-
Future Dev
Provide a way for users to interact with an AI Action to generate text based on a description and LMS contextual information, from within the TinyMCE editor interface and allow this content to be inserted into existing content.
This will use the same placement as MDL-80891. This tracker will add support for an additional action to MDL-80891.
This tracker will cover the initial implementation which will be basic text generation and insertion. There will be a following tracker to add greater configuration options
Inline with our AI Principles we will need to provide notification to users that they are using an AI enhanced service, and provide them a way to understand what this means.
Also generated text content should be tagged (indicated in markup etc.) that it was generated with the assistance of AI, to allow future identification of AI generated content.
Technical Spike Plugin: https://github.com/mattporritt/moodle-tiny_ai
TODO:
- Action selection:
- Currently the action selection displayed in the toolbar and Insert menu of TinyMCE do not respect the enabled action settings for this Placement, only enabled actions should be available
- Related to the above only actions that have a provider that can provide the action should be available
- Related to the above only users with the required capability for that action in this placement should be able to use the action. The capabilities already exist, they are just not being respected.
- We should follow the same pattern as what was implemented in
MDL-81212for how to display the actions.
- Error handling:
- There is currently error handling if the API returns an error, but it is general
- We should add a specific message for when the error is due to a rate limit
- We should add a specific message for when the error is due to a content moderation or AI guard rail issue.
- There is currently a “bug” where after an error with generating an image and then the next generation succeeds, the error class isn’t removed from the preview window.
- duplicates
-
MDL-80891 AI placement - Text Editor (image and text)
-
- Closed
-