ability to add a preprompt
mattwyd opened this issue · comments
Elaborate
I think they meant by adding a system prompt
before the user prompt
,
so that the LLM knows how to behave etc.
but this is not possible in this case... they just need to be more specific
with their prompts and it will kinda work out.
I wanted to share one interesting thing I just found recently, gonna leave it here:
https://catalog.ngc.nvidia.com/orgs/nvidia/teams/ai-foundation/models/llama2-70b
Yes, he meant that. Which is something I've wanted too, the ability to pass preprompts, for "jailbreaks" or to conditionate the response of the LLM
Maybe you'll find something here:
https://huggingface.co/spaces
all it is just prepending a predetermined string to all of your prompts so the ai has additional context and you dont have to tell it each time, for example i have chatgpt.com only respond following best practices for or response with snake case / camel case code snippets etc
As a workaround, write your system prompt to a sysprompt.txt
file and prepend it to your current prompt:
echo `<sysprompt.txt` Tell me a joke | xargs tgpt
You can also create custom bash script function in you .bashrc file.