界面是:
AZURE_OPENAI_ENDPOINT/openai/deployments/deployment_name/chat/completions?api-version=2023-05-15
注意Body下的raw选json格式
{ "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Does Azure OpenAI support customer managed keys?" }, { "role": "assistant", "content": "Yes, customer managed keys are supported by Azure OpenAI." }, { "role": "user", "content": "Do other Azure Cognitive Services support this too?" }, { "role": "user", "content": "Do you know capital of china?" } ] }
头文件:
返回结果:
标签:Postman,content,role,user,Azure,OpenAI From: https://www.cnblogs.com/shiningleo007/p/17445792.html