When connected to your own AI model/service without rate limits, DevExpress AI-powered Extensions will perform seamlessly, without artificial delays.
This demo incorporates an AI-powered Smart Paste extension into the DevExpress Blazor Form Layout component. The extension simplifies data entry scenarios when information is copied from external sources. It parses unstructured text (such as email content or free-form notes) and automatically populates matching form fields with extracted values.
To replicate Smart Paste functionality in your next great DevExpress-powered Blazor project, you must:
Register the desired AI service in your application. Select the approach that best fits your needs:
- Use the DevExpress Template Kit to create a new project with pre-configured AI services and NuGet packages.
- Integrate the desired AI service into your existing application.
Register the following namespaces in the Components/Imports.razor file or in your Razor file:
Use the Extensions property to add the AI-powered Smart Paste functionality to the Form Layout component.
Write your own code to obtain source text (for example, from an editor, clipboard, file, or external system).
Add a button that calls the FormLayout.SmartPasteAsync method. Pass the obtained text to this method.
Note: DevExpress AI-powered extensions follow the "bring your own key" principle. DevExpress does not offer a REST API and does not ship any built-in LLMs/SLMs. You need an active Azure/Open AI subscription to obtain the REST API endpoint, key, and model deployment name. These variables must be specified at application startup to register AI clients and enable DevExpress AI-powered extensions in your application.