Codeunit 7787 "AOAI Policy Params"
System Application · System.AI
Across versions
- BC23-26not present
- BC27added
- BC28-30unchanged
Neighbourhood 3 connected objects and pages
System Application · System.AI · BC27-30 · source at ea08af5e · facts from BC29
Procedures
GetHarmsSeverity(): Enum "AOAI Policy Harms Severity": Gets the current AOAI Policy Harms Severity setting.GetXPIADetection(): Boolean: Gets the current AOAI Policy XPIA Detection setting.SetHarmsSeverity(HarmsSeverity: Enum "AOAI Policy Harms Severity"): Sets the AOAI Policy Harms Severity.SetXPIADetection(IsEnabled: Boolean): Sets the AOAI Policy XPIA Detection.GetCustomAOAIPolicy(): Text: Gets the value for the custom AOAI policy, if set using SetCustomAOAIPolicySetCustomAOAIPolicy(CustomAOAIPolicyParams: Text): Sets a Custom AOAI policy.InitializeDefaults(): Initializes the AOAI Policy parameters to their default values.IsDefaultPolicy(): Boolean: Gets whether the current Azure AOAI policy is the default one.GetAOAIPolicy(): Text(internal): Gets the AOAI policy as text based on the provided policy parameters or a Custom one.
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 7788 “AOAI Policy Params Impl” (9 calls:
GetAOAIPolicy → GetAOAIPolicy,GetCustomAOAIPolicy → GetCustomAOAIPolicy,GetHarmsSeverity → GetHarmsSeverity, …)
Called by
- Codeunit 7251 “Bank Acc. Rec. Trans. to Acc.” (2 calls:
GetMostAppropriateGLAccountNos → SetHarmsSeverity,GetMostAppropriateGLAccountNos → SetXPIADetection) - Codeunit 7762 “AOAI Chat Compl Params Impl” (1 call:
InitializeDefaults → InitializeDefaults)
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 Policy Params"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.