@aigne/example-afs-memory 0.10.79-beta.8 → 0.10.79
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 +1 -1
- package/index.ts +0 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ npx -y @aigne/example-afs-memory --input "Tell me all info about me you known"
|
|
|
40
40
|
# * Interests / favorite color: blue
|
|
41
41
|
|
|
42
42
|
# Run in interactive chat mode
|
|
43
|
-
npx -y @aigne/example-afs-memory --
|
|
43
|
+
npx -y @aigne/example-afs-memory --interactive
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
### Connect to an AI Model
|
package/index.ts
CHANGED
|
@@ -11,7 +11,6 @@ const aigne = await loadAIGNEWithCmdOptions();
|
|
|
11
11
|
const afs = new AFS().mount(new AFSHistory({ storage: { url: "file:./history.sqlite3" } })).mount(
|
|
12
12
|
new UserProfileMemory({
|
|
13
13
|
storage: { url: "file:./user_profile.sqlite3" },
|
|
14
|
-
context: aigne.newContext(),
|
|
15
14
|
}),
|
|
16
15
|
);
|
|
17
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aigne/example-afs-memory",
|
|
3
|
-
"version": "0.10.79
|
|
3
|
+
"version": "0.10.79",
|
|
4
4
|
"description": "A demonstration of using AIGNE Framework with memory-based AFS modules",
|
|
5
5
|
"author": "Arcblock <blocklet@arcblock.io> https://github.com/blocklet",
|
|
6
6
|
"homepage": "https://github.com/AIGNE-io/aigne-framework/tree/main/examples/afs-memory",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@aigne/afs": "^1.
|
|
20
|
-
"@aigne/afs-
|
|
21
|
-
"@aigne/
|
|
22
|
-
"@aigne/
|
|
23
|
-
"@aigne/
|
|
19
|
+
"@aigne/afs-history": "^1.2.0",
|
|
20
|
+
"@aigne/afs-user-profile-memory": "^1.3.0",
|
|
21
|
+
"@aigne/cli": "^1.59.0",
|
|
22
|
+
"@aigne/core": "^1.72.0",
|
|
23
|
+
"@aigne/afs": "^1.4.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/bun": "^1.2.22",
|
|
27
|
-
"@aigne/test-utils": "^0.5.69
|
|
27
|
+
"@aigne/test-utils": "^0.5.69"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"start": "bun run index.ts",
|