blazor-devexpress-dot-aiintegration-dot-blazor-dot-editors.md
Implements AI-powered Smart Autocomplete functionality in the Blazor Memo component.
Namespace : DevExpress.AIIntegration.Blazor.Editors
Assembly : DevExpress.AIIntegration.Blazor.Editors.v25.2.dll
NuGet Package : DevExpress.AIIntegration.Blazor.Editors
public class MemoSmartAutoComplete :
ComponentBase,
IDisposable
The Memo component includes an AI-powered Smart Autocomplete extension that helps users compose text. As users type, an AI service analyzes their input and context and generates relevant text suggestions.
Users can interact with suggestions in the following ways:
Follow the steps below to add the Smart Autocomplete extension to the Memo component:
Register AI services.
Register the DevExpress.AIIntegration.Blazor.Editors namespace in the Components/Imports.razor file or in your Razor file:
Use the Extensions property to add the AI-powered Smart Autocomplete functionality to the Memo editor.
Note
The DevExpress Blazor Memo component is only responsible for displaying AI-generated text suggestions. The actual text analysis and suggestion generation are performed by the connected AI model. Since AI models may not always generate suggestions, we recommend that you handle the SuggestionReceived event and verify whether a suggestion is available.
Object ComponentBase MemoSmartAutoComplete
See Also