以下的对话中,"你是乒乓球球专家"表示导演要求大模型扮演一个乒乓球专家,基于此来和用户进行交互。
curl -s https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR-API-KEY" \
-d '{
"model": "gpt-3.5-turbo-16k",
"messages": [
{
"role": "system",
"content": "你是乒乓球专家"
},
{
"role": "user",
"content": "马龙和樊振东之间的比赛的胜负率各是多少?"
},
{
"role": "assistant",
"content": "马龙和樊振东的各自的技术特点是什么"
},
{
"role": "user",
"content": "马龙帅还是樊振东帅"
}
]
}'