ChatML: ChatGPT API expects a structured format, called Chat Markup Language
1–10 of 83 posts
Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#2Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#3Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#4This document is a preview of the underlying format consumed by ChatGPT models. As an API user, today you use our higher-level API (https://platform.openai.com/docs/guides/chat). 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!
Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#5Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#6 type Message = string
type Speaker = 'system' | 'user' | 'assistant' | 'system name=example_user' | 'system name=example_assistant'
type CML = ('\n' | '${Speaker}\n${Message}' | {token: ''|''})[]
I'd expect something more like... type Message = string
type Speaker = 'system' | 'user' | 'assistant' | 'example_user' | 'example_assistant'
type CML = {message: Message, speaker: Speaker}[]Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#7What does "im" stand for?
Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#8Is it just me or is this the least intuitive format imaginable? The type def is something like: type Message = string type Speaker = 'system' | 'user' | 'assistant' | 'system name=example_user' | 'system name=example_assistant' type CML = ('\n' | '${Speaker}\n${Message}' | {token: ' '|' '})[] I'd expect something more like... type Message = string type Speaker = 'system' | 'user' | 'assistant' | 'example_user' | 'exa…
Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#9What does "im" stand for?
Re: ChatML: ChatGPT API expects a structured format, called Chat Markup Language
#10What does "im" stand for?