openai-api-playground icon indicating copy to clipboard operation
openai-api-playground copied to clipboard

Support roles in ChatCompletion

Open half0wl opened this issue 1 year ago • 1 comments

https://platform.openai.com/docs/guides/chat/introduction

Currently, all prompts are sent as role=user. The endpoint supports (system, user, assistant) as roles.

I skipped this in the current version because it doesn't appear to be valuable - based on the docs and in my experience, the system role doesn't really affect model response.

half0wl avatar Mar 14 '23 11:03 half0wl