Catalog PyPI
PACKAGE EXPLORERView in registry

ai-coach-xblock

PyPI

AI Coach Xblock evaluates open response answer of a question using Open AI

Versions collected1
Direct dependencies3From release 1.1.0
Last observed21 Oct, 10:10 UTC

README

Version 1.1.0 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.012 Mar 20253

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

ACCESSIBLE
edly-io/ai-coach-xblock

Shared repository data · GitHub

License detected in repository
GPL-3.0
License branch / ref
main
Last push
12 Mar 2025
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

8count
Gauge · observed snapshots23 Oct 2026
840
2026-10-23: 8 · observed 2026-10-23T17:57:21.2898560Z
23 Oct23 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2382026-10-23T17:57:21.2898560Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:1784863410a0b616c748360f7b60f166488e9b9c868508eea3cb2aae64300c70