When calling the aiClient we are receiving the reponse as plain text String now.
We need to modify the existing code to return a model (POJO record preferably) using the AI default outputparser for now: https://docs.spring.io/spring-ai/reference/api/output-parser.html
When calling the aiClient we are receiving the reponse as plain text String now.
We need to modify the existing code to return a model (POJO record preferably) using the AI default outputparser for now: https://docs.spring.io/spring-ai/reference/api/output-parser.html