Skip to content

Commit 4101015

Browse files
committed
Update available Azure API versions
1 parent 9bed1a8 commit 4101015

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

+llms/+azure/apiVersions.m

+3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33

44
% Copyright 2024 The MathWorks, Inc.
55
versions = [...
6+
"2024-08-01-preview", ...
7+
"2024-07-01-preview", ...
68
"2024-05-01-preview", ...
79
"2024-04-01-preview", ...
810
"2024-03-01-preview", ...
11+
"2024-06-01", ...
912
"2024-02-01", ...
1013
"2023-05-15", ...
1114
];

azureChat.m

+2-3
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
% Tools - A list of tools the model can call.
6060
%
6161
% API Version - The API version to use for this model.
62-
% "2024-02-01" (default) | "2023-05-15" | "2024-05-01-preview" | ...
63-
% "2024-04-01-preview" | "2024-03-01-preview"
62+
% "2024-06-01" (default) | "2024-02-01" | "2024-08-01-preview" | "2024-05-01-preview" | ...
6463
%
6564
%
6665
%
@@ -107,7 +106,7 @@
107106
nvp.Deployment (1,1) string {mustBeNonzeroLengthTextScalar}
108107
nvp.APIKey {mustBeNonzeroLengthTextScalar}
109108
nvp.Tools (1,:) {mustBeA(nvp.Tools, "openAIFunction")} = openAIFunction.empty
110-
nvp.APIVersion (1,1) string {mustBeAPIVersion} = "2024-02-01"
109+
nvp.APIVersion (1,1) string {mustBeAPIVersion} = "2024-06-01"
111110
nvp.Temperature {llms.utils.mustBeValidTemperature} = 1
112111
nvp.TopP {llms.utils.mustBeValidProbability} = 1
113112
nvp.StopSequences {llms.utils.mustBeValidStop} = {}

0 commit comments

Comments
 (0)