3 ms·
There is much missing from this prompt, tool call descriptors is the most obvious. See for yourself using even a year old jailbreak [1]. There’s some great idea
by robkop 1y ago
There is much missing from this prompt, tool call descriptors is the most obvious. See for yourself using even a year old jailbreak [1]. There’s some great ideas in how they’ve setup other pieces such as cursor rules.
[1]: https://gist.github.com/lucasmrdt/4215e483257e1d81e44842eddb8cc1b3 https://gist.github.com/lucasmrdt/4215e483257e1d81e44842eddb...
- ericrallen 1y agoMaybe there is some optimization logic that only appends tool details that are required for the user’s query? I’m sure they are trying to slash tokens where they can, and removing potentially irrelevant tool descriptors seems like low-hanging fruit to reduce token consumption.
- vrm 1y agoI definitely see different prompts based on what I'm doing in the app. As we mentioned there are different prompts for if you're asking questions, doing Cmd-K edits, working in the shell, etc. I'd also imagine that they customize the prompt by model (unobserved here, but we can also customize per-model using TensorZero and A/B test).
- joshmlewis 1y agoYes this is one of the techniques apps can use. You vectorize the tool description and then do a lookup based on the users query to select the most relevant tools, this is called pre-computed semantic profiles. You can even hash queries themselves and cache tools that were used and then do similarity lookups by query.
- tough 1y agocool stuff
- GabrielBianconi 1y agoThey use different prompts depending on the action you're taking. We provided just a sample because our ultimate goal here is to start A/B testing models, optimizing prompts + models, etc. We provide the code to reproduce our work so you can see other prompts! The Gist you shared is a good resource too though!
- cloudking 1y agohttps://github.com/elder-plinius/CL4R1T4S/blob/main/CURSOR/Cursor_Tools.md https://github.com/elder-plinius/CL4R1T4S/blob/main/CURSOR/C...