top | item 35793448 (no title) apalmer | 2 years ago Trying to understand why this is necessary? LLMs cannot reliably generate valid Jason? discuss order hn newest dwallin|2 years ago Two ways in which it is useful over existing techniques:- It is guaranteed to match your schema- It is much lighter weight Der_Einzige|2 years ago Also, it costs tokens to ask a model to do something, and it may choose not to do it re: constraintsYou can force it by banning the vocabulary which violates a constraint for free. SkyPuncher|2 years ago There are typically two issues:* Occasionally, random junk will get tossed in alongside valid JSON. If you're a human, it's easy to identify and fix. Programmatically, it can be much harder to fix.* Context lengths can create issues. tysam_and|2 years ago Yes, but Mike on the other hand....
dwallin|2 years ago Two ways in which it is useful over existing techniques:- It is guaranteed to match your schema- It is much lighter weight Der_Einzige|2 years ago Also, it costs tokens to ask a model to do something, and it may choose not to do it re: constraintsYou can force it by banning the vocabulary which violates a constraint for free.
Der_Einzige|2 years ago Also, it costs tokens to ask a model to do something, and it may choose not to do it re: constraintsYou can force it by banning the vocabulary which violates a constraint for free.
SkyPuncher|2 years ago There are typically two issues:* Occasionally, random junk will get tossed in alongside valid JSON. If you're a human, it's easy to identify and fix. Programmatically, it can be much harder to fix.* Context lengths can create issues.
dwallin|2 years ago
- It is guaranteed to match your schema
- It is much lighter weight
Der_Einzige|2 years ago
You can force it by banning the vocabulary which violates a constraint for free.
SkyPuncher|2 years ago
* Occasionally, random junk will get tossed in alongside valid JSON. If you're a human, it's easy to identify and fix. Programmatically, it can be much harder to fix.
* Context lengths can create issues.
tysam_and|2 years ago