TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using GPT-4 to get well-typed JSON objects

1 pointsby joy_void_joyover 1 year ago

1 comment

joy_void_joyover 1 year ago
Hi HN,<p>With all the talk about using LLMs to get JSON outptus, I noticed it was possible to use function calls to get well-typed objects with GPT-4. I have found it very useful and programatically interesting to prompt GPT-4 in that fashion.<p>I made a simple library to use it that way