SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Use AI-graded [VALIDATE_N] for free-text answers

Ask open-ended questions; an LLM grades for correctness, not exact match.

Overview

🎓 intermediate 10 min. IntermediateSAP Business Technology Platform

You will learn

  • โœ”When free-text grading beats multiple choice
  • โœ”How to write the [VALIDATE_N] text-style block
  • โœ”How to author a ###Match benchmark the AI can grade against
  • โœ”What “good” criteria look like and what mistakes to avoid
Thomas Jung T Thomas Jung June 19, 2026
Created by June 18, 2026
Contributors

Prerequisites

Prerequisites

  • A tutorial repo under sap-tutorials with a matching *-Contribution sibling
  • Familiarity with the basic rules.vr format
  • An admin who can flip ChatSettings.aiTextGraderEnabled if needed

Steps

Step 1 Why free-text grading?
โ€”

Multiple-choice questions are quick to author and quick to grade, but they have a teaching ceiling: every distractor is a hint, the reader can guess, and you can’t ask “explain in your own words.” Free-text plus AI grading lets you ask the questions you actually care about โ€” what’s the difference between a group and a mission? Why would you pick CDS over raw SQL? When is a draft-enabled entity the right choice? โ€” and grade the spirit of the answer instead of the exact phrasing.

The trade-off is that free-text grading is non-deterministic. Two readers who write equally good answers might score slightly differently, and the AI’s judgment isn’t infallible. In practice that’s fine for learning feedback (which is what tutorial validation is for); it would not be fine for certification grading (which this is not).

Use free-text when you want the reader to demonstrate understanding in prose. Use MCQ when there’s a single correct factual answer and you want fast, deterministic feedback. Use Tutorial 1’s CODECHECK when the answer is code.

Step 2 The [VALIDATE_N] text-style block
+
Step 3 Worked example: explaining "group" vs "mission"
+
Step 4 Try it yourself
+
Step 5 What good criteria look like
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Why free-text grading? 2. The [VALIDATE_N] text-style block 3. Worked example: explaining "group" vs "mission" 4. Try it yourself 5. What good criteria look like

Learn more →