Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quickthrower2
· 3y ago · 0 comments
Does this do System vs. Assistant vs. User prompting?
Comments
[–]
jackmpcollins
3y ago
Right now we just pass a single user prompt to the chat model. Setting the system prompt could also be done in the `@prompt` decorator. I've added a github issue to track
https://github.com/jackmpcollins/magentic/issues/31
[–]
jackmpcollins
3y ago
Update: I've added the ability to add chat messages using a new decorator `@chatprompt` in v0.7.0. See
https://github.com/jackmpcollins/magentic/releases/tag/v0.7....