jamesnetherton commented on issue #7667:
URL: https://github.com/apache/camel-quarkus/issues/7667#issuecomment-3206809326

   POC here:
   
   
https://github.com/jamesnetherton/camel-quarkus-examples/commit/1ebb10bd497c7ae821362c8319c14a521654d94f
   
   @aldettinger I had to change the JSON content for user John Doe. Ollama was 
never returning the correct date of birth. Kept resolving it to `01 January 
2001` instead of `01 November 2001`.
   
   General observation, there's quite a bit of boilerplate required to set 
things up. Also had to write a custom Jackson deserializer for `LocalDate `to 
deal with dates returned like `{"year": 2025, "month": 8, "day": 20}`. I think 
Quarkus Langchain4j provides this OOTB, maybe we should do likewise in Camel.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to