@ai-matrx/聊天
一个AI 马特克斯 个人 代理人 闲聊。 (对于人 人线程,使用
@ai-matrx/messaging. ) (中文(简体) )
一个聊天,一个渲染器。 软件包是整个聊天(运行代理,对话,工具呼叫,
串流、上下文、表面、语音)作为每个模块的分路径(确切地说,在 scripts/public-modules.json; 已出版的地图写着这些图案
值是一个 db。 。 。 .
安装
pnpm add @ai-matrx/chat
端点 : react, (中文(简体) ), react-dom, (中文(简体) ), react-redux, (中文(简体) ), @reduxjs/toolkit, (中文(简体) ), next (可选).
上马
新的主机只导入前门:
import { configureChat } from "@ai-matrx/chat/host";
import { ChatProvider } from "@ai-matrx/chat/host/react";
import { ChatNewClient } from "@ai-matrx/chat/agents/components/chat/ChatNewClient";
import { ChatConversationRoom } from "@ai-matrx/chat/agents/components/chat/ChatConversationRoom";
一个没有自己的数据库的主机提供对话源
(单位:千美元)AgentConversationColumn + 键 useHostConversation; 见 src/host/ 还有金丝雀 HostSource) (中文(简体) ).
被移除的东西
旧内核条目( E)@ai-matrx/chat, (中文(简体) ), /external-store, (中文(简体) ), /matrx, (中文(简体) ), /react, (中文(简体) ), /tools, (中文(简体) ),
styles.css, (中文(简体) ), tokens.css和 /cx-conversation/* 已经不复存在。 导入您需要的模块
@ai-matrx/chat/<domain>/<path>见FEATURE.MD.
许可证
麻省理工学院