gpt4 book ai didi

azure - Azure API 版本是什么

转载 作者:行者123 更新时间:2023-12-04 19:38:03 28 4
gpt4 key购买 nike

我正在尝试访问 Azure 提供的 GET 请求的结果,如示例所示:https://msdn.microsoft.com/sv-se/library/azure/dn820159.aspx

我的问题是 api-version 是一个强制参数,但我不知道里面要写什么。我对 Azure Batch 文档有点迷惑,它似乎并不完整。

我在 Azure 网页中发现了一些内容:https://azure.microsoft.com/en-us/documentation/articles/search-api-versions/ api 版本为 api-version=2015-02-28。但是,如果我在浏览器中尝试,我会得到以下答案:"key":"Reason","value":"指定的 api 版本字符串无效"

知道我可以在 api-version 参数中放入什么吗?

最佳答案

看看here

截至撰写本文时

The version of the Batch API described here is '2016-07-01.3.1', and using that version is recommended where possible.
Earlier versions include '2016-02-01.3.0', '2015-12-01.2.1', '2015-11-01.2.1', '2015-06-01.2.0', '2015-03-01.1.1', and '2014-10-01.1.0'.

因此请尝试指定'2016-07-01.3.1'

关于azure - Azure API 版本是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39205042/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com