3 ms·
I like the typescript definition, rather than example json that I normally use.
by lerchmo 4y ago
I like the typescript definition, rather than example json that I normally use.
- genmon 4y agoCredit where it's due: I was working with structured data as JSON for the completion, and the Typescript definition hugely increased reliability. I took that from helpful advice (on Twitter) from Noah Brier who afiak came up with the approach: https://brxnd.substack.com/p/the-prompt-to-rule-all-prompts-brxnd https://brxnd.substack.com/p/the-prompt-to-rule-all-prompts-...
- noahbrier 4y agoOne interesting side effect of the Typescript interface approach is that it doesn't tokenize well: https://twitter.com/m1guelpf/status/1630015536632569857 https://twitter.com/m1guelpf/status/1630015536632569857