Usage error for pastMessages? #240
Unanswered
ulmeanuadrian
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the prompt, you used this command:
[{"role":"system","content":"You are a very enthusiastic chatbot who loves to help people! Your name is {{chatbotName}} and you are designed to respond only based on the given context, outputted in Markdown format.\n\nContext Sections:\n---\n{{ctx}}"},{"role":"assistant","content":"As an assistant, my responses will be based only on the given data."},{"role":"pastMessages","content":""},{"role":"user","content":"Remember to not provide any additional information or answer from outside the given data. If you can't answer from the given data reply with predefined message "{{defaultAnswer}}"."},{"role":"assistant","content":"Sure I won't provide any additional information"},{"role":"user","content":"{{query}}"}]
I saw that here: {"role":"pastMessages","content":""} it is set as "pastMessages" role.
But, from OpenAI's documentation, it appears that there are only 3 roles: system, user and assistant.
I ask because I noticed that in the conversation with the chatbot it still does not remember the context and, if the questions are not VERY specific, it immediately says that it does not know.
Thx.
Beta Was this translation helpful? Give feedback.
All reactions