alexandreroman / news-factory

Create AI-generated newsletters with Spring AI
Apache License 2.0
8 stars 5 forks source link

Make use of the OutputParser API to parse chat results #8

Closed alexandreroman closed 6 months ago

alexandreroman commented 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).