Hacker News new | past | comments | ask | show | jobs | submit login

The other big challenge was to make this whole editor fit into 1500 characters which is the limit for a Custom Instruction.

Most of my prompts that I build for work are very large and complicated -- at least many pages long on average - because we are developing intelligent agents with a lot of functionality in them.

So I took it as a fun weekend activity to try to pack as much functionality into this EXTREMELY SMALL character limit as I could, refining many many times to make all fit and work reliably. Almost fits on a T-Shirt!

I also had to make it work in both GPT 4 and 3.5 (not all of it behaves well in 3.5). I totally geeked out on this for 2 days and had a blast. But what's great is that in the end I got something truly useful (and I think other people who seriously use ChatGPT for content generation will agree).




Not sure why you picked // as your special sequence, but ^ might be better. // appears with some regularity in any corpus with programming in it, and is 1 token in tiktoken. ^ is much more rare, and is 1 token in itself as a result. This will likely help recall, but it’ll also give you more characters in your instruction text.


Could be a good improvement but ^ is more of a pain to type...


Indeed the 1500 limit harkens back to a simpler more fun time in computing where you were packing instructions and clever hacks into a constrained machine. Yeah it looked a lot like a line editor semantic for revision and iteration. The function definition part is the most interesting to my mind tho.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: