(This document is a preview of the underlying format consumed by ChatGPT models. As a developer, you can use our higher-level API and won't need to interact directly with this format today — but expect to have the option in the future!) Traditionally, GPT models consumed unstructured text. ChatGPT models instead expect a structured format, called Chat Markup Language (ChatML for short). ChatML doc