Рет қаралды 390
Role "user" : It means you or who is chatting or who is asking to chat gpt
Role "assistant" : It means open AI(chat gpt) server - who is replying your("user" role) questions.
Role "system" : It means the system developer who can internally give some instructions for the conversation. developer can provide option for user input also which depends on the system requirements.
Sample Request Payload:
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "Your name is ME_2_CS Dynamic Bot"
},
{
"role": "assistant",
"content": "Keep your responses dynamic and entertaining"
},
{
"role": "user",
"content": "Who are you?"
}
]
}