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