Repeating paragraphs

When using the instruct series to generate a paragraph of text, sometimes it returns 2 identical paragraphs.

I would like to use \n\n as the stop sequence, so that only the first paragraph gets returned.

But the problem is, the output starts off with \n\n, so nothing gets returned if my stop sequence is \n\n.

Any idea? Thanks!

1 Like

I use few-shot and number the paragraphs like Output 1... Output 2... Output 3... - this means that I can use Output 4 as a stop.

1 Like