-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add mistral + chatml prompts #1426
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are missing -- they will help maintainers to review the difference between llama2
and mistral
prompt format.
test should always include system prompt..
I added the system prompt to the expected test output, and removed Maybe I'm missing something entirely |
was in the other function I removed
I am suggesting these changes from outside of my working environment, and it shows.
ok, now I'm seeing the discussion where system prompt is only set for Gradio users #1353 annnd, now I see in the api documentation where I can set system prompt as part of my api call 😮💨 okok... now I'm getting closer 😅 but .... at least I understand my confusion from before. |
Stale pull request |
Published docs preview URL: https://privategpt-preview-0390f24b-843c-46bd-907c-5840ec8af9c6.docs.buildwithfern.com |
Published docs preview URL: https://privategpt-preview-36dff305-9e9f-498f-9a42-b24e09368eec.docs.buildwithfern.com |
Published docs preview URL: https://privategpt-preview-1f058881-2111-4eb8-bf2c-b8166e9a83dd.docs.buildwithfern.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing 😍
this adds what I believe is the correct prompt formatting for Mistral.. based on testing where I've rated it best vs llama-index and llama2