Move prompts into embedded Markdown assets
This commit is contained in:
22
internal/prompts/assets/validators/grammar_review/user.md
Normal file
22
internal/prompts/assets/validators/grammar_review/user.md
Normal file
@@ -0,0 +1,22 @@
|
||||
Review these proposed transcript corrections and decide whether each one is an acceptable editorial revision.
|
||||
|
||||
Rules:
|
||||
- Return one validation decision for every correction_index in the input.
|
||||
- Approve editorial revisions that preserve the underlying meaning of the segment.
|
||||
- Approve dysfluency cleanup, including cleanup of repeated words, repeated short phrases, filler words, hesitation artifacts, and similar common spoken dysfluencies.
|
||||
- Approve punctuation, spacing, capitalization, and article cleanup when they preserve meaning.
|
||||
- Approve low-risk homophone or mistranscription corrections when they are contextually well supported.
|
||||
- Approve conservative combinations of these editorial changes when the overall revision remains meaning-preserving.
|
||||
- Reject repetition cleanup when the repetition plausibly serves urgency, excitement, insistence, or deliberate rhetorical emphasis rather than dysfluency.
|
||||
- Phrases such as "Help! Help! Help!", "Stop! Stop! Stop!", "No! No! No!", "Yes! Yes! Yes!", and "Go! Go! Go!" are often intentional emphasis and should usually be preserved.
|
||||
- Approve repetition cleanup only when local context supports it as accidental repetition, hesitation, or verbal restart.
|
||||
- Reject broad paraphrase, substantive semantic changes, substantive meaning changes, and revisions that materially change, obscure, distort, or reverse the segment's meaning.
|
||||
- Evaluate the full original_segment_text and corrected_segment_text, not only the replacement span.
|
||||
- If a correction includes categories, treat them as additional segment context.
|
||||
- Each returned validation must contain only correction_index, approved, confidence, and reason.
|
||||
- confidence must be between 0.0 and 1.0.
|
||||
|
||||
{{ hardening }}
|
||||
|
||||
{{ .TranscriptDescriptionBlock }}Corrections to validate:
|
||||
{{ .PayloadJSON }}
|
||||
Reference in New Issue
Block a user