Re:Better LLM response format – A simple trick reduces costs...
by livshitz on Tuesday July 25, 2023 @12:56PM
(#36865449)
You shouldn't adapt YAML across your stack. Instead of parsing JSON string (the output from the LLM) into an object, I'm suggesting here you parse the YAML string into an object. The article suggests that it'll be more beneficial for you to do this LLM -> YAML -> JSON in terms of time and costs.
[ Parent
| on HN ]
There are no comments on this comment yet.