Globebyte Documentation
  • AI Agents for Learning
  • Assess for Learning
    • Creating the Assess Connected App
    • Setting up Assess for Learning
    • Viewing Assessments
    • Assessment Outcomes & Validation
    • Marking
    • Best Practices
  • Tutor for Learning
    • Setting up Tutor
    • Agent Actions
      • Tutor_Mark
      • Tutor_Task
      • Tutor_Criterion
      • Tutor_SenseMaking
      • Tutor_Instruction
    • Topics
      • Tutor_Assessment
      • Tutor_Knowledge
  • Data for Learning
  • Actions for Learning
    • Creating the xAPI Actions Connected App
    • Setting up xAPI Actions
    • Creating your first xAPI Action Flow
    • xAPI Statement Data explorer
      • Metadata
      • xapiActor
      • xapiVerb
        • Verb reference
      • xapiObject
      • authority
      • xapiResult
      • xapiContext
    • Filtering xAPI Statements
    • Viewing xAPI Statements
    • Viewing xAPI Usage
    • Setting a default statement language
    • Error messages and troubleshooting
  • Experience for Learning
    • Setting up xAPI for Salesforce
    • Send xAPI from a Flow
    • Form Action fields
    • Send xAPI from Apex
    • xApiStatement Class reference
      • Actor
      • Verb
      • Object
      • Context
      • Result
      • Authority
      • Version
      • Send methods
    • Logging and defaults
  • Learning Journey Model
    • Introduction
    • Curriculums & Pathways
    • Courses & Modules
    • Pedagogies & Objectives
    • Rubrics & Criteria
    • Learning Resources
    • Assessments & Tasks
    • Learning Groups
    • Step-by-step working example
    • Activity Tracking (Advanced)
    • Additional Pedagogies Reference
    • Best Practices
    • Assess for Learning Integration
    • Data for Learning Integration
    • Object References
      • Learning Curriculum
      • Learning Pathway
      • Learning Course
      • Learning Module
      • Learning Pedagogy
      • Learning Objective
      • Learning Objective Assignment
      • Learning Rubric
      • Learning Rubric Criterion
      • Learning Rubric Model Solution
      • Learning Resource Type
      • Learning Resource
      • Learning Assessment
      • Learning Text Task
      • Learner Text Attempt
      • Learner Text Criterion Score
      • Learning Choice Task
      • Learner Choice Attempt
      • Learner Mark
      • Learning Group
      • Learner Group Membership
      • Learner Activity
      • Learner Activity Instance
      • Learner XAPIStatement
      • Developer Cheat Sheet: Key LDM Objects
  • Globebyte.com
Powered by GitBook
On this page
  • 1. Prerequisites
  • 2. Setup Agent Actions
  • 3. Setup Topics
  • 4. Setup Validation
  1. Tutor for Learning

Setting up Tutor

PreviousTutor for LearningNextAgent Actions

Last updated 2 months ago

Welcome to the Tutor for Learning documentation! built for Agentforce, Tutor is a powerful extension to our agent, designed to enhance the assessment experience by providing the learner with an AI interface into their assessment data.

By combining personalized learning with intelligent feedback, Tutor for Learning fosters deeper engagement and more effective outcomes for every learner.

You’ll find everything you need here to setup and manage Tutor.

The Tutor for Learning v1.0.0 package consists of five Invocable Apex Classes. These Apex Classes are intended to be set up as Agent Actions and assigned to Topics in Agentforce. The below steps provide complete setup instructions for these Agent Actions, as well as setup details for two Topics to assign the Agent Actions to.

1. Prerequisites

  1. Ensure you are running an Org with the 'Einstein1AIPlatform' license installed. This license is required in order to run Agentforce in the Org.

  2. Ensure the (LDM), , and packages are installed in your Org.

  3. Enable ‘Einstein Copilot for Salesforce’ in your Org:

  1. Enable ‘Einstein Bots’ in your Org:

2. Setup Agent Actions

The Tutor for Learning package consists of the following Invocable Apex Classes:

  • Tutor_Mark

    • Description: Retrieves the overall learner mark, feedback, and instructional feedback types for a given assessment.

  • Tutor_Task

    • Description: Retrieves the individual learner task scores, feedback, and instructional feedback types for a given assessment.

  • Tutor_Criterion

    • Description: Retrieves the individual learner criterion scores, feedback, and instructional feedback types for a given task in an assessment.

  • Tutor_SenseMaking

    • Description: Queries the generated AI model for specific course knowledge covered by an assessment.

  • Tutor_Instruction

    • Description: Queries the generated AI model for instructional guidance on knowledge covered by an assessment.

The below steps will refer to specific sections in these configuration detail pages. For each Invocable Apex Class, follow the below steps to setup the Agent Action for Agentforce:

  1. Select ‘Agent Actions’ inside ‘Setup’ and press ‘New Agent Action’:

  1. Select ‘Apex’ as the Reference Action Type and select one of the Tutor for Learning Apex Classes from the list, then press ‘Next:

Checks for filling out configuration details:

  • Ensure all of the following sections are filled out correctly:

    • Agent Action Instructions

    • Inputs:

      • Instructions

      • Advanced Settings

    • Outputs:

      • Instructions

      • Advanced Settings

  • Capture all formatting as provided in the configuration details document including bullet points.

  • Once all configuration details are complete, press ‘Finish’.

Repeat steps 1-3 for all five Apex Classes. Once complete you should have five new Agent Actions.

3. Setup Topics

There are two Topics that are recommended for configuration to effectively utilise Tutor for Learning. These Topics are as follows:

  • Tutor_Assessment

    • Description: Provides the Agentforce Agent with the ability to discuss and educate a student on their graded performance against a particular assessment.

  • Tutor_Knowledge

    • Description: Provides the Agentforce Agent with the ability to converse with a student on specific course material covered by an assessment.

The below steps will refer to specific sections in these configuration detail pages. It is currently recommended to use the ‘Einstein Copilot’ Agent when configuring Topics and applying Agent Actions. Follow the below steps to setup each Topic:

  1. Select ‘Agents’ inside ‘Setup’. On the ‘Einstein Copilot’ Agent press the down arrow and then press ‘Open in Builder’:

  1. Select the ‘Topics’ tab from the side bar. Ensure to remove all default Topics from the Einstein Copliot Agent first, then press ‘New’ and ‘New Topic’:

Checks for filling out configuration details:

  • Ensure all of the following sections are filled out correctly:

    • Topic Label

    • Classification Description

    • Scope

    • Instructions

    • Example User Input

  • Capture all formatting as provided in the configuration details document including bullet points. The numbered breaks in the configuration details document, e.g. ‘1---’, indicate a new instruction or example user input to be added.

  • Once all configuration details are complete, press ‘Next’.

  1. Search for ‘Tutor’ in the search bar, then select all the Agent Actions to apply to the Topic as stated in the configuration details document, then press ‘Finish’:

Repeat steps 2-4 for both Topics. Once complete you should have two Topics with the correct Agent Actions applied to them.

4. Setup Validation

After completing all setup steps, press ‘Activate’ on your Agent inside of Agent Builder:

  1. Start the chat with: ‘Please tell me my assessment grades’. Then proceed in order with each subsequent query:

  2. ‘The assessment name is <INSERT_ASSESSMENT_NAME>.’

  3. ‘My email is <INSERT_CONTACT_EMAIL>.’

  4. ‘Can I see my overall instructional feedback?’.

  5. ‘Can I see how to improve my overall score by one grade?’.

  6. ‘Can I see my score for Question 1 only?’

  7. ‘Can I see this score against the rubric?’

  8. ‘That is everything I need, thank you’.

Each Invocable Apex Class must be manually added and configured as an Agent Action. The configuration details for each Agent Action can be found in this folder:

Use the configuration details document for the given to fill out all configuration sections exactly:

Ensure the correct configuration details document is used from the folder:

Each Topic must be manually added and configured inside Agentforce. The configuration details for each Topic can be found in this folder:

Use the configuration details document for the given to fill out all configuration sections exactly:

Ensure the correct configuration details document is used from the folder:

Tutor for Learning requires a graded submission output from in order to be used effectively. Please follow the guide in order to return a graded submission output for a learner into the .

Once a graded output is present in the , Tutor for Learning can be engaged against the submission. To validate the Agent, inside Agent Builder execute the following queries in order after each response from the Agent, make sure to replace the assessment name and contact email with your values:

Need help? If you need further assistance or encounter any difficulties, our support team is ready to help. Please reach out to us at

Agent Actions
Agent Action
Agent Actions
Topics
Topic
Topics
Assess for Learning
Assess for Learning
Learning Journey Data Model
Learning Journey Data Model
support@globebyte.com
Assess for Learning
Learning Journey Data Model
Assess for Learning
Tutor for Learning