Codeunit 7765 AOAI Text Completion Params

System Application, System.AI

Source AL, 149 lines

src/System Application/App/AI/src/Azure OpenAI/Text Completion/AOAITextCompletionParams.Codeunit.allines 12 to 27 of 149, Copyright (c) Microsoft Corporation. MIT

codeunit 7765 "AOAI Text Completion Params"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    ObsoleteState = Pending;    ObsoleteReason = 'Text completion models are retired by Azure OpenAI. Use GenerateChatCompletion instead.';    ObsoleteTag = '29.0';    var        AOAITextCompletionParamsImpl: Codeunit "AOAI TextCompletionParams Impl";    /// <summary>    /// Get the maximum number of tokens to generate in the completion.    /// </summary>    /// <returns>The maximum number of tokens to generate in the completion.</returns>

All 149 lines

Public procedures 12 in 29

GetMaxTokens(): Integernew in 23
GetTemperature(): Decimalnew in 23
GetTopP(): Decimalnew in 23
GetSuffix(): Textnew in 23
GetPresencePenalty(): Decimalnew in 23
GetFrequencyPenalty(): Decimalnew in 23

All 13 procedures in 23-29

Changes 1 in 29

List17181920212223242526272829
Object1
codeunit 7765 "AOAI Text Completion Params"new in 23
marked Pending, tag 29.0: Text completion models are retired by Azure OpenAI. Use GenerateChatCompletion instead.

All 1 changes in 23-29