Rich Text Editor

The DevExpress AI-powered extension for our Blazor Rich Text Editor adds AI-related commands to the editor's context menu. The commands are designed to process text content. Available predefined commands are as follows:

  • Ask AI Assistant — allows a user to process text based on a custom prompt.
  • Change Style — rewrites text using a specified style.
  • Change Tone — rewrites text using a specified tone.
  • Describe Picture — generates the description for an image.
  • Expand — expands text.
  • Explain — explains text.
  • Proofread — proofreads text.
  • Shorten — shortens text.
  • Summarize — summarizes text.
  • Translate — translates text into the specified language.

To utilize DevExpress AI-powered extensions, you should register an AI service in your application.

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.

Declare the DxRichEdit.AdditionalItems property and populate it with AI-related context menu items to integrate the corresponding commands into the Rich Text Editor.