Skip to content

Issues with control characters. #429

Answered by jwmarshall
JoelKronander asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed. My best fix was the following prompt addition with gpt-4-turbo-preview YMMV.

You will escape all control characters and newlines, this is extremely important and necessary to producing valid output.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jxnl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #117 on February 12, 2024 03:41.