@aigne/example-chat-bot 1.15.92-beta → 1.74.0-beta
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 +5 -5
- package/package.json +12 -6
- package/CHANGELOG.md +0 -2486
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<picture>
|
|
5
|
-
<source srcset="https://raw.githubusercontent.com/
|
|
6
|
-
<source srcset="https://raw.githubusercontent.com/
|
|
7
|
-
<img src="https://raw.githubusercontent.com/
|
|
5
|
+
<source srcset="https://raw.githubusercontent.com/ArcBlock/aigne-framework/main/logo-dark.svg" media="(prefers-color-scheme: dark)">
|
|
6
|
+
<source srcset="https://raw.githubusercontent.com/ArcBlock/aigne-framework/main/logo.svg" media="(prefers-color-scheme: light)">
|
|
7
|
+
<img src="https://raw.githubusercontent.com/ArcBlock/aigne-framework/main/logo.svg" alt="AIGNE Logo" width="400" />
|
|
8
8
|
</picture>
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
|
-
This example demonstrates how to create and run an agent-based chatbot using the [AIGNE Framework](https://github.com/
|
|
11
|
+
This example demonstrates how to create and run an agent-based chatbot using the [AIGNE Framework](https://github.com/ArcBlock/aigne-framework) and [AIGNE CLI](https://github.com/ArcBlock/aigne-framework/blob/main/packages/cli/README.md). The example now supports both one-shot and interactive chat modes, along with customizable model settings and pipeline input/output.
|
|
12
12
|
|
|
13
13
|
## Prerequisites
|
|
14
14
|
|
|
@@ -82,7 +82,7 @@ npm install -g @aigne/cli
|
|
|
82
82
|
### Clone the Repository
|
|
83
83
|
|
|
84
84
|
```bash
|
|
85
|
-
git clone https://github.com/
|
|
85
|
+
git clone https://github.com/ArcBlock/aigne-framework
|
|
86
86
|
|
|
87
87
|
cd aigne-framework/examples/chat-bot
|
|
88
88
|
```
|
package/package.json
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-chat-bot",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.74.0-beta",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework to build a chat bot",
|
|
5
|
-
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
|
-
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/chat-bot",
|
|
7
5
|
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
10
|
+
"homepage": "https://www.aigne.io/framework",
|
|
8
11
|
"repository": {
|
|
9
12
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
13
|
+
"url": "git+https://github.com/ArcBlock/aigne-framework"
|
|
14
|
+
},
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/ArcBlock/aigne-framework/issues"
|
|
11
17
|
},
|
|
12
18
|
"type": "module",
|
|
13
19
|
"bin": "aigne.yaml",
|
|
14
20
|
"dependencies": {
|
|
15
|
-
"@aigne/cli": "^1.
|
|
21
|
+
"@aigne/cli": "^1.74.0-beta"
|
|
16
22
|
},
|
|
17
23
|
"scripts": {
|
|
18
24
|
"start": "aigne run",
|
|
19
|
-
"test": "
|
|
25
|
+
"test": "exit 0",
|
|
20
26
|
"test:llm": "aigne run --input 'What can AIGNE do?'"
|
|
21
27
|
}
|
|
22
28
|
}
|