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

What’s the “assistant: {" trick? You just end your prompt with that?



Mistral supports prefixes: https://docs.mistral.ai/guides/prefix/


That’s cool. However it only shows a few odd. I’d imagine the model needs to explicitly support this (be trained with it). None are about json… do you use that trick with json?


I use it to get JSON pretty often. See also: https://twitter.com/simonw/status/1885091289554968975




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: