Skip to content

Commit

Permalink
Update to the settings.php and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed Dec 2, 2024
1 parent 62813a5 commit 4abf930
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
15 changes: 11 additions & 4 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,21 @@ It is now possible to select from three different "back end" systems for connect
* Moodle 4.5 AI Subsystem
* Local AI Manager

Tool AI Connect was the only way previously. The Moodle 4.5 AI subsystem only supports OpenAI ChatGPT and Microsoft Azure (which supports the Open AI Models)
Local AI Manager support Openai, Ollama, and has features to con
Tool AI Connect was the only way previously. The Moodle 4.5 AI subsystem only supports OpenAI ChatGPT and Microsoft Azure (which supports the Open AI Models).

Local AI Manager support Openai, Ollama, and has other interesting features including this from the readme

https://github.com/mebis-lp/moodle-local_ai_manager
https://github.com/marcusgreen/moodle-tool_aiconnect
https://github.com/mebis-lp/moodle-local_ai_manager/blob/main/README.md

"The AI manager provides the key feature of being a multi-tenant AI backend which is the main reason you should be using this plugin for providing AI functionality in your moodle instance instead of the moodle core AI subsystem."

Removed the ability to pick a different model for each question.

New configuration options in settings.php

Marks prompt in the editing interface is optional

Translation of the response is optional


### Release 0.01 of the Moodle AIText question type May 2024
Expand Down
6 changes: 1 addition & 5 deletions lang/en/qtype_aitext.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
$string['attachmentsoptional'] = 'Attachments are optional';
$string['automatic_spellcheck'] = 'Automatic spellcheck';
$string['backends'] = 'AI back end systems';
$string['backends_text'] = 'Backends text description of the systems';
$string['backends_text'] = 'Core AI System was introduced with Moodle 4.5, Local AI System is from https://github.com/mebis-lp/moodle-local_ai_manager and Tool AI System is from https://github.com/marcusgreen/moodle-tool_aiconnect';
$string['cachedef_stringdata'] = 'Cachedef stringdata';
$string['coreaisubsystem'] = 'Core AI Subsystem ';
$string['defaultmarksscheme'] = 'Marks scheme';
Expand All @@ -42,7 +42,6 @@
$string['defaultprompt_setting'] = 'This will be the default AI prompt for new questions. It tells the AI grader how to analyse the student response. It is the guideline that AI uses to give feedback on the student response. Question authors should alter this to suit the question.';
$string['disclaimer'] = 'Disclaimer';
$string['disclaimer_setting'] = 'Text appended to each response indicating feedback is from a Large Language Model and not a human';
$string['err_airesponsefailed'] = 'Error: {$a}';
$string['err_maxminmismatch'] = 'Maximum word limit must be greater than minimum word limit';
$string['err_maxwordlimit'] = 'Maximum word limit is enabled but is not set';
$string['err_maxwordlimitnegative'] = 'Maximum word limit cannot be a negative number';
Expand Down Expand Up @@ -99,8 +98,6 @@
$string['responseformat_setting'] = 'The editor the student uses when responding';
$string['responseisrequired'] = 'Require the student to enter text';
$string['responsenotrequired'] = 'Text input is optional';
$string['responsenotrequired'] = 'Text input is optional';
$string['responseoptions'] = 'Response options';
$string['responseoptions'] = 'Response options';
$string['responsetemplate'] = 'Response template';
$string['responsetemplate_help'] = 'Any text entered here will be displayed in the response input box when a new attempt at the question starts.';
Expand All @@ -118,7 +115,6 @@
$string['thedefaultmarksscheme'] = 'Deduct a point from the total score for each grammar or spelling mistake.';
$string['thedefaultprompt'] = 'Explain if there is anything wrong with the grammar and spelling in the text.';
$string['toolaimanager'] = 'Tool AI Manager';
$string['untestedquestionbehaviour'] = 'Untested question behaviour';
$string['use_local_ai_manager'] = 'Use AI backend provided by local_ai_manager plugin';
$string['use_local_ai_manager_setting'] = 'Use the local_ai_manager plugin to process AI related queries (must be installed)';
$string['wordcount'] = 'Word count: {$a}';
Expand Down

0 comments on commit 4abf930

Please sign in to comment.