Closed alexandreroman closed 6 months ago
Using the Spring AI OutputParser API, we can simplify the use of chat results in Java.
For example, we may use this API in the app to create newsletter entries using the BeanParser API (provided this works with Java records?) or the MapOutputParser API (instead of the key-value structure we're currently using).
BeanParser
MapOutputParser
Using the Spring AI OutputParser API, we can simplify the use of chat results in Java.
For example, we may use this API in the app to create newsletter entries using the
BeanParser
API (provided this works with Java records?) or theMapOutputParser
API (instead of the key-value structure we're currently using).