题意:尝试向 Azure OpenAI API 添加数据源时出现错误
问题背景:
My code is working for a call to Azure OpenAI when I don't have a datasource added. However, when I do add my datasource with the following parameters I get an error:
当我没有添加数据源时,我的代码在调用 Azure OpenAI 时可以正常工作。然而,当我使用以下参数添加数据源时,出现了错误:
response = client.chat.completions.create(
messages = [
{
"role": "system",
"content": "when the user provides a project name as input you should do the steps mentioned below: Step 1: Get the project band of the project from the file."
},
{
"role": "user",