Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Moodle 4.5 Core AI subsystem #6

Open
wants to merge 4 commits into
base: forked
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,16 @@ Cron based evaluation. Allow for slow LLM systems by marking on a cron timer
If you are a Moodle developer and you use vscode/vscodium you should consider this plugin https://marketplace.visualstudio.com/items?itemName=LMSCloud.mdlcode.
It it very reasonably priced and will quickly save you time and frustration. It is the best Moodle development tool I have come accross in 20 years.

## Dependencies

This plugin uses a thirdparty library "jsdiff" (https://www.npmjs.com/package/diff) to display differences between the user's input and the corrected version provided by the AI tool. It's already packaged up, so you do not need to anything usually.

## Development

General moodle plugin development rules apply.

Besides that:

The "jsdiff" dependency is being declared as npm dependency in `package.json`, but is already deployed into the plugin's `amd/src` and - by running grunt - into the `amd/build` directory.

If you want or have to update the dependency, you will have to run `npm install` followed by `npm run deployJsDiff` to deploy the new version to the moodle plugin.
38 changes: 37 additions & 1 deletion amd/build/diff.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion amd/build/diff.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion amd/build/spellcheck.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/spellcheck.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading