Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does this do System vs. Assistant vs. User prompting?


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


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....




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

Search: