{"title":"Codeunit 7770 AOAI Operation Response, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/7770-aoai-operation-response/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":7770,"name":"AOAI Operation Response","app":"System Application","url":"https://jonas-paprotka.de/ref/codeunit/7770-aoai-operation-response/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/7770-aoai-operation-response/source/","path":"src/System Application/App/AI/src/Azure OpenAI/Operation Response/AOAIOperationResponse.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:7758":{"name":"AOAI Function Response","url":"https://jonas-paprotka.de/ref/codeunit/7758-aoai-function-response/"},"codeunit:7763":{"name":"AOAI Chat Messages","url":"https://jonas-paprotka.de/ref/codeunit/7763-aoai-chat-messages/"}},"procs":[{"name":"IsFunctionCall","line":67,"kind":"procedure","params":0,"steps":[[74,"ext","codeunit",7758,"IsFunctionCall",0]]},{"name":"HasFunctionResponsesByName","line":82,"kind":"procedure","params":1,"steps":[[86,"call","TryGetFunctionReponsesByName",2]]},{"name":"TryGetFunctionReponsesByName","line":95,"kind":"procedure","params":2,"steps":[[104,"call","IsFunctionCall",0],[108,"ext","codeunit",7758,"GetFunctionName",0]]},{"name":"AppendFunctionResponsesToChatMessages","line":125,"kind":"procedure","params":1,"steps":[[134,"ext","codeunit",7763,"GetLastRole",0],[137,"ext","codeunit",7763,"GetLastToolCalls",0],[153,"ext","codeunit",7758,"GetFunctionId",0],[154,"ext","codeunit",7758,"GetFunctionId",0],[154,"ext","codeunit",7758,"GetFunctionName",0],[156,"ext","codeunit",7758,"IsSuccess",0],[157,"ext","codeunit",7758,"AppendResultToChatMessages",1]]}]}