Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by tapland

7 months ago

I think getting a JSON formatted output costs multiples of a forced plain text Name:Value.

Let a regular script parse that and save a lot of money not having chatgpt do hard things.

1 comment

tapland

Reply

jondwillis  7 months ago

Strict mode, maybe, I don’t think so based on my memory of the implementation.

Otherwise it’s JSONSchema validation. Pretty low cost in the scheme of things.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities