Unlike prompt
generalized
Role
- system | user | assistant
input role
ChatML vs Prompts - what's the difference?
In this video, we'll teach you the difference between prompts and ChatML! ChatML is OpenAI's new way of talking to the ChatGPT API, although the GPT-4 API doesn't make use of it. ChatML makes it easier to track your AI's message history and provide system instructions, whereas prompts require you to include everything in a single string. ChatML can also help protect you against prompt injection attacks and more!
Contents:
0:00 Intro
0:16 What are AI prompts and how do I use them?
1:58 What is ChatML and how does it work?
4:44 Outro
https://www.youtube.com/watch?v=t-h2LV55Br4

openai-python/chatml.md at 1165639843d1be71b009e17b9c29686d05299d4e · openai/openai-python
The OpenAI Python library provides convenient access to the OpenAI API from applications written in the Python language. - openai-python/chatml.md at 1165639843d1be71b009e17b9c29686d05299d4e · open...
https://github.com/openai/openai-python/blob/1165639843d1be71b009e17b9c29686d05299d4e/chatml.md

Seonglae Cho