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

Enables AI Question generation #56

Merged
Merged
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
2 changes: 1 addition & 1 deletion src/controllers/creator.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ Enigma.controller 'enigmaCreatorCtrl', ['$scope', '$timeout', '$sce', ($scope, $

$scope.onSaveClicked = (mode = 'save') ->
qset = _buildSaveData()
msg = _validateQuestions qset
msg = if mode is 'history' then false else _validateQuestions qset
if msg
Materia.CreatorCore.cancelSave msg
else
Expand Down
6 changes: 6 additions & 0 deletions src/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ general:
is_qset_encrypted: Yes
is_answer_encrypted: Yes
is_storage_enabled: No
is_generable: Yes
api_version: 2
files:
creator: creator.html
Expand Down Expand Up @@ -41,3 +42,8 @@ meta_data:
A Jeopardy-like study and quiz tool.
Questions are separated into categorical
rows.
generation_prompt: >
Each index in the outermost items array represents a subject matter category related to the overall topic, with individual
questions contained within the inner items array for each category. Ideally, each category should contain roughly the same number
of questions. For example, if eight questions are requested, there might be two categories with four questions each. Categories should be
distinct sub-topics of the overall widget topic, and their corresponding questions should relate to the category sub-topic.
Loading