@elizaos/core 1.0.0-beta.12 → 1.0.0-beta.13
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/dist/index.js +9 -0
- package/dist/types.d.ts +8 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -222,6 +222,14 @@ function createServiceError(error, code = "UNKNOWN_ERROR") {
|
|
|
222
222
|
message: String(error)
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
+
var VECTOR_DIMS = {
|
|
226
|
+
SMALL: 384,
|
|
227
|
+
MEDIUM: 512,
|
|
228
|
+
LARGE: 768,
|
|
229
|
+
XL: 1024,
|
|
230
|
+
XXL: 1536,
|
|
231
|
+
XXXL: 3072
|
|
232
|
+
};
|
|
225
233
|
|
|
226
234
|
// src/actions.ts
|
|
227
235
|
import { names, uniqueNamesGenerator } from "unique-names-generator";
|
|
@@ -2743,6 +2751,7 @@ export {
|
|
|
2743
2751
|
ServiceType,
|
|
2744
2752
|
TEEMode,
|
|
2745
2753
|
TeeType,
|
|
2754
|
+
VECTOR_DIMS,
|
|
2746
2755
|
addHeader,
|
|
2747
2756
|
asUUID,
|
|
2748
2757
|
booleanFooter,
|
package/dist/types.d.ts
CHANGED
|
@@ -1487,3 +1487,11 @@ export type DbConnection = unknown;
|
|
|
1487
1487
|
export type MetadataObject = Record<string, unknown>;
|
|
1488
1488
|
export type ModelHandler = (runtime: IAgentRuntime, params: Record<string, unknown>) => Promise<unknown>;
|
|
1489
1489
|
export type ServiceConfig = Record<string, unknown>;
|
|
1490
|
+
export declare const VECTOR_DIMS: {
|
|
1491
|
+
readonly SMALL: 384;
|
|
1492
|
+
readonly MEDIUM: 512;
|
|
1493
|
+
readonly LARGE: 768;
|
|
1494
|
+
readonly XL: 1024;
|
|
1495
|
+
readonly XXL: 1536;
|
|
1496
|
+
readonly XXXL: 3072;
|
|
1497
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.13",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "a55cfb2543a43da6b4c5351edffbd3f752808bfc"
|
|
80
80
|
}
|