Specifies settings.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class GridToolBarSmartBoxToolSemanticSearchSettings : GridToolBarSmartBoxToolSearchSettingsBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentGridToolBarSmartBoxToolSearchSettingsBaseGridToolBarSmartBoxToolSemanticSearchSettings
Implements:
Inherited Members
Constructors
public GridToolBarSmartBoxToolSemanticSearchSettings()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
public override Task SetParametersAsync(ParameterView parameters)
Overrides:
Properties
Specifies the delay in milliseconds before triggering semantic search after the user stops typing. Semantic search typically involves AI processing which can be more resource-intensive than regular search. Defaults to 900 milliseconds (higher than regular search) to reduce unnecessary AI calls while typing. Adjust based on your AI service response times and user experience preferences.
[Parameter]
public int DebounceDelay { get; set; }
Fires when the user performs a semantic search operation from the Grid toolbar SmartBox. The event args (GridSmartBoxSemanticSearchEventArgs) contain the natural language query entered by the user. Use this to integrate with AI/ML services, vector databases, or semantic search APIs to find contextually relevant results. Unlike standard search, semantic search understands intent and meaning rather than exact text matches. Works with DebounceDelay to control when searches are triggered.
[Parameter]
public EventCallback<GridSmartBoxSemanticSearchEventArgs> OnSearch { get; set; }
Defines the placeholder text shown in the semantic search input when empty. Guides users to enter natural language queries instead of exact text matches. Defaults to a localized prompt encouraging conversational search. Example: "Ask a question about your data...".
[Parameter]
public string Placeholder { get; set; }