Skip to content
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

Update conversation.py #2306

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Update conversation.py #2306

merged 1 commit into from
Aug 25, 2023

Conversation

epec254
Copy link
Contributor

@epec254 epec254 commented Aug 24, 2023

OpenAI chat completion API does NOT require the prompt at the start of the system message (e.g., do not include <|im_start|>system\n) - just the system message itself.

Docs: https://platform.openai.com/docs/guides/gpt/chat-completions-api

Why are these changes needed?

Related issue number (if applicable)

Checks

  • I've run format.sh to lint the changes in this PR.
  • I've included any doc changes needed.
  • I've made sure the relevant tests are passing (if applicable).

OpenAI chat completion API does NOT require the prompt at the start of the `system` message (e.g., do not include `<|im_start|>system\n`) - just the system message itself.

Docs: https://platform.openai.com/docs/guides/gpt/chat-completions-api
@merrymercy merrymercy merged commit 266e27b into lm-sys:main Aug 25, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants