EN / RU / πŸ€–
← Back to essays
Β· Essay Β· 1 min

Improving GPT Response Quality with Proper Prompt Structure.

The right prompt structure can significantly enhance response quality.

<p>Not many know, but the right prompt structure can significantly enhance response quality. One of the "hacks" recommended by all major LLMs is to use XML to tag blocks. For example, if you copy a piece of documentation, place it within <documentation></documentation> tags, and so on. This is especially relevant when you provide large unstructured blocks. For instance, the latest version of code can go in <my_code></my_code> and documentation in <documentation></documentation>.</p>

<p><a href="https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags">https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags</a></p>;

<p><a href="https://platform.openai.com/docs/guides/prompt-engineering/strategy-write-clear-instructions">https://platform.openai.com/docs/guides/prompt-engineering/strategy-write-clear-instructions</a></p>;

<p>#llm #prompting #ai #gpt</p>

<p><a href="https://t.me/+OvImEUmA7W5mYTRi">β€”β€”β€”β€”β€”β€”β€”β€”β€” ΠœΡ‹ΡΠ»ΠΈ Π Π²Π°Ρ‡Π΅Π²Π° β€”β€”β€”β€”β€”β€”β€”β€”β€”</a></p>