@fonoster/autopilot 0.7.42 → 0.7.44
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.
|
@@ -30,8 +30,9 @@ class AbstractKnowledgeBase {
|
|
|
30
30
|
}
|
|
31
31
|
async load() {
|
|
32
32
|
const loaders = (await this.getLoaders());
|
|
33
|
-
if (loaders.length
|
|
34
|
-
|
|
33
|
+
if (loaders.length !== 0) {
|
|
34
|
+
// No loaders to load
|
|
35
|
+
return;
|
|
35
36
|
}
|
|
36
37
|
const loadedDocs = await Promise.all(loaders.map((loader) => loader.load()));
|
|
37
38
|
const textSplitter = new text_splitter_1.RecursiveCharacterTextSplitter({
|
|
@@ -2,7 +2,8 @@ import { BaseModelParams } from "../types";
|
|
|
2
2
|
declare enum GroqModel {
|
|
3
3
|
GEMMA7B = "gemma-7b-it",
|
|
4
4
|
LLAMA3_GROQ_70B_8192_TOOL_USE_PREVIEW = "llama3-groq-70b-8192-tool-use-preview",
|
|
5
|
-
LLAMA3_1_8B_INSTANT = "llama-3.1-8b-instant"
|
|
5
|
+
LLAMA3_1_8B_INSTANT = "llama-3.1-8b-instant",
|
|
6
|
+
LLAMA3_3_3_70B_SPECDEC = "llama-3.3-70b-specdec"
|
|
6
7
|
}
|
|
7
8
|
type GroqParams = BaseModelParams & {
|
|
8
9
|
model: GroqModel;
|
|
@@ -6,4 +6,5 @@ var GroqModel;
|
|
|
6
6
|
GroqModel["GEMMA7B"] = "gemma-7b-it";
|
|
7
7
|
GroqModel["LLAMA3_GROQ_70B_8192_TOOL_USE_PREVIEW"] = "llama3-groq-70b-8192-tool-use-preview";
|
|
8
8
|
GroqModel["LLAMA3_1_8B_INSTANT"] = "llama-3.1-8b-instant";
|
|
9
|
+
GroqModel["LLAMA3_3_3_70B_SPECDEC"] = "llama-3.3-70b-specdec";
|
|
9
10
|
})(GroqModel || (exports.GroqModel = GroqModel = {}));
|
package/dist/models/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/autopilot",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.44",
|
|
4
4
|
"description": "Voice AI for the Fonoster platform",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@aws-sdk/client-s3": "^3.
|
|
39
|
-
"@fonoster/common": "^0.7.
|
|
40
|
-
"@fonoster/logger": "^0.7.
|
|
41
|
-
"@fonoster/types": "^0.7.
|
|
42
|
-
"@fonoster/voice": "^0.7.
|
|
43
|
-
"@langchain/community": "^0.3.
|
|
44
|
-
"@langchain/core": "^0.3.
|
|
38
|
+
"@aws-sdk/client-s3": "^3.712.0",
|
|
39
|
+
"@fonoster/common": "^0.7.44",
|
|
40
|
+
"@fonoster/logger": "^0.7.44",
|
|
41
|
+
"@fonoster/types": "^0.7.44",
|
|
42
|
+
"@fonoster/voice": "^0.7.44",
|
|
43
|
+
"@langchain/community": "^0.3.19",
|
|
44
|
+
"@langchain/core": "^0.3.23",
|
|
45
45
|
"@langchain/groq": "^0.1.2",
|
|
46
46
|
"@langchain/ollama": "^0.1.2",
|
|
47
47
|
"@langchain/openai": "^0.3.14",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"typescript": "^5.5.4"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "020f1c745ce93acc27bbc1b8c9c0bdce1012cac4"
|
|
61
61
|
}
|