Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ilamparithi
5 months ago
|
parent
|
context
|
favorite
| on:
LLM Structured Outputs Handbook
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: