Draft: Use system prompt for Anthropic requests
requested to merge 3-chat-diagnostic-experiment-recommendation-02-16-experiment-with-system-prompts-as-instructed-by into master
This is related to this experiment issue
We want to use a system prompt with Anthropic.
Apparently, the way that you do that is with the text completions API to add text before the first "\n\nHuman:" turn.
It removes the \n\nHuman:
from before the prompt.
After:
\n\nYou are a DevSecOps Assistant named 'GitLab Duo Chat' created by GitLab.
Before:
\n\nHuman: You are a DevSecOps Assistant named 'GitLab Duo Chat' created by GitLab.
Edited by Lesley Razzaghian