symposium 0.1.8 → 0.1.9
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/Agent.js +3 -3
- package/Conversation.js +2 -2
- package/Logger.js +1 -1
- package/MemoryHandler.js +1 -1
- package/Message.js +1 -1
- package/Middleware.js +1 -1
- package/Model.js +1 -1
- package/Summarizer.js +3 -3
- package/Symposium.js +2 -2
- package/Tool.js +1 -1
- package/index.js +9 -9
- package/package.json +1 -1
package/Agent.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import Symposium from "./Symposium.js";
|
|
2
|
+
import Conversation from "./Conversation.js";
|
|
3
3
|
|
|
4
4
|
class Agent {
|
|
5
5
|
name = 'Agent';
|
|
@@ -347,4 +347,4 @@ class Agent {
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
|
|
350
|
-
export
|
|
350
|
+
export default Agent;
|
package/Conversation.js
CHANGED
package/Logger.js
CHANGED
package/MemoryHandler.js
CHANGED
package/Message.js
CHANGED
package/Middleware.js
CHANGED
package/Model.js
CHANGED
package/Summarizer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import Symposium from "./Symposium.js";
|
|
2
|
+
import MemoryHandler from "./MemoryHandler.js";
|
|
3
3
|
import {encoding_for_model} from "tiktoken";
|
|
4
4
|
|
|
5
5
|
class Summarizer extends MemoryHandler {
|
|
@@ -93,4 +93,4 @@ class Summarizer extends MemoryHandler {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export
|
|
96
|
+
export default Summarizer;
|
package/Symposium.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Redis from "@travio/redis";
|
|
2
2
|
import OpenAI from "openai";
|
|
3
|
-
import
|
|
3
|
+
import Model from "./Model.js";
|
|
4
4
|
|
|
5
5
|
class Symposium {
|
|
6
6
|
static openai;
|
|
@@ -45,4 +45,4 @@ class Symposium {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export
|
|
48
|
+
export default Symposium;
|
package/Tool.js
CHANGED
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
3
|
+
import Symposium from "./Symposium.js";
|
|
4
|
+
import Agent from "./Agent.js";
|
|
5
|
+
import Conversation from "./Conversation.js";
|
|
6
|
+
import Message from "./Message.js";
|
|
7
|
+
import Tool from "./Tool.js";
|
|
8
|
+
import Logger from "./Logger.js";
|
|
9
|
+
import MemoryHandler from "./MemoryHandler.js";
|
|
10
|
+
import Middleware from "./Middleware.js";
|
|
11
|
+
import Summarizer from "./Summarizer.js";
|
|
12
12
|
|
|
13
13
|
export {
|
|
14
14
|
Symposium,
|