---
title: "Codeunit 7758 AOAI Function Response, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/points/
object: https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 7758 AOAI Function Response, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/points/

1 procedures and triggers with a step in src/System Application/App/AI/src/Azure OpenAI/Operation Response/AOAIFunctionResponse.Codeunit.al, in source order, read from the text, not from a run.

## AppendResultToChatMessages

[Line 101](https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/source/#L101), internal.

- [103](https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/source/#L103) calls [Codeunit 7763 AOAI Chat Messages](https://jonas-paprotka.de/ref/codeunit/7763-aoai-chat-messages/) `AddToolMessage`
- [103](https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/source/#L103) calls `GetFunctionId`
- [103](https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/source/#L103) calls `GetFunctionName`
- [103](https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/source/#L103) calls `GetResult`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
