Y
Hacker News
new
|
ask
|
show
|
jobs
by
ilamparithi
147 days ago
For my use case (
https://www.grokvocab.com/
), I get proper JSON output without much effort. I am using Langchain4J (
https://github.com/langchain4j/langchain4j
) which automatically maps the output JSON to my POJO. I just prompt the model to return the output as JSON.