/syncfusion-angular:syncfusion-angular-ai-assistviewfrom Syncfusion Angular UI Components
Implement the Syncfusion Angular AI AssistView component. Use this skill when you need to create conversational AI interfaces, integrate AI services, add chat-like UI, or create intelligent assistant applications. Includes setup, configuration, event handling, AI integrations (OpenAI, Gemini, Ollama), speech features, chain-of-thought reasoning, generative UI tool support, and customization. Use this skill for all AI AssistView component implementation needs.
Ships in Syncfusion Angular UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion AI AssistView is a powerful Angular component that provides a ready-to-use interface for building conversational AI applications.
Key Capabilities:
AssistThinking moduleblocks and registerToolUIbeforeReport event for customization, and a TelemetryData argument on addPromptResponse to surface usage dataDataManager data sources, filtering, highlighting, popup sizing, and display/item/no-records templatesactiveView control and dynamic switchingbeforeAttachmentUpload, attachmentUploadSuccess, attachmentUploadFailure, attachmentRemoved, attachmentRemoving, and attachmentClickresponseAnimationTemplate for branded loading states📄 Read: references/getting-started.md
📄 Read: references/assist-view-basics.md
enablePersistenceenableRtl for Arabic, Hebrew, Persian, Urdu📄 Read: references/appearance-customization.md
📄 Read: references/custom-views.md
activeView property📄 Read: references/methods-and-actions.md
📄 Read: references/chain-of-thoughts.md
AssistThinking moduleblocks property, blockType: 'thinking')addPromptResponse and isFinalUpdatestages array and ThinkingStage propertiescompleted, inprogress, failed)editableContext and {index} placeholderseditableContextClicked eventblockTemplate and itemTemplate📄 Read: references/generative-ui.md
registerToolUI (toolName, template, handler)tool blocks to responses via addPromptResponse (toolName, props)blocks JSONexecutePrompt after tool interaction📄 Read: references/text-to-speech.md
e-assist-audio response toolbar itemSpeechSynthesisUtterance APItextToSpeechSettings (language, speechPitch, speechRate, volume, voice)📄 Read: references/telemetry.md
telemetrySettings.enablemetrics array (status, duration, toolCalls, streamingChunks, model, inputTokens, outputTokens, totalTokens, reasoningTokens, cachedInputTokens)beforeReport event (mutate, augment with customAttributes, or return null to suppress)TelemetryData argument to addPromptResponseTelemetryData.customAttributes📄 Read: references/mentions.md
mentionChar (e.g. @ for agents, / for commands)mentions array)DataManager instances with the dataSource propertyfields and applying additional filters with QueryfilterType (Contains, StartsWith, EndsWith) and highlightshowMentionCharpopupWidth / popupHeightdisplayTemplate, itemTemplate, and noRecordsTemplatementionSelect event and MentionSelectEventArgstoolbarSettings) - Global actions and navigationpromptToolbarSettings) - Actions on user promptsresponseToolbarSettings) - Actions on AI responsesfooterToolbarSettings) - Input area customization<e-toolbarsettings>, <e-toolbaritem>PromptRequestEventArgs, PromptChangedEventArgs, StopRespondingEventArgs, AttachmentClickEventArgs, RemovingEventArgs (from @syncfusion/ej2-inputs)📄 Read: references/file-attachments.md
📄 Read: references/toolbar-items.md
speechToTextSettings (recommended approach)allowInterimResultse-assist-regenerate icon, response navigation UI, and the regeneratedResponses propertyalign property (Left, Center, Right) — available on every ToolbarItemModel and across all four toolbar types📄 Read: references/templates.md
responseAnimationTemplate) for branded loading states shown while a response is being generated and removed once addPromptResponse() is called📄 Read: references/ai-integrations.md
📄 Read: references/speech-features.md
| Method | Description |
|---|---|
registerToolUI({ toolName, template, handler }) | Registers a tool's rendering template and optional interaction handler. Call before referencing the tool in any response. |
executePrompt(prompt) | Programmatically triggers a new prompt/response cycle, useful for chaining follow-up AI responses after a tool interaction. |
Here's a minimal working example to get started:
import { Component } from '@angular/core';
import { AIAssistViewModule } from '@syncfusion/ej2-angular-interactive-chat';
@Component({
imports: [AIAssistViewModule],
standalone: true,
selector: 'app-root',
template: `
<div ejs-aiassistview
id='aiAssistView'
[promptSuggestions]="suggestions"
(promptRequest)="onPromptRequest($event)">
</div>
`,
styles: [`
:host ::ng-deep #aiAssistView {
height: 100vh;
}
`]
})
export class AppComponent {
suggestions = [
'What is Angular?',
'How to create components?',
'Explain dependency injection'
];
onPromptRequest(args: any) {
// Handle prompt and provide response
setTimeout(() => {
const response = 'This is a sample response from your AI service.';
// Add response using component method
}, 1000);
}
}
promptRequest event firesaddPromptResponse() to display result[enableStreaming]="true"promptRequest event, call provider API with streamingReadableStream for chunked responsesstopRespondingClick event for cancellationaddPromptResponse() incrementally[activeView]="currentIndex" to control displayitemClicked events with dataIndex for contextalign property on each ToolbarItemModel to position primary actions on the Left and secondary actions (Settings, Export) on the RightspeechToTextSettings with language and optionsallowInterimResults for real-time transcriptiononStart, onStop, transcriptChanged, onErrorPromptRequestEventArgs to access prompt, attachedFiles, and cancel flagPromptChangedEventArgs for real-time input validationStopRespondingEventArgs to cancel long-running requestsbeforeAttachmentUpload for file validationeditableContextClicked for inline context badge interactionsAssistThinking module via AIAssistView.Inject(AssistThinking)blocks with blockType: 'thinking' via addPromptResponse, using isFinalUpdate: false while streamingstages[].status (inprogress → completed/failed) as reasoning progresseseditableContext with {index} placeholders for clickable inline referencesresponse text alongside the last isFinalUpdate: true callblockTemplate (full block) or itemTemplate (per-stage)registerToolUI({ toolName, template, handler }), typically in ngAfterViewInitblocks: [{ blockType: 'tool', toolName, props }]text and tool blocks in the same blocks array for narrative + interactive contentblocks JSON array for dynamic tool invocationexecutePrompt to trigger a follow-up AI response after a user interacts with a rendered tooltelemetrySettings = { enable: true }metrics array on telemetrySettings to choose which metrics are captured and to control the row order in the tooltip (e.g. ['duration', 'model', 'inputTokens', 'outputTokens', 'totalTokens'])TelemetryData argument to addPromptResponse(response, isFinalUpdate, telemetryData) to surface model, inputTokens, outputTokens, reasoningTokens, and cachedInputTokens; totalTokens is auto-computedbeforeReport(report) event to add domain-specific entries via report.customAttributes, or return null to suppress the reportstatus and duration are always shown, and customAttributes are always included regardless of the metrics filterDataManager instances) for each mention group (e.g. agents, commands, knowledge items)mentions array on the component, with one entry per trigger: { mentionChar: '@', dataSource, fields: { text, value } } and optional filterType, query, highlight, popupWidth/Height, and templates[mentions]="mentions" and set a helpful promptPlaceholder that hints at the available triggersshowMentionChar: false for slash-style commands so the / is not retained in the inserted mentionitemTemplate (popup rows), displayTemplate (selected chip), and noRecordsTemplate (empty state)mentionSelect event or per-mention mentionSelect callback to capture the chosen item and act on it| Property | Type | Default | When to Use |
|---|---|---|---|
prompt | string | '' | Pre-fill prompt text |
promptPlaceholder | string | 'Type prompt for assistance...' | Guide user input |
promptSuggestions | string[] | [] | Provide quick starting prompts |
prompts | object[] | [] | Initialize conversation history |
showClearButton | boolean | false | Show button to clear input |
enableScrollToBottom | boolean | true | Show scroll-to-bottom indicator |
blockTemplate | string | object | '' | Customize rendering of thinking blocks |
itemTemplate | string | object | '' | Customize rendering of individual thinking stage items |
responseAnimationTemplate | string | object | '' | Customize the loading indicator/animation shown in place of a response while it is being generated |
| Property | Type | Default | When to Use |
|---|---|---|---|
width | string | number | '100%' | Set container width |
height | string | number | '100%' | Set container height |
cssClass | string | '' | Apply custom CSS styling and themes |
showHeader | boolean | true | Control header visibility |
htmlAttributes | object | {} | Add custom HTML attributes (aria-, data-, etc.) |
| Property | Type | Default | When to Use |
|---|---|---|---|
enableStreaming | boolean | false | Enable real-time streaming responses |
speechToTextSettings | SpeechToTextSettingsModel | null | Configure built-in speech recognition |
textToSpeechSettings | TextToSpeechSettingsModel | null | Configure built-in Text-to-speech support |
activeView | number | 0 | Programmatically switch between views |
telemetrySettings | TelemetrySettingsModel | null | Track per-response AI metrics (enable, metrics, beforeReport) and surface a telemetry button in the response toolbar |
mentions | MentionSettings[] | null | Configure trigger-character mention pickers in the prompt editor (data source, fields, query, filter type, templates) |
| Property | Type | Default | When to Use |
|---|---|---|---|
locale | string | 'en-US' | Set language/culture (en-US, es-ES, fr-FR, de-DE, ja-JP, ar-SA, etc.) |
enableRtl | boolean | false | Enable right-to-left text direction (Arabic, Hebrew, Persian, Urdu) |
enablePersistence | boolean | false | Save component state between page reloads |
| Property | Type | Default | When to Use |
|---|---|---|---|
toolbarSettings | ToolbarSettingsModel | null | Configure header toolbar (global actions) |
promptToolbarSettings | PromptToolbarSettingsModel | null | Configure prompt toolbar (edit, copy, retry) |
responseToolbarSettings | ResponseToolbarSettingsModel | null | Configure response toolbar (copy, regenerate, like/dislike) |
footerToolbarSettings | FooterToolbarSettingsModel | null | Configure footer toolbar (formatting, attachments) |
telemetrySettings and the TelemetryData argument to addPromptResponsecustomAttributes (region, tenant, sessionId, feature) for tenant/feature-level analytics in the response toolbar tooltip@ mentions to route a prompt to a specific agent (TechSupport, HRAssistant, KnowledgeBase) and parse args.itemData in the mentionSelect event to pre-load agent context before sending/ mentions (with showMentionChar: false) to expose quick actions like /table, /rewrite, /checklist that transform how the AI service respondsdataSource to a DataManager and apply a Query (with paging/filtering) so users can search and insert items from a large remote catalogresponseAnimationTemplate to show a custom loader, branded spinner, or progress indicator while the AI response is being generated — the template is removed automatically once addPromptResponse() is calledalign property on each ToolbarItemModel to position primary actions (Left), centered quick actions (Center), and secondary actions like Settings/Export (Right) — works across all four toolbar typesattachmentRemoving event (with RemovingEventArgs) to intercept a file removal before it happens — set args.cancel = true to keep the file attached, or perform cleanup (revoke object URLs, free preview state) before the file is detachedreferences/ai-integrations.md (opens in a new tab)references/appearance-customization.md (opens in a new tab)references/assist-view-basics.md (opens in a new tab)references/chain-of-thoughts.md (opens in a new tab)references/custom-views.md (opens in a new tab)references/events-handling.md (opens in a new tab)references/file-attachments.md (opens in a new tab)references/generative-ui.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/mentions.md (opens in a new tab)references/methods-and-actions.md (opens in a new tab)references/speech-features.md (opens in a new tab)references/telemetry.md (opens in a new tab)references/templates.md (opens in a new tab)references/text-to-speech.md (opens in a new tab)references/toolbar-items.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angularOther plugins' skills for the same job
65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.