Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计通过

syncfusion-blazor-ai-assistview同步融合 Blazor ai Assistview

Agent Skill

syncfusion-blazor-ai-assistview 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

927

周安装

39

GitHub Stars

公开资料未说明

下载量

324
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-blazor-ai-assistview(同步融合 Blazor ai Assistview)
来源仓库:https://github.com/syncfusion/blazor-ui-components-skills
仓库路径:skills/syncfusion-blazor-ai-assistview
安装命令:
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-ai-assistview
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-ai-assistview

简介

AI 辅助视图组件,集成智能提示和操作建议界面。

  • 适合开发调试、代码补全或用户引导类工具型应用。syncfusion-blazor-ai-assistview 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 作为 Blazor 控件嵌入现有页面,通过事件回调获取 AI 响应。
  • 实际功能依赖后端 AI 服务对接,需单独配置 API 端点。
  • 涉及用户输入时应注意隐私脱敏,避免敏感信息泄露。

SKILL.md

Syncfusion Blazor AI AssistView

Build conversational AI interfaces with the Syncfusion Blazor AI AssistView component. This skill provides complete guidance for creating interactive chat applications, AI assistant UIs, and prompt-response systems in Blazor Server, WebAssembly, and Web App projects.

Component Overview

The SfAIAssistView component is a specialized UI control for building AI-powered chat applications. It manages the presentation and interaction model for prompt-response conversations with built-in support for:

  • Prompt Management: Input text, suggestions, placeholder text
  • Response Handling: Async processing, markdown rendering, streaming support
  • Customization: Avatar icons, styling, theme integration
  • UX Features: Scroll-to-bottom indicator, conversation history
  • Event Integration: PromptRequested events for AI service callbacks

Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Basic component structure and initialization
  • PromptRequested event handler implementation
  • Minimal working example with async responses

Prompt Configuration

📄 Read: references/prompt-configuration.md

  • Setting initial prompt text
  • Configuring prompt placeholder text
  • Managing prompt-response collections
  • Handling prompt events asynchronously

Prompt Suggestions

📄 Read: references/prompt-suggestions.md

  • Adding suggestion lists for user guidance
  • Customizing suggestion headers
  • Building suggestion-response mappings
  • User interaction patterns with suggestions

Customization & Icons

📄 Read: references/customization-styling.md

  • Customizing user avatar with PromptIconCss
  • Customizing AI avatar with ResponseIconCss
  • Applying theme-specific icons
  • CSS class and icon integration

Advanced Features

📄 Read: references/advanced-features.md

  • Markdown rendering in AI responses
  • Scroll-to-bottom navigation (EnableScrollToBottom)
  • Managing conversation history with Prompts collection
  • Common patterns and use cases

AI Service Integration

📄 Read: references/ai-service-integration.md

  • OpenAI API integration (non-streaming and streaming)
  • Azure OpenAI deployment
  • Local Ollama LLM hosting
  • Custom backend patterns
  • Error handling and rate limiting strategies

Attachments

📄 Read: references/attachments.md

  • Enabling file attachments
  • Configuring attachment settings (file types, size limits)
  • Handling attachment events (upload, click, remove)
  • Server-side upload implementation
  • Security and validation best practices

Multi-View Support

📄 Read: references/multi-view-support.md

  • Creating multiple specialized AI views
  • Active view management and switching
  • View-specific configuration
  • Separate conversation histories per view
  • Role-based and workspace-based views

Toolbars

📄 Read: references/toolbars.md

  • Prompt toolbar customization
  • Response toolbar actions (copy, like, regenerate)
  • Footer toolbar configuration
  • Custom toolbar items and templates
  • Handling toolbar events

Templates

📄 Read: references/templates.md

  • BannerTemplate for initial/empty state
  • PromptItemTemplate for custom prompt rendering
  • ResponseItemTemplate for custom response rendering
  • PromptSuggestionItemTemplate for custom suggestions
  • FooterTemplate and ViewTemplate customization
  • Template contexts and available properties

Streaming Responses

📄 Read: references/streaming.md

  • Enabling streaming mode
  • UpdateResponseAsync for progressive updates
  • Real-time response rendering
  • Integration with OpenAI, Azure, and Ollama streaming APIs
  • Stop responding functionality
  • Performance optimization

Methods & Programmatic API

📄 Read: references/methods-api.md

  • ExecutePromptAsync for automated prompts
  • UpdateResponseAsync for streaming updates
  • RefreshUIAsync for manual UI refresh
  • ScrollToBottomAsync for scroll control
  • Automated workflows and batch processing

Quick Start

@using Syncfusion.Blazor.InteractiveChat

<div style="height: 400px; width: 600px;">
    <SfAIAssistView
        Prompt="What is Blazor?"
        PromptRequested="@OnPromptRequested">
    </SfAIAssistView>
</div>

@code {
    private async Task OnPromptRequested(AssistViewPromptRequestedEventArgs args)
    {
        // Add delay to simulate AI processing
        await Task.Delay(1000);

        // Connect to your AI service here (OpenAI, Azure, etc.)
        var response = await GetAIResponse(args.Prompt);
        args.Response = response;
    }

    private async Task<string> GetAIResponse(string prompt)
    {
        // Call your AI service API
        // For testing: return a simple response
        return $"<div>Processing your prompt: {prompt}</div>";
    }
}

Common Patterns

Pattern 1: Pre-Initialized Conversation

Load the component with existing conversation history:

<SfAIAssistView
    Prompts="@conversationHistory"
    PromptRequested="@OnPromptRequested">
</SfAIAssistView>

@code {
    private List<AssistViewPrompt> conversationHistory = new()
    {
        new AssistViewPrompt {
            Prompt = "What is C#?",
            Response = "<div>C# is a modern object-oriented programming language...</div>"
        }
    };
}

Pattern 2: Guided Suggestions

Use suggestions to help users refine their prompts:

<SfAIAssistView
    PromptSuggestions="@suggestions"
    PromptSuggestionsHeader="Try asking about:"
    PromptRequested="@OnPromptRequested">
</SfAIAssistView>

@code {
    private List<string> suggestions = new()
    {
        "How does dependency injection work?",
        "Explain async/await patterns",
        "What are Blazor components?"
    };
}

Pattern 3: Custom Avatars

Personalize user and AI identities with custom icons:

<SfAIAssistView
    PromptIconCss="e-icons e-user"
    ResponseIconCss="e-icons e-bullet-2"
    PromptRequested="@OnPromptRequested">
</SfAIAssistView>

Key Props

PropertyTypePurpose
PromptstringInitial prompt text to display
PromptPlaceholderstringPlaceholder text in input field (default: "Type prompt for assistance...")
PromptSuggestionsList<string>List of suggested prompts for user guidance
PromptSuggestionsHeaderstringHeader text above suggestions
PromptsList<AssistViewPrompt>Collection of prompt-response pairs (conversation history)
PromptIconCssstringCSS classes for user avatar icon
ResponseIconCssstringCSS classes for AI avatar icon (default: "e-assistview-icon")
EnableScrollToBottomboolShow scroll-to-bottom indicator (default: true)
EnableStreamingboolEnable streaming mode for progressive responses
AttachmentSettingsAssistViewAttachmentSettingsFile attachment configuration
ActiveViewintIndex of currently active view (for multi-view)
ShowHeaderboolShow/hide component header (default: true)
WidthstringComponent width (default: "100%")
HeightstringComponent height (default: "100%")
CssClassstringCustom CSS classes for styling
EnableRtlboolEnable right-to-left layout (default: false)
IDstringSets the id attribute for the component

Common Use Cases

  1. Customer Support Chatbot - Combine with knowledge base to answer FAQs
  2. Coding Assistant - Real-time code suggestions and explanations
  3. Content Generator - Interactive writing and editing assistant
  4. Learning Interface - Q&A system for educational content
  5. API Documentation - Interactive API helper with examples

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.47%
按下载量换算115

Claude

29.52%
按下载量换算96

Cursor

19.32%
按下载量换算63

Gemini CLI

9.22%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills