Best way to signify the start and end of a file in a prompt

I would like to pass multiple text files in a prompt. What is the ‘correct’ way to do this so that it is clear to the model where each file begins and ends? I see it is trained to output markdown format, but using ``` in my prompts has caused me issues with bash scripting. Does it matter? I assume it will understand the context of \n filename.txt: or something.

1 Like

I like to use the following syntax, using your example:

---BEGIN FILENAME1.TXT---
...
---END FILENAME1.TXT---