PromptMode Property
Version: Available or changed with runtime version 12.1.
Specifies the current mode of a PromptDialog page.
Applies to
- Page
Property Value
Value | Available or changed with | Description |
---|---|---|
Content | runtime version 12.1 | Showing the output of the copilot interaction. |
Generate | runtime version 12.1 | Generating the output of the copilot interaction. |
Prompt | runtime version 12.1 | Prompting the user for input for the copilot interaction. |
Remarks
The PromptMode
property is used on pages that have the PageType Property set to PromptDialog
. The PromptDialog
enables creating a generative AI dialog in Business Central. The default value is Prompt
, which is the starting prompt mode. The PromptMode
property can be changed at runtime. The other options are Generate
, which triggers generating the output of the copilot interaction, and Content
, which shows the output of the copilot interaction. You can programmatically set this property by setting the variable CurrPage.PromptMode
before the page is opened. For more information, see PromptDialog page type.
See Also
Getting Started with AL
Developing Extensions
PromptDialog page type
PageType Property
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應