UPDATE: (04.06.2024) Adde snippets for using structured output with the new, fluent ChatClient API .
UPDATE: (17.05.2024) Generic Types support for BeanOutputConverter added.
Science works with chunks and bits and pieces of things with the continuity presumed, and Art works only with the continuities of things with the chunks and bits and pieces presumed. - Robert M. Pirsig
The ability of LLMs to produce structured outputs is important for downstream applications that rely on reliably parsing output values.
Developers want to quickly turn results from an AI model into data types, such as…