AI Coach Xblock evaluates open response answer of a question using Open AI
Project description
AI Coach XBlock
AI Coach Xblock helps learner in improving their answers by levering power of AI. It evaluates open response answer of a question using Open AI and provides feedback to learner.
It has the followig features:
- Helps learner to get feedback on their open response answer using Open AI
- Learner can improve answer on the basis of Open AI feedback
- Ability to mark Question complete in open edX
- Save learner answer which can be retrieved later
Setup
pip install ai-coach-xblock
Update Settings of LMS and CMS
Add the OPEN AI secret key in the lms and cms configuration file
OPENAI_SECRET_KEY='set-secret-key'
Update Advanced Settings of course
Update course advanced settings by adding ai_coach
as shown in below image
Update settings of AI Coach Component
AI Coach Xblock will be available in Advanced component of course unit now. Add "AI Coach" xblock in unit and click "Edit" button to
add question
& question context
and configure it.
Context
is the context of question with answer which is provided to OpenAI for feedback generation. Question and Learner Answer is integrated into context using{{question}}
and{{answer}}
keywords which automatically picks question & learner aswer value. Example:I am grade 8 student studying leadership. My teacher asked me question: {{question}} . I answered {{answer}} . Provide two tips to improve my answer as a grade 8 student.
Publish Content
Use "Preview" button to preview it or publish your content and use "View Live Version" button to see how it appears on LMS
Ask For Feedback
After adding answer, learner click on Ask from Coach
button for feedback. Feedback is provided by OPEN AI on the basis of question context and answer.
Setting the feedback threshold
-
The feedback threshold represents the maximum number of times a learner can request feedback. You can configure the feedback threshold by accessing the AI Coach Component settings in the CMS.
-
The tooltip which appears when hovering over the
Ask from coach
button represents the chances to request feedback from AI Coach. -
Once all available chances to request help from the coach have been utilized,
Ask from coach
button will be disabled and learners will see the following message on tooltip: "You have exhausted all available opportunities to seek guidance from the coach."
Submitting Answer
Submit button saves the learner answer and mark the completion of Xblock.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ai_coach_xblock-1.0.7.tar.gz
.
File metadata
- Download URL: ai_coach_xblock-1.0.7.tar.gz
- Upload date:
- Size: 22.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 781220d28cf3db634d7c35b72606cc68e3b1f919603b8e0dff2f60a3eb23b03c |
|
MD5 | 889eb19eda2804aad3cb4ec3d6880422 |
|
BLAKE2b-256 | 83b64a77d0300f94b179e31887946cf12ec3eafe0d5b27170e3613b7c37ad51d |
File details
Details for the file ai_coach_xblock-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: ai_coach_xblock-1.0.7-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b9b7bc7f90f3abc42cfb45e9278347c1922c2e0bd200f9387d0f9900e4890e8 |
|
MD5 | de99550dd11d23a3730c9cf140c8b6d4 |
|
BLAKE2b-256 | ef63b84bde31be9bc70e87749a60bad514a2ec9948830e3d9520f7a5e980f5eb |