Feature Request: An option to parse escaped characters from LLM output. #84
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm testing with a Llama 3 derivative, and disclaimer, I haven't yet modified the LlamaTale prompt to follow Llama 3 formatting, but some of the generated output I got from Llama 3 contained
\r\nand I think it would be nice to have a config option for handling escaped characters, with perhaps 3 settings:For what it's worth, I don't believe
\rshould show up without\n, but\ncan show up without\r, so a simple substitution of:"\\r" = ""and"\\n" = '\n'should work. Forgive my psuedo-code. I know how I'd write this in C, but I'm not very familiar with Python.