Erweitertes JSON-Prompt-Wrapping für KI
Von Wikiprompt, der freien Prompt-Enzyklopädie
Erweitertes JSON-Prompt-Wrapping für KI Ein Framework zum Erstellen robuster JSON-Prompts mit expliziter Fehlervermeidung, einstellbarer Denktiefe und Selbstvalidierungsregeln.
Prompt-InhaltSpeichern
🌐
{
"prompt": {
"instruction": "Wrap your entire JSON prompt inside another JSON prompt and force multi-stage reasoning.",
"stages": [
{
"stage": 1,
"task": "Parse the original JSON prompt and identify all placeholders, brand/model names, param flags, and code/JSON keys.",
"thinking_mode": "deep"
},
{
"stage": 2,
"task": "Translate the content into German, preserving all identified elements verbatim.",
"thinking_mode": "chain"
},
{
"stage": 3,
"task": "Validate the translation for structure, placeholders, and formatting.",
"thinking_mode": "short"
}
],
"anti_failures": [
"Do NOT translate or alter placeholders like [X] or {x}.",
"Do NOT change brand/model names, param flags (e.g., --ar, 85mm, 4K, 24fps), or code/JSON keys.",
"Do NOT use em-dashes; use ' - ' instead.",
"Do NOT add any preamble, explanations, or code fences in the final output.",
"Do NOT omit any part of the original structure; keep 1:1 correspondence."
],
"self_check": [
"Verify that every placeholder, brand name, param flag, and code/JSON key appears exactly as in the original.",
"Ensure no em-dashes are present; replace any with ' - '.",
"Confirm the output is a direct translation with no extra text, no fences, and no preamble.",
"Check that the structure (nested JSON, fields, arrays) matches the original exactly."
],
"output_format": "Only the translated JSON, no additional commentary."
}
}
Melde dich an, um den vollständigen Prompt zu sehen
Weiter mit:
Mit der Anmeldung akzeptierst du unsere Nutzungsbedingungen und Datenschutz
Verwendung
Dieser Prompt ist für die Verwendung mit coding gedacht. Kopiere den Inhalt oben und füge ihn in dein bevorzugtes KI-Tool ein.
Für beste Ergebnisse passe die Platzhalter (eckige Klammern oder Großbuchstaben) an deine Anforderungen an.
Referenzen
- Kategorie: coding-Prompts
- Quelle: https://x.com/thisdudelikesAI/status/1994374929463357812
Diskussion
0 Kommentare