Codeunit 132933 Azure OpenAI Test Library

System Application Test Library, System.TestLibraries.AI

src/System Application/Test Library/AI/src/AzureOpenAITestLibrary.Codeunit.al7 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

GetAOAIHistory line 12

  1. 17callsCodeunit 7763 AOAI Chat Messages SetHistoryLength
  2. 18callsCodeunit 7763 AOAI Chat Messages AssembleHistory

GetAOAIAssembleTools line 21

  1. 23callsCodeunit 7763 AOAI Chat Messages AssembleTools

CheckAOAIChatMessagesCompatibilityWithModel line 26

  1. 28callsCodeunit 7763 AOAI Chat Messages CheckCompatibilityWithModel

GetAOAIChatCompletionParametersPayload line 31

  1. 33callsCodeunit 7761 AOAI Chat Completion Params AddChatCompletionsParametersToPayload

SetAOAIFunctionResponse line 36

  1. 43callsCodeunit 7758 AOAI Function Response SetFunctionCallingResponse

AddAOAIFunctionResponse line 46

  1. 48callsCodeunit 7770 AOAI Operation Response GetStatusCode
  2. 49callsCodeunit 7770 AOAI Operation Response SetOperationResponse
  3. 50callsSetAOAIFunctionResponse
  4. 51callsCodeunit 7770 AOAI Operation Response AddFunctionResponse

SetToolCalls line 59

  1. 66callsCodeunit 7763 AOAI Chat Messages AddToolCalls