diff --git a/+llms/+internal/callAzureChatAPI.m b/+llms/+internal/callAzureChatAPI.m index e2aef9c..02b52ac 100644 --- a/+llms/+internal/callAzureChatAPI.m +++ b/+llms/+internal/callAzureChatAPI.m @@ -1,5 +1,5 @@ function [text, message, response] = callAzureChatAPI(endpoint, deploymentID, messages, functions, nvp) -%callOpenAIChatAPI Calls the openAI chat completions API. +%callAzureChatAPI Calls the openAI chat completions API on Azure. % % MESSAGES and FUNCTIONS should be structs matching the json format % required by the OpenAI Chat Completions API. diff --git a/azureChat.m b/azureChat.m index 8c6acc1..52fc082 100644 --- a/azureChat.m +++ b/azureChat.m @@ -4,10 +4,10 @@ % CHAT = azureChat(endpoint, deploymentID) creates an azureChat object with the % endpoint and deployment ID path parameters required by Azure to establish the connection. % -% CHAT = azureChat(systemPrompt) creates an azureChatobject with the +% CHAT = azureChat(__,systemPrompt) creates an azureChatobject with the % specified system prompt. % -% CHAT = azureChat(systemPrompt,Name=Value) specifies additional options +% CHAT = azureChat(__,Name=Value) specifies additional options % using one or more name-value arguments: % % Tools - A list of tools the model can call.