{
  "title": "Codeunit 7768 AOAI Deployments",
  "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/",
  "author": "Jonas Paprotka",
  "license": "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link.",
  "subject": "Microsoft Dynamics 365 Business Central",
  "checked": "2026-09-20",
  "source": {
    "feed": "https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json",
    "package": "Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f",
    "build": "28.5.54151.54365",
    "code": {
      "24": {
        "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/24/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/24.x",
        "commit": "fe14d3e6db00d28df3a69c7bba830813d70794e2",
        "path": "src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
        "license": "MIT"
      },
      "25": {
        "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/25/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/25.x",
        "commit": "68d52c129129c83b2e396a473aaa5b2ce61d2eed",
        "path": "src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
        "license": "MIT"
      },
      "26": {
        "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/26/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/26.x",
        "commit": "78c4acf0d64a8eee157ea80164fa8fc2acffc9eb",
        "path": "src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
        "license": "MIT"
      },
      "27": {
        "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/27/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/27.x",
        "commit": "1749020b4c9445a43e4f7f540e89b7fa76ec25fd",
        "path": "src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
        "license": "MIT"
      },
      "28": {
        "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/28/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/28.x",
        "commit": "740f59156b249f8ed7cba2e28423f03ae7b07233",
        "path": "src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
        "license": "MIT"
      },
      "29": {
        "url": "https://jonas-paprotka.de/ref/codeunit/7768-aoai-deployments/source/29/",
        "repo": "https://github.com/microsoft/BCApps",
        "branch": "releases/29.x",
        "commit": "a66254c3b8b5bb1cea290dc8f9d097aec4381153",
        "path": "src/System Application/App/AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
        "license": "MIT"
      }
    },
    "note": "Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."
  },
  "object": {
    "type": "codeunit",
    "id": 7768,
    "name": "AOAI Deployments",
    "app": "System Application",
    "appByVersion": [
      {
        "app": "System Application",
        "from": 23
      }
    ],
    "nameByVersion": [
      {
        "name": "AOAI Deployments",
        "from": 23
      }
    ],
    "namespace": "System.AI",
    "versions": "23-28",
    "majors": [
      23,
      24,
      25,
      26,
      27,
      28
    ],
    "extends": null,
    "sourceTable": null,
    "sourceFile": "AI/src/Azure OpenAI/AOAIDeployments.Codeunit.al",
    "obsolete": null,
    "obsoleteSeenFrom": null,
    "byVersion": {
      "23": {
        "app": "system-application",
        "name": "AOAI Deployments",
        "ns": "System.AI",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 3,
          "values": 0
        },
        "stub": false
      },
      "24": {
        "app": "system-application",
        "name": "AOAI Deployments",
        "ns": "System.AI",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 7,
          "values": 0
        },
        "stub": false
      },
      "25": {
        "app": "system-application",
        "name": "AOAI Deployments",
        "ns": "System.AI",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 11,
          "values": 0
        },
        "stub": false
      },
      "26": {
        "app": "system-application",
        "name": "AOAI Deployments",
        "ns": "System.AI",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 15,
          "values": 0
        },
        "stub": false
      },
      "27": {
        "app": "system-application",
        "name": "AOAI Deployments",
        "ns": "System.AI",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 15,
          "values": 0
        },
        "stub": false
      },
      "28": {
        "app": "system-application",
        "name": "AOAI Deployments",
        "ns": "System.AI",
        "obsolete": null,
        "target": "",
        "sourceTable": "",
        "counts": {
          "fields": 0,
          "keys": 0,
          "methods": 8,
          "values": 0
        },
        "stub": false
      }
    },
    "fields": [],
    "keys": [],
    "procedures": [
      {
        "name": "GetTurbo0301",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          23,
          24,
          25,
          26,
          27
        ],
        "range": "23-27",
        "first": 23,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 23,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT40613",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          23,
          24,
          25,
          26,
          27
        ],
        "range": "23-27",
        "first": 23,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 23,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetTurbo0613",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          23,
          24,
          25,
          26,
          27
        ],
        "range": "23-27",
        "first": 23,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 23,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Specific deployment names are no longer supported. Use GetGPT35TurboLatest and GetGPT4Latest instead (or GetGPT35TurboPreview and GetGPT4Preview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT35TurboLatest",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "GPT35 Turbo is no longer supported. Use GetGPT4oMiniLatest instead (or GetGPT4oMiniPreview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          24,
          25,
          26,
          27
        ],
        "range": "24-27",
        "first": 24,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 24,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT35 Turbo is no longer supported. Use GetGPT4oMiniLatest instead (or GetGPT4oMiniPreview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT35TurboPreview",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "GPT35 Turbo is no longer supported. Use GetGPT4oMiniLatest instead (or GetGPT4oMiniPreview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          24,
          25,
          26,
          27
        ],
        "range": "24-27",
        "first": 24,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 24,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT35 Turbo is no longer supported. Use GetGPT4oMiniLatest instead (or GetGPT4oMiniPreview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT4Latest",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Generic GPT4 deployment name is no longer supported. Use GetGPT4oLatest instead (or GetGPT4oPreview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          24,
          25,
          26,
          27
        ],
        "range": "24-27",
        "first": 24,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 24,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Generic GPT4 deployment name is no longer supported. Use GetGPT4oLatest instead (or GetGPT4oPreview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT4Preview",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "Generic GPT4 deployment name is no longer supported. Use GetGPT4oLatest instead (or GetGPT4oPreview for testing upcoming versions).",
          "tag": "25.0"
        },
        "majors": [
          24,
          25,
          26,
          27
        ],
        "range": "24-27",
        "first": 24,
        "last": 27,
        "obsoleteSince": 25,
        "spans": [
          {
            "from": 24,
            "to": 24,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 25,
            "to": 27,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "Generic GPT4 deployment name is no longer supported. Use GetGPT4oLatest instead (or GetGPT4oPreview for testing upcoming versions).",
              "tag": "25.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT4oLatest",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
          "tag": "27.0"
        },
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 25,
            "to": 25,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
              "tag": "27.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT4oPreview",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
          "tag": "27.0"
        },
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 25,
            "to": 25,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
              "tag": "27.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT4oMiniLatest",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "GPT4o mini deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
          "tag": "27.0"
        },
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 25,
            "to": 25,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 26,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
              "tag": "27.0"
            }
          },
          {
            "from": 27,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT4o mini deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
              "tag": "27.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT4oMiniPreview",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": {
          "state": "Pending",
          "reason": "GPT4o mini deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
          "tag": "27.0"
        },
        "majors": [
          25,
          26,
          27,
          28
        ],
        "range": "25-28",
        "first": 25,
        "last": 28,
        "obsoleteSince": 26,
        "spans": [
          {
            "from": 25,
            "to": 25,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          },
          {
            "from": 26,
            "to": 26,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT4o deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
              "tag": "27.0"
            }
          },
          {
            "from": 27,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": {
              "state": "Pending",
              "reason": "GPT4o mini deployment name is no longer supported from 15 July 2025. Use GetGPT41Latest instead (or GetGPT41Preview for testing upcoming versions).",
              "tag": "27.0"
            }
          }
        ]
      },
      {
        "name": "GetGPT41Latest",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "GetGPT41Preview",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "GetGPT41MiniLatest",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      },
      {
        "name": "GetGPT41MiniPreview",
        "sig": "()",
        "returns": "Text",
        "kind": "procedure",
        "access": "public",
        "obsolete": null,
        "majors": [
          26,
          27,
          28
        ],
        "range": "26-28",
        "first": 26,
        "last": 28,
        "obsoleteSince": null,
        "spans": [
          {
            "from": 26,
            "to": 28,
            "returns": "Text",
            "kind": "procedure",
            "access": "public",
            "obsolete": null
          }
        ]
      }
    ],
    "events": [],
    "values": []
  }
}