Skip to content

Commit

Permalink
Add AOAI 2024-10-21 API version (#31280)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetamsft authored and haagha committed Nov 19, 2024
1 parent 750a191 commit 14c845b
Show file tree
Hide file tree
Showing 112 changed files with 18,504 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"headers": {}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"headers": {}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"body": "raw file content"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"parameters": {
"api-version": "2024-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"jobId": "usercompute-ingestion-job",
"kind": "UserCompute",
"workspaceId": "/subscriptions/f375b912-331c-4fc5-8e9f-2d7205e3e036/resourceGroups/adrama-copilot-demo/providers/Microsoft.MachineLearningServices/workspaces/adrama-rag-dev"
},
{
"jobId": "syscompute-ingestion-job",
"kind": "SystemCompute"
}
]
}
}
}
}
"parameters": {
"api-version": "2024-05-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"jobId": "usercompute-ingestion-job",
"kind": "UserCompute",
"workspaceId": "/subscriptions/f375b912-331c-4fc5-8e9f-2d7205e3e036/resourceGroups/adrama-copilot-demo/providers/Microsoft.MachineLearningServices/workspaces/adrama-rag-dev"
},
{
"jobId": "syscompute-ingestion-job",
"kind": "SystemCompute"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ directive:
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
```


## AzureOpenAI 2024-08-01-preview
These settings apply only when `--tag=release_2024_08_01_preview` is specified on the command line.

Expand Down Expand Up @@ -409,4 +410,24 @@ directive:
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
- suppress: IntegerTypeMustHaveFormat
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
```
```

## AzureOpenAI 2024-10-21
These settings apply only when `--tag=release_2024_10_21` is specified on the command line.

``` yaml $(tag) == 'release_2024_10_21'
input-file: stable/2024-10-21/azureopenai.json
```

AutoRest-Linter Suppressions

``` yaml
# Ignore autorest-linter issues that cannot be resolved without breaking compatibility to existing openai api
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
reason: Existing external API uses property names like n_epochs, created_at, not following naming/casing guidelines from azure.
- suppress: ValidFormats
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
- suppress: IntegerTypeMustHaveFormat
reason: API stewardship board recommend to use format "unixtime" which is not supported by linter at the moment.
```
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@
},
"security": [
{
"api-key": [ ]
"api-key": []
}
],
"schemes": [
Expand All @@ -1748,4 +1748,4 @@
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
}
}
}
}
}
Loading

0 comments on commit 14c845b

Please sign in to comment.