@mastra/lance 0.0.0-new-scorer-api-20250801075530 → 0.0.0-new-button-export-20251219130424
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/CHANGELOG.md +1111 -3
- package/README.md +64 -7
- package/dist/index.cjs +1525 -1403
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1526 -1404
- package/dist/index.js.map +1 -1
- package/dist/storage/{domains/operations → db}/index.d.ts +21 -2
- package/dist/storage/db/index.d.ts.map +1 -0
- package/dist/storage/db/utils.d.ts.map +1 -0
- package/dist/storage/domains/memory/index.d.ts +23 -39
- package/dist/storage/domains/memory/index.d.ts.map +1 -1
- package/dist/storage/domains/scores/index.d.ts +29 -9
- package/dist/storage/domains/scores/index.d.ts.map +1 -1
- package/dist/storage/domains/workflows/index.d.ts +28 -14
- package/dist/storage/domains/workflows/index.d.ts.map +1 -1
- package/dist/storage/index.d.ts +88 -109
- package/dist/storage/index.d.ts.map +1 -1
- package/dist/vector/filter.d.ts +5 -5
- package/dist/vector/index.d.ts +8 -5
- package/dist/vector/index.d.ts.map +1 -1
- package/package.json +29 -11
- package/dist/storage/domains/legacy-evals/index.d.ts +0 -25
- package/dist/storage/domains/legacy-evals/index.d.ts.map +0 -1
- package/dist/storage/domains/operations/index.d.ts.map +0 -1
- package/dist/storage/domains/traces/index.d.ts +0 -34
- package/dist/storage/domains/traces/index.d.ts.map +0 -1
- package/dist/storage/domains/utils.d.ts.map +0 -1
- package/eslint.config.js +0 -6
- package/src/index.ts +0 -2
- package/src/storage/domains/legacy-evals/index.ts +0 -156
- package/src/storage/domains/memory/index.ts +0 -947
- package/src/storage/domains/operations/index.ts +0 -489
- package/src/storage/domains/scores/index.ts +0 -221
- package/src/storage/domains/traces/index.ts +0 -212
- package/src/storage/domains/utils.ts +0 -158
- package/src/storage/domains/workflows/index.ts +0 -207
- package/src/storage/index.test.ts +0 -10
- package/src/storage/index.ts +0 -442
- package/src/vector/filter.test.ts +0 -295
- package/src/vector/filter.ts +0 -443
- package/src/vector/index.test.ts +0 -1493
- package/src/vector/index.ts +0 -941
- package/src/vector/types.ts +0 -16
- package/tsconfig.build.json +0 -9
- package/tsconfig.json +0 -5
- package/tsup.config.ts +0 -22
- package/vitest.config.ts +0 -11
- /package/dist/storage/{domains → db}/utils.d.ts +0 -0
package/src/vector/types.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type IndexType = 'ivfflat' | 'hnsw';
|
|
2
|
-
|
|
3
|
-
interface IVFConfig {
|
|
4
|
-
lists?: number;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface HNSWConfig {
|
|
8
|
-
m?: number; // Max number of connections (default: 16)
|
|
9
|
-
efConstruction?: number; // Build-time complexity (default: 64)
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface IndexConfig {
|
|
13
|
-
type?: IndexType;
|
|
14
|
-
ivf?: IVFConfig;
|
|
15
|
-
hnsw?: HNSWConfig;
|
|
16
|
-
}
|
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
package/tsup.config.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { spawn } from 'child_process';
|
|
2
|
-
import { promisify } from 'util';
|
|
3
|
-
import { defineConfig } from 'tsup';
|
|
4
|
-
|
|
5
|
-
const exec = promisify(spawn);
|
|
6
|
-
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
entry: ['src/index.ts'],
|
|
9
|
-
format: ['esm', 'cjs'],
|
|
10
|
-
clean: true,
|
|
11
|
-
dts: false,
|
|
12
|
-
splitting: true,
|
|
13
|
-
treeshake: {
|
|
14
|
-
preset: 'smallest',
|
|
15
|
-
},
|
|
16
|
-
sourcemap: true,
|
|
17
|
-
onSuccess: async () => {
|
|
18
|
-
await exec('pnpm', ['tsc', '-p', 'tsconfig.build.json'], {
|
|
19
|
-
stdio: 'inherit',
|
|
20
|
-
});
|
|
21
|
-
},
|
|
22
|
-
});
|
package/vitest.config.ts
DELETED
|
File without changes
|