@aigne/example-afs-memory 0.10.80-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/index.test.ts +1 -1
- package/package.json +18 -10
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 a chatbot with **long-term memory** using the [AIGNE Framework](https://github.com/
|
|
11
|
+
This example demonstrates how to create a chatbot with **long-term memory** using the [AIGNE Framework](https://github.com/ArcBlock/aigne-framework). The chatbot can remember user information across conversations and recall details shared in previous interactions.
|
|
12
12
|
|
|
13
13
|
The example uses two powerful AFS (Agentic File System) modules:
|
|
14
14
|
- **AFSHistory**: Automatically records all conversations for context
|
|
@@ -89,7 +89,7 @@ View a list of recent executions.
|
|
|
89
89
|
### Clone the Repository
|
|
90
90
|
|
|
91
91
|
```bash
|
|
92
|
-
git clone https://github.com/
|
|
92
|
+
git clone https://github.com/ArcBlock/aigne-framework
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
### Install Dependencies
|
package/index.test.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-afs-memory",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.74.0-beta",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework with memory-based AFS modules",
|
|
5
|
-
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
|
-
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/afs-memory",
|
|
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
|
},
|
|
18
|
+
"type": "module",
|
|
12
19
|
"bin": "index.ts",
|
|
13
20
|
"files": [
|
|
14
21
|
".env.local.example",
|
|
@@ -16,15 +23,16 @@
|
|
|
16
23
|
"README.md"
|
|
17
24
|
],
|
|
18
25
|
"dependencies": {
|
|
19
|
-
"@aigne/afs": "^1.
|
|
20
|
-
"@aigne/afs-
|
|
21
|
-
"@aigne/
|
|
22
|
-
"@aigne/
|
|
23
|
-
"@aigne/core": "^1.
|
|
26
|
+
"@aigne/afs": "^1.11.0-beta.1",
|
|
27
|
+
"@aigne/afs-user-profile-memory": "^1.74.0-beta",
|
|
28
|
+
"@aigne/afs-history": "^1.74.0-beta",
|
|
29
|
+
"@aigne/cli": "^1.74.0-beta",
|
|
30
|
+
"@aigne/core": "^1.74.0-beta"
|
|
24
31
|
},
|
|
25
32
|
"devDependencies": {
|
|
26
33
|
"@types/bun": "^1.2.22",
|
|
27
|
-
"@aigne/
|
|
34
|
+
"@aigne/typescript-config": "0.0.0",
|
|
35
|
+
"@aigne/utils": "^1.74.0-beta"
|
|
28
36
|
},
|
|
29
37
|
"scripts": {
|
|
30
38
|
"start": "bun run index.ts",
|