Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问是否支持指定deployment name? #20

Open
git-syl opened this issue Jul 25, 2023 · 0 comments
Open

请问是否支持指定deployment name? #20

git-syl opened this issue Jul 25, 2023 · 0 comments

Comments

@git-syl
Copy link

git-syl commented Jul 25, 2023

试了下提示: "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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant