@bubblesjs/vue-ai-chart
A Vue 3 AI chat component library that provides a complete AI conversation interface, including conversation list sidebar, chat content area, and Markdown rendering support.
Features
- 🤖 AI Chat Interface: Complete AI conversation UI components
- 📝 Markdown Support: Built-in Markdown rendering with code highlighting
- 💬 Conversation Management: Support for conversation list and history
- 🎨 Customizable: Flexible slot system for custom layouts
- 🔌 Easy Integration: Simple API for connecting to your AI backend
Installation
Quick Start
Basic Usage
With Conversation Sidebar
Components
AiChart
Main chat component that combines sidebar and chat content.
Props
AiMarkdown
Standalone Markdown rendering component.
AiChartModal
Modal wrapper for the AI chat component.
Type Definitions
Customization
Custom Sidebar Slots
Dependencies
This component relies on:
- Element Plus for UI components
- Swiper for carousel functionality
- dayjs for date formatting