Add "Role" to OpenAI Create message endpoint
Please add "Role" field to OpenAI Create message endpoint. Sometimes we need to insert message with role "assistant". Why? We don't solely use assistant function 100%. Some of the answers coming from bot maybe hardcoded, we write it down manually or retrieve it from google sheet. For example, for critical information like our bank account. I want to be extra careful the AI don't hallucinate. So, I retrieve this data from google sheet, and use text completion supplemented with the data coming from google sheet to formulate the answer. Then I would like to use "create message" endpoint to add this message to the thread with role Assistant, so that the thread is not missing any single information to continue the conversation with the user.
Attached images
Discussion
Voters
