ChatML: ChatGPT API expects a structured format, called Chat Markup Language
(I work at OpenAI.)<p>This document is a preview of the underlying format consumed by ChatGPT models. As an API user, today you use our higher-level
API (<a href="https://platform.openai.com/docs/guides/chat" rel="nofollow">https://platform.openai.com/docs/guides/chat</a>). We'll be opening up direct access to this format in the future, and want to give people visibility into what's going on under the hood in the meanwhile!