Skip to main content

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:

  1. Helps learner to get feedback on their open response answer using Open AI
  2. Learner can improve answer on the basis of Open AI feedback
  3. Ability to mark Question complete in open edX
  4. 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 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.

Configure AI Coach XBlock Image

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

Preview Live XBlock

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

  1. 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. Set threshold from CMS

  2. The tooltip which appears when hovering over the Ask from coach button represents the chances to request feedback from AI Coach. Show Feedback chances

  3. 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." Tooltip represents remaining chances to ask feedback No remaining feedback chances

Submitting Answer

Submit button saves the learner answer and mark the completion of Xblock.

Submit Answer Xblock Completion

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

ai_coach_xblock-1.0.8.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_coach_xblock-1.0.8-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_coach_xblock-1.0.8.tar.gz.

File metadata

  • Download URL: ai_coach_xblock-1.0.8.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ai_coach_xblock-1.0.8.tar.gz
Algorithm Hash digest
SHA256 13578059b120d4f59703847e79fe5a79f2503727d57366210ebee1986be617eb
MD5 295a92db536ee1c3d40d8bd61cd79d62
BLAKE2b-256 05a369ff252e1246be486f976c38585178999f725518b0995d020200619e0a73

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_coach_xblock-1.0.8.tar.gz:

Publisher: publish_pypy.yml on edly-io/ai-coach-xblock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_coach_xblock-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_coach_xblock-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4a2885e21e205c53a7c9aae573a62175dab8268894104329da276d37253c4b55
MD5 ad9a1000206c1c0189b732b167a15aa8
BLAKE2b-256 dc9438cdf414e6651fe446d75b53b8fbce9f6e39191b2b3fbaa3ab9d6c8cbabb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_coach_xblock-1.0.8-py3-none-any.whl:

Publisher: publish_pypy.yml on edly-io/ai-coach-xblock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page