AI Text icon

AI Text

Maintained by Marcus Green
Question type that uses a Large Language Model for feedback
Price option: Free
Supports Moodle 4.4-5.2 See all versions

Latest release: 1 week ago
Installations: 409
Downloads (last 90 days): 333

Frankenstyle name: qtype_aitext
Question types

Description

Report any issue here https://github.com/marcusgreen/moodle-qtype_aitext/issues

This Moodle question type accepts free text which is then evaluated by a remote Large Language Model AI system such as ChatGPT, Groq, Together.ai etc. Each question can have its own feedback and grading prompts. It requires either a paid for ChatGPT api account which will give access to ChatGPT4 or other Large Language Model such as Ollama or Groq.com

It requires the creation of a prompt to evaluate the text according to its purpose and an optional marking scheme. For example for a question

"Write an English sentence in the past tense"

The prompt could be

"Explain if there is anything wrong with the Grammar in this text."

An example mark scheme could be

Give 10 marks if there are no errors and all spelling is correct and it is in the past tense. Give 0 marks if the grammar is incorrect. Deduct one mark, every word where the spelling is incorrect"

There is a prompttester field in the quesition editing form which uses ajax to test out prompts without needing to go through the quesiton preview screen.

Contributors

Awards

Automated testing support
Privacy friendly
Early bird 5.1
Early bird 5.2