2 ms·
Yes, adding line numbers on each line is one of the ideas we've been considering trying. Thanks for the reminder!
by stevekrouse 2y ago
Yes, adding line numbers on each line is one of the ideas we've been considering trying. Thanks for the reminder!
- zamfi 2y agoI suspect any other "hook" would work just as well, a comment with a nonce--and could serve as block boundaries to make changes more likely to be complete? Graphologue used a version of this too: https://hci.ucsd.edu/papers/graphologue.pdf https://hci.ucsd.edu/papers/graphologue.pdf
- miki123211 2y agoThis is actually a very powerful pattern that everybody building with LLMs should pay attention to, especially when combined with structured outputs (AKA JSON mode). If you want an LLM to refer to a specific piece of text, give each one an ID and then work with those IDs.