top | item 36332932

(no title)

cwxm | 2 years ago

even with gpt 4, it hallucinates enough that it’s not reliable, forgetting to open/close brackets and quotes. This sounds like it’d be a big improvement.

discuss

order

jonplackett|2 years ago

Not that it matters now but just doing something like this works 99% of the time or more with 4 and 90% with 3.5.

It is VERY IMPORTANT that you respond in valid JSON ONLY. Nothing before or after. Make sure to escape all strings. Use this format:

{“some_variable”: [describe the variable purpose]}

SamPatt|2 years ago

99% of the time is still super frustrating when it fails, if you're using it in a consumer facing app. You have to clean up the output to avoid getting an error. If it goes from 99% to 100% JSON that is a big deal for me, much simpler.

8organicbits|2 years ago

Wouldn't you use traditional software to validate the JSON, then ask chatgpt to try again if it wasn't right?

ztratar|2 years ago

Nah, this was solved by most teams a while ago.

bel423|2 years ago

I feel like I’m taking crazy pills with the amount of people saying this is game changing.

Did they not even try asking gpt to format the output as json?