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

Codeunit 7764 "AOAI Chat Messages Impl"

System Application · System.AI

Across versions

  1. BC23present
  2. BC245 procedures added
  3. BC253 procedures added
  4. BC26unchanged
  5. BC271 procedures added
  6. BC285 procedures added, 1 procedures removed
  7. BC29-30unchanged

Neighbourhood 8 connected objects and pages

Codeunit 7763 "AOAI Chat Messages" (calls, 20 links)AOAI Chat MessagesCodeunit 7783 "AOAI User Message" (calls, 3 links)AOAI User MessageCodeunit 8711 "Telemetry" (calls, 3 links)TelemetryCodeunit 2200 "Azure Key Vault" (calls, 2 links)Azure Key VaultCodeunit 457 "Environment Information" (calls)Environment InformationCodeunit 7759 "AOAI Token" (calls)AOAI TokenCodeunit 7769 "AOAI Deployments Impl" (calls)AOAI Deployments ImplCodeunit 7772 "Azure OpenAI Impl" (calls)Azure OpenAI Impl

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 Internal

Procedures

  • SetPrimarySystemMessage(NewPrimaryMessage: SecretText)
  • AddSystemMessage(NewMessage: Text)
  • AddUserMessage(NewMessage: Text) + BC28 + BC28
  • AddUserMessage(NewMessage: Text; NewName: Text[2048]) + BC28 + BC28
  • AddUserMessage(AOAIUserMessage: Codeunit "AOAI User Message") + BC28 + BC28
  • AddUserMessage(AOAIUserMessage: Codeunit "AOAI User Message"; NewName: Text[2048]) + BC28 + BC28
  • AddAssistantMessage(NewMessage: Text)
  • AddToolCalls(ToolCalls: JsonArray) + BC25
  • AddToolMessage(ToolCallId: Text; FunctionName: Text; FunctionResult: Text) + BC24
  • ModifyMessage(Id: Integer; NewMessage: Text; NewRole: Enum "AOAI Chat Roles"; NewName: Text[2048])
  • DeleteMessage(Id: Integer)
  • GetHistory(): List of [Text]
  • GetHistoryNames(): List of [Text[2048]]
  • GetHistoryRoles(): List of [Enum "AOAI Chat Roles"]
  • GetHistoryToolCallIds(): List of [Text] + BC24
  • GetLastMessage(): Text
  • GetLastRole(): Enum "AOAI Chat Roles"
  • GetLastName(): Text[2048]
  • GetLastToolCalls(): JsonArray + BC25
  • GetLastToolCallId(): Text + BC24
  • SetHistoryLength(NewHistoryLength: Integer)
  • GetHistoryTokenCount(): Integer + BC24
  • PrepareHistory(var SystemMessageTokenCount: Integer; var MessagesTokenCount: Integer): JsonArray
  • AddXPIADetectionTags(var Input: Text) + BC27
  • CheckCompatibilityWithModel(Deployment: SecretText) + BC28

Plus 8 local procedures.

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

Recent changes

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

Evidence 1 sources