Now that you've all tried it ... ChatGPT web traffic falls 10% - eviltoast

Slow June, people voting with their feet amid this AI craze, or something else?

  • 80085@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    What method did you use to generate only JSON? I’m using it (gpt3.5-turbo) in a prototype application, and even with giving it an example (one-shot prompting) and telling it to only output JSON, it sometimes gives me invalid results. I’ve read that the new function-calling feature is still not guaranteed to produce valid json. Microsoft’s “guidance” (https://github.com/microsoft/guidance) looks like what I need, but I haven’t got around to trying it yet.