paul-ai-assistant 0.1.16 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @alifeai-assistant
|
|
2
2
|
|
|
3
3
|
Paul AI 智能辅助组件
|
|
4
4
|
|
|
5
5
|
## 简介
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
`paul-ai-assistant` 是一个基于 React 16.14.0 的智能辅助组件库,提供完整的 AI 对话和交互能力。
|
|
8
8
|
|
|
9
9
|
## 特性
|
|
10
10
|
|
|
@@ -17,13 +17,13 @@ Paul AI 智能辅助组件
|
|
|
17
17
|
## 安装
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
tnpm install @
|
|
20
|
+
tnpm install @alifeai-assistant --save
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
或者使用 yarn:
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
yarn add @
|
|
26
|
+
yarn add @alifeai-assistant
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
## 使用
|
|
@@ -31,13 +31,13 @@ yarn add @alife/paul-ai-assistant
|
|
|
31
31
|
### 基础用法
|
|
32
32
|
|
|
33
33
|
```tsx
|
|
34
|
-
import { PaulAiAssistant } from '
|
|
35
|
-
import '
|
|
34
|
+
import { PaulAiAssistant } from 'paul-ai-assistant';
|
|
35
|
+
import 'paul-ai-assistant/es/index.css';
|
|
36
36
|
|
|
37
37
|
function App() {
|
|
38
38
|
return (
|
|
39
39
|
<PaulAiAssistant
|
|
40
|
-
|
|
40
|
+
// 你的配置项
|
|
41
41
|
/>
|
|
42
42
|
);
|
|
43
43
|
}
|
|
@@ -147,6 +147,7 @@ yarn publish:prod
|
|
|
147
147
|
```
|
|
148
148
|
|
|
149
149
|
注意:正式版本发布前请确保:
|
|
150
|
+
|
|
150
151
|
- 代码已经过充分测试
|
|
151
152
|
- 版本号遵循语义化版本规范
|
|
152
153
|
- 更新日志已更新
|
|
@@ -210,7 +211,7 @@ node -v
|
|
|
210
211
|
请确保在项目中引入了样式文件:
|
|
211
212
|
|
|
212
213
|
```tsx
|
|
213
|
-
import '
|
|
214
|
+
import 'paul-ai-assistant/es/index.css';
|
|
214
215
|
```
|
|
215
216
|
|
|
216
217
|
## 贡献指南
|