All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

OpenAI's Harmony Response Format for gpt-oss Models

By

meetpateltech

9mo ago· 3 min readenCode

Summary

The article introduces OpenAI's Harmony response format, designed for use with the gpt-oss open-weight model series. It explains the format's purpose in structuring conversations, generating reasoning output, and handling function calls. The guide is aimed at developers building their own inference solutions, while noting that API users or providers like Ollama need not worry about the format.

Key quotes

· 3 pulled
The gpt-oss models were trained on the harmony response format for defining conversation structures, generating reasoning output and structuring function calls.
If you are not using gpt-oss directly but through an API or a provider like Ollama, you will not have to be concerned about this as your inference solution will handle the formatting.
The format is designed to mimic the harmony response format for defining conversation structures.
Snippet from the RSS feed
Renderer for the harmony response format to be used with gpt-oss - openai/harmony

You might also wanna read