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

Codeunit 7758 "AOAI Function Response"

System Application · System.AI

Across versions

  1. BC23not present
  2. BC24added
  3. BC254 procedures added, 1 procedures removed
  4. BC26-30unchanged

Neighbourhood 11 connected objects and pages

Codeunit 324 "No. Series Copilot Impl." (calls, 7 links)No. Series Copilot Impl.Codeunit 6331 "Sustainability Chat Completion" (calls, 6 links)Sustainability Chat CompletionCodeunit 7770 "AOAI Operation Response" (calls, 6 links)AOAI Operation ResponseCodeunit 7772 "Azure OpenAI Impl" (calls, 6 links)Azure OpenAI ImplCodeunit 2012 "Entity Text Impl." (calls, 3 links)Entity Text Impl.Codeunit 7275 "Sales Lines Suggestions Impl." (calls, 3 links)Sales Lines Suggestions Impl.Codeunit 7330 "Item Subst. Suggestion Impl." (calls, 3 links)Item Subst. Suggestion Impl.Codeunit 4402 "SOA Output Message Setup" (calls, 2 links)SOA Output Message SetupCodeunit 4417 "SOA Item Selector" (calls)SOA Item SelectorCodeunit 4596 "SOA Broader Item Search" (calls)SOA Broader Item SearchCodeunit 7763 "AOAI Chat Messages" (calls)AOAI Chat Messages

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 · BC24-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Access Public

Procedures

  • IsSuccess(): Boolean: Get whether the function call was successful.
  • GetStatus(): Enum "AOAI Function Response Status" + BC25: Gets the function response status.
  • GetResult(): Variant: Get the return value of the function that was called.
  • GetArguments(): JsonObject + BC25: Get the arguments for the function call.
  • GetError(): Text: Get the error message from the function that was called.
  • GetFunctionName(): Text: Get the name of the function that was called.
  • GetFunctionId(): Text: Get the id of the function that was called.
  • GetErrorCallstack(): Text: Get the error call stack from the function that was called.
  • AppendResultToChatMessages(var AOAIChatMessages: Codeunit "AOAI Chat Messages") + BC25 (internal): Appends the function result to the provided AOAIChatMessages instance.
  • IsFunctionCall(): Boolean (internal)
  • SetFunctionCallingResponse(NewIsFunctionCall: Boolean; NewAOAIFunctionResponseStatus: Enum "AOAI Function Response Status"; NewFunctionCalled: Text; NewFunctionId: Text; NewArguments: JsonObject; NewFunctionResult: Variant; NewFunctionError: Text; NewFunctionErrorCallStack: Text) + BC25 − BC25 (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.

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 Function Response"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources