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

I am saying to directly output the operational transformation instructions as the tokens. You’re essentially telling it to “write the diff” and then applying the patch.

[retain(8), delete(6), insert("very very"), retain(10)]



OpenAI models emit a format similar to a regular diff, but without the line numbers. Look at apply_patch


there is a model in openrouter doing exactly this, it generates diffs. forgot the name though




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

Search: