Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: