File tree Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Expand file tree Collapse file tree 5 files changed +23
-5
lines changed Original file line number Diff line number Diff line change
1
+ classdef (Abstract ) hasTools
2
+ % This class is undocumented and will change in a future release
3
+
4
+ % Copyright 2023-2024 The MathWorks, Inc.
5
+
6
+ properties (Access = protected )
7
+ Tools
8
+ FunctionsStruct
9
+ end
10
+ end
Original file line number Diff line number Diff line change
1
+ classdef (Abstract ) needsAPIKey
2
+ % This class is undocumented and will change in a future release
3
+
4
+ % Copyright 2023-2024 The MathWorks, Inc.
5
+
6
+ properties (Access = protected )
7
+ APIKey
8
+ end
9
+ end
Original file line number Diff line number Diff line change 29
29
end
30
30
31
31
properties (Access = protected )
32
- Tools
33
- FunctionsStruct
34
- APIKey
35
32
StreamFun
36
33
end
37
34
end
Original file line number Diff line number Diff line change 1
- classdef (Sealed ) azureChat < llms .internal .textGenerator & llms .internal .gptPenalties
1
+ classdef (Sealed ) azureChat < llms .internal .textGenerator & ...
2
+ llms .internal .gptPenalties & llms .internal .hasTools & llms .internal .needsAPIKey
2
3
% azureChat Chat completion API from Azure.
3
4
%
4
5
% CHAT = azureChat(endpoint, deploymentID) creates an azureChat object with
Original file line number Diff line number Diff line change 1
- classdef (Sealed ) openAIChat < llms .internal .textGenerator & llms .internal .gptPenalties
1
+ classdef (Sealed ) openAIChat < llms .internal .textGenerator & ...
2
+ llms .internal .gptPenalties & llms .internal .hasTools & llms .internal .needsAPIKey
2
3
% openAIChat Chat completion API from OpenAI.
3
4
%
4
5
% CHAT = openAIChat(systemPrompt) creates an openAIChat object with the
You can’t perform that action at this time.
0 commit comments