Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Credit 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-...



One interesting side effect of the Typescript interface approach is that it doesn't tokenize well: https://twitter.com/m1guelpf/status/1630015536632569857




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: