camden's blog · Feb 28, 2025
My favorite new prompting trick: chat prefix completion
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
I've been working with the Deepseek API while working on my tool carrier.nvim . It has a new beta feature that Anthropic also has that is really excellent, called chat prefix completion. You can just set what the assistant message response should start with. This is really useful for contexts like code completion, where you want the model to always respond with just the code you want by starting…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.