Skip to content

Commit b48d433

Browse files
committed
Update user documentation: describe sequential LLM calls for moderation, correctness, and feedback, and clarify context/answer fields
1 parent e2137b9 commit b48d433

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

docs/user.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
# YourFunctionName
1+
# LLM Caller
22

3-
Teacher-facing documentation for this function.
3+
Makes up to three calls to the nominated LLM:
4+
5+
- **Moderation prompt** (standalone) → returns a `passes_moderation` Boolean. If false, evaluation stops here and skips the two calls below.
6+
- **Main prompt (`correctness_decision`)** + built-in JSON-output instruction → returns an `is_correct` Boolean
7+
- **Main prompt (`correctness_decision`)** + **feedback prompt (`feedback_guidance`)**, told the correctness verdict → returns a `feedback` string
8+
9+
The `{{answer}}` field comes from the task's reference solution (the configure panel's `answer`). The `{{context}}` field is not automatically populated but can be added as a parameter, or just included directly in the prompt.

0 commit comments

Comments
 (0)