Feature request: regex stop sequences

Regex support in stop (and start?) sequences would be helpful. i am frequently wanting to ensure that a completion stops on a valid punctuation mark. It would also be a good way for checking when OpenAI veers off into the wrong character set or language.

8 Likes