Communicating better for a Super Intelligent World

c/SoftwareEngineering · ChatGPT / OpenAI · u/prompts360 Expert · 5d ago · edited

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>

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.