新用户请直接使用 ant-design/x
一些道歉和想说的:#340
Components Library for Quickly Building LLM Chat Interfaces.
English · 简体中文 · Changelog . Report Bug · Request Feature
Important
This package is ESM only.
To install @ant-design/pro-chat
, run the following command:
$ pnpm install @ant-design/pro-chat
The default auto-install-peers
in pnpm is true
. If you use other package managers, you may need to install antd
and antd-style
separately.
If you have some errors when using Next.js, check here.
import { ProChat } from '@ant-design/pro-chat';
export default () => (
<ProChat
request={async (messages) => {
// Send a request with Message as the parameter
return Message; // Supports both streaming and non-streaming
}}
/>
);
Note
ProChat focuses on quickly setting up a large language model chat dialogue framework. It aims to empower developers to easily create rich, dynamic, and intuitive chat interfaces.
Framework and Solutions for Chat Interface Components:
Design Evolution / In Progress
Let's showcase some of ProChat's signature features:
Streamlined Dialogue | Content Editor |
---|---|
Engage in Streamlined Conversations that flow as naturally as a river | Refine, reshape, and perfect your dialogue with tools that allow for real-time edits. |
Integrated Render | |
Dive into the vivid world of chat with our Built-in Render, a tool designed to bring text to life. | |
Note
Or clone it for local development: $ git clone https://github.com/ant-design/pro-chat.git
$ cd pro-chat
$ pnpm install
$ pnpm dev ? ContributingImportant Join our collaborative ecosystem. Your contributions are the heartbeat of our project. Here's how you can be an integral part of our vibrant community:
Every contribution, big or small, is celebrated. Join us in our mission to refine and elevate the world of open-source enterprise UI components. ?
?️ Ecosystem
LicenseCopyright © 2023 - present AFX & Ant Digital. |
---|