Logo Syncfusion Maui Ai Assistview

Syncfusion Maui Ai Assistview

Tổ chức
syncfusion
syncfusion-maui-ai-assistview

Triển khai Syncfusion® .NET MAUI AI AssistView (SfAIAssistView) cho giao diện trò chuyện tương tác có tích hợp AI. Dùng khi làm việc với giao diện trò chuyện AI, AI AssistView, SfAIAssistView, giao diện hội thoại hoặc trò chuyện với câu trả lời từ AI. Bao gồm tích hợp dịch vụ AI, tạo giao diện trò chuyện, triển khai luồng hội thoại, quản lý yêu cầu và phản hồi của AI, cũng như hiển thị gợi ý từ AI.

Add to TypingMind

Tổng quan

Nhà phát hànhsyncfusion
Kho mãmaui-ui-components-skills
Tên kỹ năngsyncfusion-maui-ai-assistview
Sao
61
Bản fork
1
Tệp đi kèm
21
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 21 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được syncfusion công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Syncfusion Maui Ai Assistview trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-ai-assistview
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-ui-components-skills.git /tmp/maui-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-ui-components-skills/skills/syncfusion-maui-ai-assistview .claude/skills/syncfusion-maui-ai-assistview
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Syncfusion Maui Ai Assistview trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Syncfusion Maui Ai Assistview ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Syncfusion Maui Ai Assistview với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Implementing AI AssistView in .NET MAUI

The Syncfusion .NET MAUI AI AssistView (SfAIAssistView) is a comprehensive control for integrating AI services into .NET MAUI applications. It provides a user-friendly conversational interface with built-in support for requests, responses, suggestions, conversation history, multiple agents, toast notifications, and extensive customization options.

When to Use This Skill

Use this skill when you need to:

  • Integrate AI chat interfaces in .NET MAUI applications
  • Display conversational UI with user requests and AI responses
  • Implement AI-powered assistants with suggestion prompts
  • Create chat-based interactions with conversation history
  • Build intelligent applications that interact with AI services
  • Customize chat appearance with templates, themes, and styling
  • Handle user interactions through events, commands, and data binding
  • Manage conversation flows with headers, toolbars, and empty states
  • Implement localization for multi-language AI chat applications
  • Work with multiple AI agents for specialized assistant experiences
  • Show contextual toast notifications for non-blocking feedback
  • Design responsive AI interfaces with .NET MAUI cross-platform support

Common Scenarios:

  • Customer support chatbots, AI assistants, help desk interfaces
  • Conversational AI applications, virtual agents, interactive assistants
  • Chat-based content generation, Q&A applications, knowledge bases
  • Personal productivity assistants, note-taking with AI, writing helpers
  • Educational platforms with AI tutors, interactive learning interfaces
  • Any real-time conversational UI with AI-powered responses

Component Overview

SfAIAssistView is a comprehensive, feature-rich conversational control that:

  • Displays AI-powered chat interfaces with user requests and AI responses
  • Supports multiple content types (text, images, hyperlinks, cards, attachments)
  • Provides flexible data binding with observable collections and MVVM patterns
  • Enables customizable request/response display with templates and selectors
  • Supports multiple AI agents with selected-agent customization
  • Supports toast notifications for success, warning, and error feedback
  • Includes smart suggestion system (header, response-specific, footer prompts)
  • Offers toolbar and chat mode management with temporary sessions
  • Maintains conversation history with timestamps and interaction tracking
  • Handles rich user interactions (tapping, long-press, context menus)
  • Provides customizable message input editor with file attachments and actions
  • Supports structured prompt composition, disclaimer messages, and time break separators
  • Features auto-scrolling, scroll-to-bottom button, voice input, and audio playback
  • Supports comprehensive styling, theming, and platform-specific effects

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • NuGet package installation and setup
  • Handler registration in MauiProgram.cs
  • XAML namespace import and control initialization
  • ViewModel setup with observable collections
  • First request/response cycle implementation
  • Common setup issues and troubleshooting

Agents

📄 Read: references/agents.md

  • Multiple AI agents within a single chat experience
  • Agent collection, selection, and editor @ lookup
  • Selected agent visibility and template customization

Items and Data Binding

📄 Read: references/items-and-data-binding.md

  • Item properties (text, profile, timestamp, error messages)
  • Item types (text, hyperlinks, images, cards, attachments)
  • Item interaction events and commands
  • Error response display and handling
  • Custom item view templates
  • Custom model binding and converters
  • Context menus for requests and responses

Suggestions

📄 Read: references/suggestions.md

  • Header-level suggestion prompts
  • Response-specific suggestions
  • Footer suggestions above the editor
  • Suggestion selection events and commands
  • Cancellation and submission behaviors

Header

📄 Read: references/header.md

  • Header visibility and customization
  • Header text and template configuration
  • Displaying suggestions in headers

Toolbar

📄 Read: references/toolbar.md

  • Toolbar visibility and title customization
  • New Chat button implementation
  • Temporary chat mode support
  • Chat mode switching events

History

📄 Read: references/history.md

  • Enabling conversation history
  • Conversation item structure (title, timestamp, messages, pin state)
  • Filtering, pinning, renaming, and deleting conversations
  • History interaction handling and restore behavior

Events and Commands

📄 Read: references/events.md

  • Item tapped and long-pressed events
  • Request events and command handling
  • Footer action commands (copy, retry, rating)

Editor and Attachments

📄 Read: references/editor-and-attachments.md

  • Custom editor layouts and templates
  • Expandable request editor for long prompts
  • Editing previous requests
  • File attachment support, limits, and image preview
  • Attachment button modes and action buttons configuration
  • Send button customization

Templates and Content Types

📄 Read: references/templates-and-content.md

  • Request and response item templates
  • Template selectors for dynamic templates
  • Full control template customization
  • Custom chat rendering implementation

Scrolling

📄 Read: references/scrolling.md

  • Auto-scroll to latest messages
  • Auto-scroll behavior for latest request or response
  • Scroll-to-bottom button functionality
  • Button appearance customization

Prompt Composition

📄 Read: references/prompt-composition.md

  • System, context, and part-based prompt composition
  • Deterministic composition order and filtering
  • Prompt composing event inspection

Prompt Library

📄 Read: references/prompt-library.md

  • Browse, search, and pick from a catalog of predefined prompts
  • SfPromptLibrary.ItemsSource and the PromptItem model
  • Handle selection via the PromptSelected event or PromptSelectedCommand

Disclaimer Message

📄 Read: references/disclaimer-message.md

  • Disclaimer text below the editor
  • Visibility and footer spacing behavior

Time Break Separators

📄 Read: references/time-break-separators.md

  • Date-based message grouping
  • Smart Today / Yesterday / weekday labels
  • Custom time break template and styling

Voice Support

📄 Read: references/voice-support.md

  • Microphone button voice input
  • Speech recognition and editor text injection
  • Response audio playback controls
  • Platform permissions and fallback behavior

Toast Notifications

📄 Read: references/toast-notifications.md

  • Non-blocking success, warning, and error feedback

Advanced Topics

📄 Read: references/advanced-topics.md

  • Text selection support
  • Stop responding functionality
  • Performance optimization

AutoComplete Suggestions

📄 Read: references/autocomplete-suggestions.md

  • AutoComplete suggestions while typing
  • Prefix and timing configuration
  • Suggestion data binding
  • Selection handling and behaviors
  • Custom suggestion templates
  • State monitoring and server integration

Styling

📄 Read: references/styling.md

  • Theme key application
  • Style keys for all UI elements
  • Customizing request/response appearance
  • Platform-specific styling effects

Customization

📄 Read: references/customization.md

  • Empty state views
  • Localization (RESX)
  • Right-to-left (RTL) support
  • Disabling image previews via AllowImagePreview (default true)
  • Platform-specific effects (iOS liquid glass)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Syncfusion Maui Ai Assistview làm được gì?

Triển khai Syncfusion® .NET MAUI AI AssistView (SfAIAssistView) cho giao diện trò chuyện tương tác có tích hợp AI. Dùng khi làm việc với giao diện trò chuyện AI, AI AssistView, SfAIAssistView, giao diện hội thoại hoặc trò chuyện với câu trả lời từ AI. Bao gồm tích hợp dịch vụ AI, tạo giao diện trò chuyện, triển khai luồng hội thoại, quản lý yêu cầu và phản hồi của AI, cũng như hiển thị gợi ý từ AI.

Vì sao nên dùng Syncfusion Maui Ai Assistview trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Syncfusion Maui Ai Assistview là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Syncfusion Maui Ai Assistview trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-ai-assistview. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Syncfusion Maui Ai Assistview?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Syncfusion Maui Ai Assistview với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Syncfusion Maui Ai Assistview với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Syncfusion Maui Ai Assistview có miễn phí không?

Kỹ năng này được syncfusion phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇