Markdown and XML Hybrid Prompts for OpenAI Models
OpenAI's prompt engineering guide recommends using Markdown headers (#) and XML tags (<context>) together inside the developer message to clearly mark where identity, instructions, examples, and context begin and end.
# Identity
You are a Principal Site Reliability Engineer.
# Instructions
Analyze the outage log in <incident_log> against the architecture in <system_topology>.
# Context
<system_topology>{{TOPOLOGY}}</system_topology>
<incident_log>{{LOG}}</incident_log>Fill in the blanks (2)
Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.
No comments yet.