Skip to content

Commit 7cd9fd8

Browse files
authored
Add 2023-05-15 api version for OpenAI (#23784)
1 parent aeb7bf0 commit 7cd9fd8

File tree

19 files changed

+2982
-1
lines changed

19 files changed

+2982
-1
lines changed

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/readme.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Configuration for generating AzureOpenAI SDK.
66

7-
The current release for the AzureOpenAI is `release_2022_12_01`.
7+
The current release for the AzureOpenAI is `release_2023_05_15`.
88

99
``` yaml
1010
tag: release_2022_12_01
@@ -85,3 +85,23 @@ directive:
8585
- suppress: IntegerTypeMustHaveFormat
8686
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
8787
```
88+
89+
## AzureOpenAI 2023-05-15
90+
These settings apply only when `--tag=release_2023_05_15` is specified on the command line.
91+
92+
``` yaml $(tag) == 'release_2023_05_15'
93+
input-file: stable/2023-05-15/azureopenai.json
94+
```
95+
96+
AutoRest-Linter Suppressions
97+
98+
``` yaml
99+
# Ignore autorest-linter issues that cannot be resolved without breaking compatibility to existing openai api
100+
directive:
101+
- suppress: DefinitionsPropertiesNamesCamelCase
102+
reason: Existing external API uses property names like n_epochs, created_at, not following naming/casing guidelines from azure.
103+
- suppress: ValidFormats
104+
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
105+
- suppress: IntegerTypeMustHaveFormat
106+
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
107+
```

0 commit comments

Comments
 (0)