Skip to content

Commit 71f88a9

Browse files
committed
tabs to spaces
1 parent 3ebc529 commit 71f88a9

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

+llms/+azure/apiVersions.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%VERSIONS - supported azure API versions
33

44
% Copyright 2024 The MathWorks, Inc.
5-
versions = [...
5+
versions = [...
66
"2024-05-01-preview", ...
77
"2024-04-01-preview", ...
88
"2024-03-01-preview", ...

+llms/+internal/gptPenalties.m

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
classdef (Abstract) gptPenalties
2-
% This class is undocumented and will change in a future release
2+
% This class is undocumented and will change in a future release
33

4-
% Copyright 2024 The MathWorks, Inc.
5-
properties
6-
%PRESENCEPENALTY Penalty for using a token in the response that has already been used.
7-
PresencePenalty {llms.utils.mustBeValidPenalty} = 0
4+
% Copyright 2024 The MathWorks, Inc.
5+
properties
6+
%PRESENCEPENALTY Penalty for using a token in the response that has already been used.
7+
PresencePenalty {llms.utils.mustBeValidPenalty} = 0
88

9-
%FREQUENCYPENALTY Penalty for using a token that is frequent in the training data.
10-
FrequencyPenalty {llms.utils.mustBeValidPenalty} = 0
11-
end
9+
%FREQUENCYPENALTY Penalty for using a token that is frequent in the training data.
10+
FrequencyPenalty {llms.utils.mustBeValidPenalty} = 0
11+
end
1212
end

+llms/+openai/models.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%MODELS - supported OpenAI models
33

44
% Copyright 2024 The MathWorks, Inc.
5-
models = [...
5+
models = [...
66
"gpt-4o","gpt-4o-2024-05-13",...
77
"gpt-4-turbo","gpt-4-turbo-2024-04-09",...
88
"gpt-4","gpt-4-0613", ...

doc/Azure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Note that this function does not need to exist, since it will only be used to ex
218218

219219
```matlab
220220
chat = azureChat(YOUR_ENDPOINT_NAME, YOUR_DEPLOYMENT_NAME, ...
221-
"You are helpful assistant that reads patient records and extracts information", ...
221+
"You are helpful assistant that reads patient records and extracts information", ...
222222
Tools=f);
223223
messages = messageHistory;
224224
messages = addUserMessage(messages,"Extract the information from the report:" + newline + patientReport);

tests/topenAIMessages.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
% Copyright 2023-2024 The MathWorks, Inc.
55

66
methods(Test)
7-
function returnsMessageHistory(testCase)
8-
testCase.verifyClass(openAIMessages,"messageHistory");
9-
end
7+
function returnsMessageHistory(testCase)
8+
testCase.verifyClass(openAIMessages,"messageHistory");
9+
end
1010
end
1111
end

0 commit comments

Comments
 (0)