Closed rebek43 closed 6 months ago
Upon closer inspection, it appears that the chat functionality itself uses the OpenAI message data structure, so if you use the chat API it practically converts the messages to the history data format and then back to a message data structure
Which makes me think that the history format itself is a bit of a redundancy
This issue has been closed due to inactivity for 2 months. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment.
In the official OpenAI API documentation there seems to be an optional variable in the message data structure that allows to differentiate users within the same role, but it doesn't seem to have any effect on the webui's input, as the backend will only use the message role (user, assistant, etc...) to ascertain who wrote that message, ignoring the aforementioned name field.
https://platform.openai.com/docs/api-reference/chat/create#chat-create-messages