Y
Hacker News
new
|
ask
|
show
|
jobs
by
azinman2
499 days ago
What’s the “assistant: {" trick? You just end your prompt with that?
1 comments
simonw
499 days ago
Mistral supports prefixes:
https://docs.mistral.ai/guides/prefix/
link
azinman2
499 days ago
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?
link
simonw
498 days ago
I use it to get JSON pretty often. See also:
https://twitter.com/simonw/status/1885091289554968975
link