Glossary · Prompting & context
Output parser
An output parser is code that converts a language model's text response into structured data, such as an object or list, and often validates it or requests a retry when parsing fails.
Output parser sits in the Prompting & context part of the Agentik {OS} glossary, which defines the words used to build and run AI agent systems.