Day: October 14, 2024

What are Structured Outputs? Using Structured Outputs is an important aspect when interacting with LLMs programmatically. LLMs, by their nature, generate unstructured output. The unstructured output does not work well with programming languages which need structure to understand the data. Through prompting techniques, you can direct the LLM to create a structured output. The format […]Continue reading

A hidden feature of Spring AI is the support of String Templates, aka StringTemplates. StringTemplate is a lightweight Java template engine. It is simple, and easy to use. StringTemplate is a stable project, established in 2007 and now on its 4 major release. Here is an example from the homepage of the Stringtemplate website. On […]Continue reading