---
id: object/codeunit/7768
type: object
title: Codeunit 7768 "AOAI Deployments"
summary: Codeunit 7768 "AOAI Deployments" in System Application (System.AI). 10 public procedures. Present since at least BC23, still in BC30, changed in BC24-26, BC29-30.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: c9f7290e0d93ab5e9b9b3e63f31bd1d8f4b81227647126a959560dbe9f560479
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/AI/src/Azure%20OpenAI/AOAIDeployments.Codeunit.al
    title: src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11375
    - change/bcapps/9910
object_type: codeunit
object_id: 7768
name: AOAI Deployments
namespace: System.AI
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "29"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 10
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 11
  implements: 0
---

# Codeunit 7768 "AOAI Deployments"

> Codeunit 7768 "AOAI Deployments" in System Application (System.AI). 10 public procedures. Present since at least BC23, still in BC30, changed in BC24-26, BC29-30.

System Application · System.AI · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/AI/src/Azure%20OpenAI/AOAIDeployments.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Public |

## Procedures

- `GetGPT41Latest(): Text`: Returns the name of the latest AOAI deployment model of GPT-4.1.
- `GetGPT41Preview(): Text`: Returns the name of the preview AOAI deployment model of GPT-4.1.
- `GetGPT41MiniLatest(): Text`: Returns the name of the latest AOAI deployment model of GPT-4.1 mini.
- `GetGPT41MiniPreview(): Text`: Returns the name of the preview AOAI deployment model of GPT-4.1 mini.
- `GetGPT53ChatLatest(): Text`: Returns the name of the latest AOAI deployment model of GPT-5.3 chat.
- `GetGPT53ChatPreview(): Text`: Returns the name of the preview AOAI deployment model of GPT-5.3 chat.
- `GetGPT55ChatLatest(): Text` (obsolete 29.1: GPT-5.5 chat deployment name is no longer supported from 11 September 2026. Use GetGPT56CeresLatest instead (or GetGPT56CeresPreview for testing upcoming versions).): Returns the name of the latest AOAI deployment model of GPT-5.5 chat.
- `GetGPT55ChatPreview(): Text` (obsolete 29.1: GPT-5.5 chat deployment name is no longer supported from 11 September 2026. Use GetGPT56CeresLatest instead (or GetGPT56CeresPreview for testing upcoming versions).): Returns the name of the preview AOAI deployment model of GPT-5.5 chat.
- `GetGPT56CeresLatest(): Text`: Returns the name of the latest AOAI deployment model of GPT-5.6 Ceres.
- `GetGPT56CeresPreview(): Text`: Returns the name of the preview AOAI deployment model of GPT-5.6 Ceres.

## 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 7769 "AOAI Deployments Impl"](../codeunit/7769.md) (8 calls: `GetGPT41Latest → GetGPT41Latest`, `GetGPT41MiniLatest → GetGPT41MiniLatest`, `GetGPT41MiniPreview → GetGPT41MiniPreview`, …)

## Called by

- [Codeunit 4402 "SOA Output Message Setup"](../codeunit/4402.md) (2 calls: `AddSignatureToMessageBody → GetGPT41Latest`, `CheckMailTemplate → GetGPT41Latest`)
- [Codeunit 2012 "Entity Text Impl."](../codeunit/2012.md) (1 call: `GenerateCompletion → GetGPT41Latest`)
- [Codeunit 324 "No. Series Copilot Impl."](../codeunit/324.md) (1 call: `GenerateNoSeries → GetGPT41Latest`)
- [Codeunit 4399 "SOA Annotation"](../codeunit/4399.md) (1 call: `CheckIfMessageRelevant → GetGPT41Latest`)
- [Codeunit 4417 "SOA Item Selector"](../codeunit/4417.md) (1 call: `TrySelectBestMatchingItems → GetGPT56CeresLatest`)
- [Codeunit 4421 "SOA Attachment MLLM"](../codeunit/4421.md) (1 call: `TryExtractAttachmentContent → GetGPT56CeresPreview`)
- [Codeunit 4596 "SOA Broader Item Search"](../codeunit/4596.md) (1 call: `AICall → GetGPT56CeresLatest`)
- [Codeunit 6331 "Sustainability Chat Completion"](../codeunit/6331.md) (1 call: `GenerateChatCompletion → GetGPT41Latest`)
- [Codeunit 7251 "Bank Acc. Rec. Trans. to Acc."](../codeunit/7251.md) (1 call: `GetMostAppropriateGLAccountNos → GetGPT41Latest`)
- [Codeunit 7275 "Sales Lines Suggestions Impl."](../codeunit/7275.md) (1 call: `AICall → GetGPT41Latest`)
- [Codeunit 7330 "Item Subst. Suggestion Impl."](../codeunit/7330.md) (1 call: `AICall → GetGPT41Preview`)

## Recent changes

- 2026-09-23 [#11375 Obsolete GPT-5.5 chat and add GPT-5.6 Ceres deployments](../../changes/bcapps/11375.md) (main, BC30, obsoletion)
- 2026-08-15 [#9910 [SOA] Move attachment processing to direct model reading](../../changes/bcapps/9910.md) (main, BC30, feature)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26, BC29-30

## Deprecations

- procedure GetGPT55ChatLatest: Pending 29.1 (#if not CLEAN29), "GPT-5.5 chat deployment name is no longer supported from 11 September 2026. Use GetGPT56CeresLatest instead (or GetGPT56CeresPreview for testing upcoming versions)."
- procedure GetGPT55ChatPreview: Pending 29.1 (#if not CLEAN29), "GPT-5.5 chat deployment name is no longer supported from 11 September 2026. Use GetGPT56CeresLatest instead (or GetGPT56CeresPreview for testing upcoming versions)."

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

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