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:&#x2F;&#x2F;platform.openai.com&#x2F;docs&#x2F;guides&#x2F;chat" rel="nofollow">https:&#x2F;&#x2F;platform.openai.com&#x2F;docs&#x2F;guides&#x2F;chat</a>). We&#x27;ll be opening up direct access to this format in the future, and want to give people visibility into what&#x27;s going on under the hood in the meanwhile!