codeunitCopilot & Agentsofficial - Microsoftderived - from the source, no model text

Codeunit 7770 "AOAI Operation Response"

System Application · System.AI

Across versions

  1. BC23present
  2. BC243 procedures added, 1 procedures removed
  3. BC255 procedures added, 1 procedures changed
  4. BC26-27unchanged
  5. BC281 procedures removed
  6. BC29-30unchanged

Neighbourhood 15 connected objects and pages

Codeunit 324 "No. Series Copilot Impl." (calls, 8 links)No. Series Copilot Impl.Codeunit 7772 "Azure OpenAI Impl" (calls, 8 links)Azure OpenAI ImplCodeunit 4402 "SOA Output Message Setup" (calls, 6 links)SOA Output Message SetupCodeunit 7758 "AOAI Function Response" (calls, 6 links)AOAI Function ResponseCodeunit 6331 "Sustainability Chat Completion" (calls, 5 links)Sustainability Chat CompletionCodeunit 7275 "Sales Lines Suggestions Impl." (calls, 5 links)Sales Lines Suggestions Impl.Codeunit 7330 "Item Subst. Suggestion Impl." (calls, 5 links)Item Subst. Suggestion Impl.Codeunit 2012 "Entity Text Impl." (calls, 4 links)Entity Text Impl.Codeunit 4399 "SOA Annotation" (calls, 4 links)SOA AnnotationCodeunit 4417 "SOA Item Selector" (calls, 4 links)SOA Item SelectorCodeunit 4596 "SOA Broader Item Search" (calls, 4 links)SOA Broader Item SearchCodeunit 7251 "Bank Acc. Rec. Trans. to Acc." (calls, 4 links)Bank Acc. Rec. Trans. to Acc.Codeunit 4421 "SOA Attachment MLLM" (calls, 3 links)SOA Attachment MLLMCodeunit 7763 "AOAI Chat Messages" (calls, 2 links)AOAI Chat MessagesCodeunit 389 "No. Series Copilot Telemetry" (calls)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

System Application · System.AI · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Procedures

  • IsSuccess(): Boolean: Check whether the operation was successful.
  • GetStatusCode(): Integer: Get the status code of the operation.
  • GetResult(): Text: Get the result of the operation.
  • GetError(): Text: Get the error text of the operation.
  • IsFunctionCall(): Boolean + BC24: Get whether the operation was a function call.
  • HasFunctionResponsesByName(FunctionName: Text): Boolean + BC25: Get whether there are any function responses for a given function name.
  • TryGetFunctionReponsesByName(FunctionName: Text; var MatchedAOAIFunctionResponses: List of [Codeunit "AOAI Function Response"]): Boolean + BC25: Get all the function responses for a specified function name.
  • GetFunctionResponses(): List of [Codeunit "AOAI Function Response"] + BC25
  • AppendFunctionResponsesToChatMessages(var AOAIChatMessages: Codeunit "AOAI Chat Messages") + BC25: Appends all of the successful function results to the provided AOAIChatMessages instance.
  • AddFunctionResponse(var AOAIFunctionResponse: Codeunit "AOAI Function Response") + BC25 (internal)
  • SetOperationResponse(NewSuccess: Boolean; NewStatusCode: Integer; NewResult: Text; NewError: Text) + BC24 − BC24 (internal)

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

  • Codeunit 7758 “AOAI Function Response” (6 calls: AppendFunctionResponsesToChatMessages → AppendResultToChatMessages, AppendFunctionResponsesToChatMessages → GetFunctionId, AppendFunctionResponsesToChatMessages → GetFunctionName, …)
  • Codeunit 7763 “AOAI Chat Messages” (2 calls: AppendFunctionResponsesToChatMessages → GetLastRole, AppendFunctionResponsesToChatMessages → GetLastToolCalls)

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "AOAI Operation Response"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources