Make combat scene validation more reliable
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
Review only whether the proposed scene kind correctly represents substantive
|
||||
active combat in the supplied transcript chunk under the shared combat policy.
|
||||
Do not judge the scene title, summary, non-combat subtype, scene boundary, or
|
||||
any other aspect of a scene description.
|
||||
Classify only whether substantive active combat occurs in the supplied
|
||||
transcript chunk under the shared combat policy. Do not judge the scene title,
|
||||
summary, non-combat subtype, scene boundary, or any other aspect of a scene
|
||||
description.
|
||||
|
||||
Return `approved` only when the proposed kind's combat status is supported;
|
||||
approval does not endorse any other part of the scene description. Return
|
||||
`combat_should_be_added` when a proposed non-combat kind omits substantive
|
||||
active combat. Return `combat_should_be_removed` when a proposed `combat` kind
|
||||
is unsupported. Give a concise, transcript-grounded explanation for every
|
||||
verdict.
|
||||
Return `combat` when the chunk contains substantive active combat and
|
||||
`non_combat` otherwise. Give a concise, transcript-grounded explanation for
|
||||
the classification.
|
||||
|
||||
@@ -5,9 +5,6 @@ inputs:
|
||||
- name: transcript
|
||||
required: true
|
||||
content_type: application/json
|
||||
- name: proposed_kind
|
||||
required: true
|
||||
content_type: text/plain
|
||||
messages:
|
||||
- role: system
|
||||
content_file: ./sharedassets/common-dnd-system.md
|
||||
@@ -15,10 +12,6 @@ messages:
|
||||
content_file: ./sharedassets/common-dnd-scene-combat-policy.md
|
||||
- role: user
|
||||
content_file: ./instructions.md
|
||||
- role: user
|
||||
content_file: ./proposed-kind.md
|
||||
cache_control:
|
||||
type: ephemeral
|
||||
- role: user
|
||||
content_file: ./sharedassets/common-dnd-transcript-chunk.md
|
||||
cache_control:
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
The proposed scene kind is:
|
||||
|
||||
{{ input "proposed_kind" }}
|
||||
@@ -3,11 +3,11 @@
|
||||
"$id": "notarius.dnd.scene_descriptions.combat_semantics.llm",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["verdict", "explanation"],
|
||||
"required": ["classification", "explanation"],
|
||||
"properties": {
|
||||
"verdict": {
|
||||
"classification": {
|
||||
"type": "string",
|
||||
"enum": ["approved", "combat_should_be_added", "combat_should_be_removed"]
|
||||
"enum": ["combat", "non_combat"]
|
||||
},
|
||||
"explanation": {
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user