Class PromptComposingEventArgs
Provides data for the PromptComposing event.
Inheritance
System.Object
PromptComposingEventArgs
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class PromptComposingEventArgs : EventArgs
Remarks
The
Properties
ComposedPrompt
Gets the fully composed prompt string.
Declaration
public string ComposedPrompt { get; }
Property Value
| Type |
|---|
| System.String |
Remarks
This is the final prompt that will be sent to the AI backend. It includes all enabled system prompts, context prompts, prompt parts, and the user input combined with newline delimiters.
Parts
Gets a read-only list of the enabled prompt parts in composition order.
Declaration
public IList<AssistPromptPart> Parts { get; }
Property Value
| Type |
|---|
| System.Collections.Generic.IList<AssistPromptPart> |
Remarks
This list contains all prompt parts from PromptParts that were enabled (IsEnabled = true) and sorted by their Order property. Disabled parts are excluded.