azure-openai-proxy
azure-openai-proxy copied to clipboard
请问是否支持指定deployment name?
试了下提示: "code": "DeploymentNotFound"
看日志: /v1/chat/completions -> https://gpt-19354567-test.openai.azure.com/openai/deployments/chat/completions?api-version=2023-05-15
实际我的Azure接口是,url少个/test/
curl --location 'https://gpt-19354567-test.openai.azure.com/openai/deployments/test/chat/completions?api-version=2023-05-15' \
--header 'Content-Type: application/json' \
--header 'api-key: api-key' \
--data '{ "stream":true,
"messages": [
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Hello"
}
]
}'
请问这个deployments后面的部署名称可以自定义吗?/deployments/test/