Voir la démo EN
Menu

Épisode 6 · 6:47 · vidéo en anglais

Score et verdict de l’IA

La rétroaction, c’est bien, mais un score dont Storyline peut se servir, c’est mieux. Faites noter chaque réponse par la question-réponse selon la politique de retour du magasin, et laissez Storyline afficher un rappel qui cite la règle enfreinte.

Vidéo en anglais. YouTube se charge seulement quand vous la lancez. Voir sur YouTube

Chapitres

Ce que vous allez apprendre

  • Faire noter les réponses par l’IA, avec un score et un verdict de réussite ou d’échec
  • Évaluer les réponses selon vos propres documents, comme une politique interne
  • Réagir dans Storyline quand l’apprenant échoue

Avant de commencer

  • L’épisode 5 terminé : la question-réponse « Customer apology » en widget SlideMind, dans un objet Web Storyline
  • La mémoire de l’apprenant de l’épisode 4 : Sam, sous test-learner-1
  • Articulate Storyline 360, avec le projet de l’épisode 5 ouvert

Suivez le guide

Étape par étape

Les boutons Copier donnent les textes en anglais, comme dans la vidéo.

Un score et un verdict

  1. Ouvrez « Customer apology ». Jusqu’ici, elle fonctionnait en Rétroaction seule : quelques phrases que l’apprenant lit, mais du simple texte pour Storyline. Avec Score et verdict, l’IA remplit plutôt un court formulaire. Chaque ligne est une variable de retour : le widget l’affiche sur la carte, et Storyline la reçoit dans sa propre variable, prête pour vos déclencheurs.
  2. Dans Résultats et mémoire, sous Qu’est-ce qui revient ?, passez de Rétroaction seule à Score et verdict. Le champ feedback est déjà là.
  3. Sélectionnez Ajouter une variable de retour : nommez-la score, choisissez Nombre et décrivez-la ainsi : « Score from 0 to 10 ». Ajoutez-en une autre : passed, Booléen, décrite ainsi : « True if the score is 7 or more ».
  4. À la fin des Consignes, ajoutez une phrase sur le score.
  5. Dans Apparence, ouvrez Plus de style. Laissez Affichage du score sur Fraction (8 / 10), choisissez score pour Note, tapez 10 dans Score sur et choisissez passed pour Réussi / échoué.
  6. Envoyez une réponse dans Essayer : la carte se retourne et affiche la rétroaction, un verdict et un score, par exemple « Good answer » et 8 / 10. Sélectionnez Enregistrer la slide.

La politique du magasin

  1. Les documents de référence donnent à l’IA une politique, une procédure ou une présentation, et elle se sert de ce texte pour répondre. Pour suivre, téléchargez la politique de retour d’une page (PDF, en anglais) utilisée dans la vidéo.
  2. Sur la page du cours « Customer Service Essentials », sous Documents de référence, sélectionnez Ajouter un document et choisissez le fichier. Il est lu directement dans votre navigateur : SlideMind ne garde que le texte, jamais le fichier.
  3. Sous Ce que l’IA lira, vérifiez que le texte est bien passé, puis sélectionnez Ajouter le document. Ajouté au cours, il est lu par chaque diapositive du cours, sauf si une diapositive le désactive. Un document court comme celui-ci est lu en entier à chaque réponse ; pour les plus longs, l’IA ne lit que les passages qui correspondent à la question.
  4. Les apprenants peuvent obtenir tout le contenu de ces documents en le demandant à l’IA : n’y mettez rien de confidentiel.
  5. De retour dans « Customer apology », la fiche Contexte du cours affiche la politique sous Du cours, avec Utiliser dans cette slide activé. Ajoutez une phrase de plus aux Consignes.
  6. Dans Qu’est-ce qui revient ?, ajoutez une autre variable de retour, pour que Storyline puisse dire à l’apprenant exactement ce qui n’allait pas : nommez-la policy_check, choisissez Texte et collez sa description.
  7. Dans Essayer, répondez comme le ferait un agent pressé : « Sorry, Maya. Please send the broken lamp back with a photo, and we’ll ship a new one. » La carte affiche « Not quite », 3 / 10. La vérification de la politique n’apparaît pas sur la carte : elle va à Storyline. Sélectionnez Enregistrer la slide.

Le verdict dans Storyline

  1. À l’étape Installation de la diapositive, ouvrez Variables Storyline. Il vous faut deux noms : celui qui se termine par _verdict, qui contient pass ou fail, et celui qui se termine par _policy_check.
  2. Storyline ne garde une valeur que dans une variable qui existe déjà. Copiez chaque nom, puis, dans Storyline, ouvrez la fenêtre Variables, sélectionnez Créer une variable, collez le nom et choisissez Texte. Deux fois.
  3. Dans le panneau Calques, sélectionnez Nouveau calque et nommez-le Policy reminder. Ajoutez-y une zone de texte qui affiche la vérification de la politique : tapez la variable qui se termine par _policy_check entre signes de pourcentage, par exemple %aiResp_customerApology_policy_check%. Le rappel reprend ce qu’a dit cet apprenant et cite la règle exacte qu’il enfreint.
  4. De retour sur le calque de base, sélectionnez Créer un déclencheur. Action : Afficher le calque, Policy reminder. Quand : La variable change, avec la variable du verdict. Sous Conditions, ajoutez-en une : cette même variable, égale à fail. Si l’apprenant réussit, il continue ; s’il échoue, le rappel explique ce qui n’allait pas.

Tester dans l’aperçu SCORM

  1. Comme à l’épisode 5, publiez le cours pour un LMS en paquet SCORM, compressez-le en fichier .zip et téléversez-le dans Tester et suivre › Aperçu SCORM avec Choisir un .zip.
  2. Sélectionnez Lancer, avec test-learner-1 comme apprenant, pour que le cours s’exécute au nom de Sam, puis Ouvrir dans une fenêtre.
  3. Donnez la réponse bâclée. La carte se retourne : « Not quite », 3 / 10, avec une rétroaction sur ce qu’il aurait fallu faire. Comme le verdict est fail, le calque Policy reminder apparaît à côté de la carte, avec ce que Sam a demandé et la règle exacte que cela enfreint.

Transcription

Afficher

La narration de la vidéo, en anglais.

Scenario 5: Score the learner’s answer

Hi and welcome back! From here on, the videos get a bit more advanced, but they show how far you can take personalized interactions for your learners. In this video, our Q&A learns to grade: it will give a score and a verdict, check each answer against the store's real returns policy, and when the learner misses the mark, Storyline will step in with a reminder. Here's our Q&A again. The learner answers… and the card flips with a score and a verdict. And when the answer breaks the store's policy, a reminder pops up in the course. Let's build it.

A score and a verdict

Let's start with our Q&A, "Customer apology". Until now, it ran on "Feedback only": the AI sends back a few sentences of feedback, and that's it. The learner reads them, but for Storyline it's just text. "Score and verdict" changes that. Instead of free text, the AI fills in a short form: the feedback, plus a score and whether the learner passed. Each line of that form is a return variable. The widget shows them on the card, and Storyline receives each one in its own variable, like the one ending in "score", ready to use in your triggers. Let's set it up. In "What comes back", switch from "Feedback only" to "Score and verdict". The feedback field is already there. Click "Add return variable": we name it score, pick "Number" in the type menu, and describe it as "Score from 0 to 10". One more: passed, we pick "Boolean" and describe it as "True if the score is 7 or more". In the instructions, we add one sentence: "Also give a score out of 10, and set passed to true when the score is 7 or more." Under "Look", "More styling", we leave "Score display" on "Fraction", pick score for "Score", type 10 in "Score out of", and pick passed for "Pass / fail". In "Try it"… the card flips: feedback, a verdict and a score. Let's save. We'll come back to that verdict in Storyline in a moment.

The store’s policy

Next, the store's returns policy. For this, we'll use a feature we haven't seen yet: reference documents. You give the AI a policy, a procedure or a slide deck, and it uses that text when it answers. On the course page, under "Reference documents", click "Add a document" and choose the file: here, our one-page PDF. It's read right in your browser: SlideMind keeps only the text, never the file. Under "What the AI will read", we check that the text came through, then click "Add document". Because we added it to the course, every slide of the course reads it, unless a slide turns it off. A short document like this one is read in full with each answer; with longer ones, the AI reads only the passages that match the question. One thing to keep in mind: learners can get anything in these documents by asking the AI, so leave out anything confidential. Back in "Customer apology", the "Course context" sheet now lists the policy under "From the course", and "Use in this slide" is on. We add one more sentence to the instructions: "Check the learner's promises against the store's returns policy, and fail any answer that breaks it." Then, back in "What comes back", one more return variable, so Storyline can tell the learner exactly what went wrong: we name it policy_check, pick "Text", and describe it as "If the answer breaks the returns policy: what the learner promised or asked, then the rule it breaks, quoted from the policy. Empty otherwise." In "Try it", let's answer the way a rushed agent might: "Sorry, Maya. Please send the broken lamp back with a photo, and we'll ship a new one." "Not quite", 3 out of 10. The policy check doesn't show on the card: it goes to Storyline, with what the learner asks for and the rule it breaks. We'll see it in the course in a moment. Let's save.

The verdict in Storyline

Now, let's use that verdict in Storyline. Back on the slide, in the "Installation" step, we open "Storyline variables". We need two of them: the one ending in "verdict", which holds pass or fail, and the one ending in "policy_check". Storyline only keeps a value in a variable that already exists, so we copy each name, and in Storyline, we open the "Variables" window, click "Create a new variable", paste it and choose "Text". Twice. Next, a layer: in the "Layers" panel, we click "New Layer" and name it Policy reminder. On it, instead of a fixed message, a text box that shows the policy check: we type the variable ending in "policy_check" between percent signs. That way, the reminder repeats what this learner said and quotes the exact rule it breaks. Last, the trigger. Back on the base layer, we click "Create a new trigger". Action: "Show layer", Policy reminder. When: "Variable changes", and we pick our verdict variable. Under "Conditions", we add one: that same variable, "Equal to", fail. Pass, and the learner moves on; fail, and the reminder explains what went wrong.

Test in SCORM preview

Let's test. We publish the course for "SCORM preview" again, and launch it as Sam. Sam gives the rushed answer. The card flips: "Not quite", 3 out of 10, with feedback on what to do instead… and since the verdict is fail, the policy reminder fades in beside the card, with what Sam asks for and the exact rule it breaks. Your Q&A now grades answers, reads your documents, and tells Storyline whether the learner passed. In the next video, it's the chat's turn: Maya's face, a coach and three endings will follow the conversation. See you there!

Poursuivez votre idée.

Commencez par une activité Storyline.

Partez d’une question utile. Construisez la rétroaction autour de votre objectif pédagogique, puis testez-la dans votre propre formation.