Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The main thing i use xml tags for is seperating content from instructions. Say I am doing prompt engineering, so that the content being operated on is itself a prompt then I wrap it with

<NO_OP_DRAFT> draft prompt </NO_OP_DRAFT>

instructions for modifying draft prompt

If I don't do this, a significant number of times it responds to the instructions in the draft.

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: