Skip to content

Commit beb41a5

Browse files
committed
simplify comment
1 parent 3bd2208 commit beb41a5

File tree

2 files changed

+1
-30
lines changed

2 files changed

+1
-30
lines changed

+llms/+internal/callAzureChatAPI.m

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@
77
% required by the OpenAI Chat Completions API.
88
% Ref: https://platform.openai.com/docs/guides/gpt/chat-completions-api
99
%
10-
% Currently, the supported NVP are, including the equivalent name in the API:
11-
% - ToolChoice (tool_choice)
12-
% - Temperature (temperature)
13-
% - TopProbabilityMass (top_p)
14-
% - NumCompletions (n)
15-
% - StopSequences (stop)
16-
% - MaxNumTokens (max_tokens)
17-
% - PresencePenalty (presence_penalty)
18-
% - FrequencyPenalty (frequence_penalty)
19-
% - ResponseFormat (response_format)
20-
% - Seed (seed)
21-
% - ApiKey
22-
% - TimeOut
23-
% - StreamFun
2410
% More details on the parameters: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/chatgpt
2511
%
2612
% Example
@@ -49,7 +35,7 @@
4935
% apiKey = "your-api-key-here"
5036
%
5137
% % Send a request
52-
% [text, message] = llms.internal.callOpenAIChatAPI(messages, functions, ApiKey=apiKey)
38+
% [text, message] = llms.internal.callAzureChatAPI(messages, functions, ApiKey=apiKey)
5339

5440
% Copyright 2023-2024 The MathWorks, Inc.
5541

+llms/+internal/callOpenAIChatAPI.m

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,6 @@
77
% required by the OpenAI Chat Completions API.
88
% Ref: https://platform.openai.com/docs/guides/gpt/chat-completions-api
99
%
10-
% Currently, the supported NVP are, including the equivalent name in the API:
11-
% - ToolChoice (tool_choice)
12-
% - ModelName (model)
13-
% - Temperature (temperature)
14-
% - TopProbabilityMass (top_p)
15-
% - NumCompletions (n)
16-
% - StopSequences (stop)
17-
% - MaxNumTokens (max_tokens)
18-
% - PresencePenalty (presence_penalty)
19-
% - FrequencyPenalty (frequence_penalty)
20-
% - ResponseFormat (response_format)
21-
% - Seed (seed)
22-
% - ApiKey
23-
% - TimeOut
24-
% - StreamFun
2510
% More details on the parameters: https://platform.openai.com/docs/api-reference/chat/create
2611
%
2712
% Example

0 commit comments

Comments
 (0)