You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies in advanced if I'm wrong, but I don't think there's any support for prompt templates (I didn't find anything in the README, atleast)? If not, it'll be really nice to have this. For instance, something even as simple as system/user prompt templates (instead of whole chat templates) will be great.
As a usecase, I want to set the system prompt to something like:
system_message = "You are an expert in the {language} programming language. Your job is to assist the user in writing nice programs in {language}".
where {language} can be filled in.
The text was updated successfully, but these errors were encountered:
The general approach of this plugin right now is programmatic prompt building, so you could write something template-y and gsub it. I'd like to do a DX pass at some point to make everything easier to use, and maybe a prompt pack that's actually useful out of the box. If folks are interested getting some template helpers in the built-in utils feel free to drop a thumbs up here as well. Just to double check, you saw the prompts section of the readme? It may be a bit too far down now, the docs are due for a rewrite.
The general approach of this plugin right now is programmatic prompt building, so you could write something template-y and gsub it.
Yes, that'll be a nice way to do it. Regarding the prompts section; yes, I did take a look. Though I agree, more additions to the documentation will be great! Also, thanks a ton for this amazing plugin!
Apologies in advanced if I'm wrong, but I don't think there's any support for prompt templates (I didn't find anything in the README, atleast)? If not, it'll be really nice to have this. For instance, something even as simple as system/user prompt templates (instead of whole chat templates) will be great.
As a usecase, I want to set the system prompt to something like:
where
{language}
can be filled in.The text was updated successfully, but these errors were encountered: