Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
amolgupta
on June 14, 2023
|
parent
|
context
|
favorite
| on:
Native JSON Output from GPT-4
I pass a kotlin data class and ask chatGPT to return json which can be parsed by that class. Reduces errors with date-time parsing and other formatting issues and takes up lesser tokens than the approach in the article.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: