PromptToExpressionBehavior Members
Converts natural language into valid filter and unbound column expressions for data-aware WPF controls.Constructors
| Name | Description |
|---|---|
| PromptToExpressionBehavior() | Initializes a new instance of the PromptToExpressionBehavior class. |
Fields
| Name | Description |
|---|---|
| AugmentWithFunctionInfoProperty static | Identifies the AugmentWithFunctionInfo dependency property. |
| EnableInExpressionEditorProperty static | Identifies the EnableInExpressionEditor dependency property. |
| EnableInFilterEditorProperty static | Identifies the EnableInFilterEditor dependency property. |
| PromptAugmentationProperty static | Identifies the PromptAugmentation dependency property. |
| RetryAttemptCountProperty static | Identifies the RetryAttemptCount dependency property. |
| TemperatureProperty static | Identifies the Temperature dependency property. |
Properties
| Name | Description |
|---|---|
| AugmentWithFunctionInfo | Gets or sets whether to inject information about supported functions and operators into each user prompt. This is a dependency property. |
| EnableInExpressionEditor | Gets or sets whether to display the AI prompt control in the Expression Editor. This is a dependency property. |
| EnableInFilterEditor | Gets or sets whether to display the AI prompt control in the Filter Editor. This is a dependency property. |
| HasAnimatedProperties | Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable. |
| PromptAugmentation | Gets or sets additional instructions that modify the prompt before processing. This is a dependency property. |
| RetryAttemptCount | Gets or sets the number of subsequent attempts to generate a valid expression using the AI service after the initial failure. This is a dependency property. |
| Temperature | Gets or sets the balance between creativity and consistency in AI responses. This is a dependency property. |
Methods
| Name | Description |
|---|---|
| ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) | Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. Inherited from Animatable. |
| ApplyAnimationClock(DependencyProperty, AnimationClock) | Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable. |
| BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) | Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. Inherited from Animatable. |
| BeginAnimation(DependencyProperty, AnimationTimeline) | Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable. |
| Clone() | Creates a modifiable clone of this Animatable, making deep copies of this object’s values. When copying this object’s dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Inherited from Animatable. |
| GetAnimationBaseValue(DependencyProperty) | Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable. |
| ShouldSerializeStoredWeakReference(DependencyObject) static | Specifies whether a dependency object should be serialized. Inherited from Animatable. |
See Also