Give users appropriate loading feedback for the AI process going on. Here are some patterns aligned to the wait time, with implementation ideas for Blazor.
See how Resolute helped one client build a more functional, accessible and scalable web experience by instituting accessibility best practices and leveraging Progress tools.