Matthew Martin β β π on Nostr: Things chatGPT thinks are a list of strings: "1, 2, 3" "1,2,3" ["1", "2", 3"] So if ...
Things chatGPT thinks are a list of strings:
"1, 2, 3"
"1,2,3"
["1", "2", 3"]
So if you have json schema expecting list[str], you need to be ready for at least all of those. Or do lots of retries. The parser is cheap, the retries are expensive.
"1, 2, 3"
"1,2,3"
["1", "2", 3"]
So if you have json schema expecting list[str], you need to be ready for at least all of those. Or do lots of retries. The parser is cheap, the retries are expensive.