Skip to content

Use outputparser to parse the AI response #7

@emileastih1

Description

@emileastih1

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions