diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 04521d12..974188b8 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,3 +1,3 @@ { - "recommendations": ["nrwl.angular-console", "esbenp.prettier-vscode"] + "recommendations": ["esbenp.prettier-vscode"] } diff --git a/core/embedjs-interfaces/CHANGELOG.md b/core/embedjs-interfaces/CHANGELOG.md index 3d89d0eb..41c97294 100644 --- a/core/embedjs-interfaces/CHANGELOG.md +++ b/core/embedjs-interfaces/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-interfaces to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-interfaces to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/core/embedjs-interfaces/package.json b/core/embedjs-interfaces/package.json index 1bc66050..6cb7f8c4 100644 --- a/core/embedjs-interfaces/package.json +++ b/core/embedjs-interfaces/package.json @@ -1,6 +1,6 @@ { "name": "@llm-tools/embedjs-interfaces", - "version": "0.1.18", + "version": "0.1.19", "description": "Interfaces for extending the embedjs ecosystem", "dependencies": { "@langchain/core": "^0.3.18", diff --git a/core/embedjs-utils/CHANGELOG.md b/core/embedjs-utils/CHANGELOG.md index 557ddf50..626ab515 100644 --- a/core/embedjs-utils/CHANGELOG.md +++ b/core/embedjs-utils/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-utils to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-utils to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/core/embedjs-utils/package.json b/core/embedjs-utils/package.json index 28a242db..a0b2a513 100644 --- a/core/embedjs-utils/package.json +++ b/core/embedjs-utils/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-utils", - "version": "0.1.18", + "version": "0.1.19", "description": "Useful util functions when extending the embedjs ecosystem", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18" + "@llm-tools/embedjs-interfaces": "0.1.19" }, "type": "module", "main": "./src/index.js", diff --git a/core/embedjs/CHANGELOG.md b/core/embedjs/CHANGELOG.md index 6dd31687..82a41980 100644 --- a/core/embedjs/CHANGELOG.md +++ b/core/embedjs/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/core/embedjs/package.json b/core/embedjs/package.json index 88889e5d..7f26b6f6 100644 --- a/core/embedjs/package.json +++ b/core/embedjs/package.json @@ -1,12 +1,12 @@ { "type": "module", "name": "@llm-tools/embedjs", - "version": "0.1.18", + "version": "0.1.19", "description": "A NodeJS RAG framework to easily work with LLMs and custom datasets", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "debug": "^4.3.7", "langchain": "^0.3.6", "md5": "^2.3.0", diff --git a/databases/embedjs-astra/CHANGELOG.md b/databases/embedjs-astra/CHANGELOG.md index 541a870d..b5407c66 100644 --- a/databases/embedjs-astra/CHANGELOG.md +++ b/databases/embedjs-astra/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-astra to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-astra to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-astra/package.json b/databases/embedjs-astra/package.json index 1c6782a9..ba3f86a9 100644 --- a/databases/embedjs-astra/package.json +++ b/databases/embedjs-astra/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-astradb", - "version": "0.1.18", + "version": "0.1.19", "description": "Add AstraDB support to embedjs", "dependencies": { "@datastax/astra-db-ts": "^1.5.0", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/databases/embedjs-cosmos/CHANGELOG.md b/databases/embedjs-cosmos/CHANGELOG.md index 9a906a85..f24a9431 100644 --- a/databases/embedjs-cosmos/CHANGELOG.md +++ b/databases/embedjs-cosmos/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-cosmos to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-cosmos to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-cosmos/package.json b/databases/embedjs-cosmos/package.json index c16d9e0c..fc4bdbad 100644 --- a/databases/embedjs-cosmos/package.json +++ b/databases/embedjs-cosmos/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-cosmos", - "version": "0.1.18", + "version": "0.1.19", "description": "Add CosmosDB support to embedjs", "dependencies": { "@azure/cosmos": "^4.2.0", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/databases/embedjs-hnswlib/CHANGELOG.md b/databases/embedjs-hnswlib/CHANGELOG.md index af4cf921..5fcf5d27 100644 --- a/databases/embedjs-hnswlib/CHANGELOG.md +++ b/databases/embedjs-hnswlib/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-hnswlib to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-hnswlib to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-hnswlib/package.json b/databases/embedjs-hnswlib/package.json index b1a67b4a..4520e1ba 100644 --- a/databases/embedjs-hnswlib/package.json +++ b/databases/embedjs-hnswlib/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-hnswlib", - "version": "0.1.18", + "version": "0.1.19", "description": "Add HNSWLib support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "hnswlib-node": "^3.0.0" }, diff --git a/databases/embedjs-lancedb/CHANGELOG.md b/databases/embedjs-lancedb/CHANGELOG.md index dac21c67..b72bbb01 100644 --- a/databases/embedjs-lancedb/CHANGELOG.md +++ b/databases/embedjs-lancedb/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-lancedb to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-lancedb to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-lancedb/package.json b/databases/embedjs-lancedb/package.json index aa805694..72f64ab3 100644 --- a/databases/embedjs-lancedb/package.json +++ b/databases/embedjs-lancedb/package.json @@ -1,11 +1,12 @@ { "name": "@llm-tools/embedjs-lancedb", - "version": "0.1.18", + "version": "0.1.19", "description": "Add LanceDb support to embedjs", "dependencies": { "@lancedb/lancedb": "^0.13.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "compute-cosine-similarity": "^1.1.0" + "@llm-tools/embedjs-interfaces": "0.1.19", + "compute-cosine-similarity": "^1.1.0", + "debug": "^4.3.7" }, "type": "module", "main": "./src/index.js", diff --git a/databases/embedjs-lancedb/src/lance-db.ts b/databases/embedjs-lancedb/src/lance-db.ts index 3dc1f132..d4d42a5f 100644 --- a/databases/embedjs-lancedb/src/lance-db.ts +++ b/databases/embedjs-lancedb/src/lance-db.ts @@ -1,11 +1,13 @@ import * as fsOld from 'node:fs'; import * as fs from 'node:fs/promises'; +import createDebugMessages from 'debug'; import similarity from 'compute-cosine-similarity'; import { Table, connect } from '@lancedb/lancedb'; import { BaseVectorDatabase, ExtractChunkData, InsertChunkData } from '@llm-tools/embedjs-interfaces'; export class LanceDb implements BaseVectorDatabase { + private readonly debug = createDebugMessages('embedjs:vector:LanceDb'); private static readonly STATIC_DB_NAME = 'vectors'; private readonly isTemp: boolean = true; private readonly path: string; @@ -18,13 +20,16 @@ export class LanceDb implements BaseVectorDatabase { async init({ dimensions }: { dimensions: number }) { if (!this.isTemp && !fsOld.existsSync(this.path)) { + this.debug(`Creating dir at path - ${this.path}`); await fs.mkdir(this.path); } const dir = await (this.isTemp ? fs.mkdtemp(this.path) : this.path); + this.debug(`Connecting to path - ${dir}`); const client = await connect(dir); const list = await client.tableNames(); + this.debug.log(`Table names found - [${list.join(',')}]`); if (list.indexOf(LanceDb.STATIC_DB_NAME) > -1) this.table = await client.openTable(LanceDb.STATIC_DB_NAME); else { //TODO: You can add a proper schema instead of a sample record now but it requires another package apache-arrow; another install on downstream as well @@ -56,12 +61,14 @@ export class LanceDb implements BaseVectorDatabase { }; }); + this.debug.log(`Executing insert of ${mapped.length} entries`); await this.table.add(mapped); return mapped.length; //TODO: check if vectorDb has addressed the issue where add returns undefined } async similaritySearch(query: number[], k: number): Promise { const results = await this.table.search(query).limit(k).toArray(); + this.debug.log(`Query found ${results.length} entries`); return ( results diff --git a/databases/embedjs-libsql/CHANGELOG.md b/databases/embedjs-libsql/CHANGELOG.md new file mode 100644 index 00000000..38b0cf3b --- /dev/null +++ b/databases/embedjs-libsql/CHANGELOG.md @@ -0,0 +1,5 @@ +## 0.1.19 (2024-11-26) + +### 🚀 Features + +- added sqlite vector database ([cd27bc5](https://github.com/llm-tools/embedJs/commit/cd27bc5)) diff --git a/databases/embedjs-libsql/README.md b/databases/embedjs-libsql/README.md new file mode 100644 index 00000000..80591c37 --- /dev/null +++ b/databases/embedjs-libsql/README.md @@ -0,0 +1,8 @@ +# embedjs-libsql + +

+NPM Version +License +

+ +This package extends and offers additional functionality to [embedJs](https://www.npmjs.com/package/@llm-tools/embedjs). Refer to the documentation there for more details. diff --git a/databases/embedjs-libsql/eslint.config.js b/databases/embedjs-libsql/eslint.config.js new file mode 100644 index 00000000..4c3c47f6 --- /dev/null +++ b/databases/embedjs-libsql/eslint.config.js @@ -0,0 +1,20 @@ +import baseConfig from '../../eslint.config.js'; +import parser from '@nx/eslint-plugin'; + +export default [ + ...baseConfig, + { + files: ['**/*.json'], + rules: { + '@nx/dependency-checks': [ + 'error', + { + ignoredFiles: ['{projectRoot}/eslint.config.{js,cjs,mjs}'], + }, + ], + }, + languageOptions: { + parser, + }, + }, +]; diff --git a/databases/embedjs-libsql/package.json b/databases/embedjs-libsql/package.json new file mode 100644 index 00000000..7da3b166 --- /dev/null +++ b/databases/embedjs-libsql/package.json @@ -0,0 +1,39 @@ +{ + "name": "@llm-tools/embedjs-libsql", + "version": "0.1.19", + "description": "Add LibSQL support to embedjs", + "dependencies": { + "@libsql/client": "^0.14.0", + "@llm-tools/embedjs-interfaces": "0.1.19", + "debug": "^4.3.7" + }, + "type": "module", + "main": "./src/index.js", + "license": "Apache-2.0", + "publishConfig": { + "access": "public" + }, + "keywords": [ + "llm", + "ai", + "gpt3", + "chain", + "prompt", + "prompt engineering", + "chatgpt", + "machine learning", + "ml", + "anthropic", + "embeddings", + "vectorstores" + ], + "author": "K V Adhityan", + "bugs": { + "url": "https://github.com/llm-tools/embedjs/issues" + }, + "homepage": "https://github.com/llm-tools/embedjs#readme", + "repository": { + "type": "git", + "url": "git+https://github.com/llm-tools/embedjs.git" + } +} diff --git a/databases/embedjs-libsql/project.json b/databases/embedjs-libsql/project.json new file mode 100644 index 00000000..c9116ecf --- /dev/null +++ b/databases/embedjs-libsql/project.json @@ -0,0 +1,29 @@ +{ + "name": "embedjs-libsql", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "databases/embedjs-libsql/src", + "projectType": "library", + "tags": [], + "targets": { + "build": { + "executor": "@nx/js:tsc", + "outputs": ["{options.outputPath}"], + "options": { + "outputPath": "dist/esm/embedjs-libsql", + "main": "databases/embedjs-libsql/src/index.ts", + "tsConfig": "databases/embedjs-libsql/tsconfig.lib.json", + "assets": ["databases/embedjs-libsql/*.md"] + } + }, + "build-cjs": { + "executor": "@nx/js:tsc", + "outputs": ["{options.outputPath}"], + "dependsOn": ["^build-cjs"], + "options": { + "outputPath": "dist/cjs/embedjs-libsql", + "main": "databases/embedjs-libsql/src/index.ts", + "tsConfig": "databases/embedjs-libsql/tsconfig.cjs.json" + } + } + } +} diff --git a/databases/embedjs-libsql/src/index.ts b/databases/embedjs-libsql/src/index.ts new file mode 100644 index 00000000..78401e25 --- /dev/null +++ b/databases/embedjs-libsql/src/index.ts @@ -0,0 +1 @@ +export * from './libsql-db.js'; diff --git a/databases/embedjs-libsql/src/libsql-db.ts b/databases/embedjs-libsql/src/libsql-db.ts new file mode 100644 index 00000000..88fb57e3 --- /dev/null +++ b/databases/embedjs-libsql/src/libsql-db.ts @@ -0,0 +1,81 @@ +import createDebugMessages from 'debug'; +import { Client, createClient } from '@libsql/client'; + +import { BaseVectorDatabase, ExtractChunkData, InsertChunkData } from '@llm-tools/embedjs-interfaces'; + +export class LibSqlDb implements BaseVectorDatabase { + private readonly debug = createDebugMessages('embedjs:vector:LibSqlDb'); + private readonly tableName: string; + private readonly client: Client; + + constructor({ path, tableName }: { path: string; tableName?: string }) { + this.tableName = tableName ?? 'vectors'; + this.client = createClient({ + url: `file:${path}`, + }); + } + + async init({ dimensions }: { dimensions: number }) { + await this.client.execute(`CREATE TABLE ${this.tableName} ( + id TEXT + pageContent TEXT, + uniqueLoaderId TEXT, + source TEXT, + vector F32_BLOB(${dimensions}), + metadata TEXT + );`); + } + + async insertChunks(chunks: InsertChunkData[]): Promise { + const values = chunks.map((chunk) => { + return `('${chunk.metadata.id}', '${chunk.pageContent}', '${chunk.metadata.uniqueLoaderId}', + '${chunk.metadata.source}', vector32('[${chunk.vector.join(',')}]'), + '${JSON.stringify(chunk.metadata)}')`; + }); + + const statement = `INSERT INTO ${this.tableName} (id, pageContent, uniqueLoaderId, source, vector, metadata) + VALUES + ${values.join(',')} + );`; + + this.debug.log(`Executing statement - ${statement}`); + const result = await this.client.execute(statement); + return result.rowsAffected; + } + + async similaritySearch(query: number[], k: number): Promise { + const statement = `SELECT id, pageContent, uniqueLoaderId, source, metadata, + vector_distance_cos(vector, vector32('[${query.join(',')}]')) + FROM ${this.tableName} + ORDER BY vector_distance_cos(vector, vector32('[${query.join(',')}]')) + TOP ${k} + ASC;`; + + this.debug.log(`Executing statement - ${statement}`); + const results = await this.client.execute(statement); + + return results.rows.map((result) => { + const metadata = JSON.parse(result.metadata.toString()); + + return { + metadata, + pageContent: result.pageContent.toString(), + score: 1, + }; + }); + } + + async getVectorCount(): Promise { + return 0; + } + + async deleteKeys(uniqueLoaderId: string): Promise { + const statement = `DELETE FROM ${this.tableName} VALUES WHERE + uniqueLoaderId = '${uniqueLoaderId}';`; + + await this.client.execute(statement); + return true; + } + + async reset(): Promise {} +} diff --git a/databases/embedjs-libsql/tsconfig.cjs.json b/databases/embedjs-libsql/tsconfig.cjs.json new file mode 100644 index 00000000..1be21d0d --- /dev/null +++ b/databases/embedjs-libsql/tsconfig.cjs.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.lib.json", + "compilerOptions": { + "module": "commonjs", + "moduleResolution": "Node10" + } +} diff --git a/databases/embedjs-libsql/tsconfig.json b/databases/embedjs-libsql/tsconfig.json new file mode 100644 index 00000000..eeb778bc --- /dev/null +++ b/databases/embedjs-libsql/tsconfig.json @@ -0,0 +1,26 @@ +{ + "extends": "../../tsconfig.base.json", + "compilerOptions": { + "target": "ES2022", + "lib": ["ES2022", "ES2022.Object"], + "module": "NodeNext", + "moduleResolution": "nodenext", + "esModuleInterop": true, + "declaration": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "useDefineForClassFields": true, + "strictPropertyInitialization": false, + "allowJs": false, + "strict": false + }, + "files": [], + "include": [], + "references": [ + { + "path": "./tsconfig.lib.json" + } + ] +} diff --git a/databases/embedjs-libsql/tsconfig.lib.json b/databases/embedjs-libsql/tsconfig.lib.json new file mode 100644 index 00000000..bdeb03cf --- /dev/null +++ b/databases/embedjs-libsql/tsconfig.lib.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "declaration": true, + "types": ["node"] + }, + "include": ["src/**/*.ts"], + "exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"] +} diff --git a/databases/embedjs-lmdb/CHANGELOG.md b/databases/embedjs-lmdb/CHANGELOG.md index 17b83ce9..0ecba5e5 100644 --- a/databases/embedjs-lmdb/CHANGELOG.md +++ b/databases/embedjs-lmdb/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-lmdb to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-lmdb to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-lmdb/package.json b/databases/embedjs-lmdb/package.json index 08b6a856..21407a88 100644 --- a/databases/embedjs-lmdb/package.json +++ b/databases/embedjs-lmdb/package.json @@ -1,9 +1,10 @@ { "name": "@llm-tools/embedjs-lmdb", - "version": "0.1.18", + "version": "0.1.19", "description": "Add LMDB support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "debug": "^4.3.7", "lmdb": "^3.1.6" }, "type": "module", diff --git a/databases/embedjs-lmdb/src/lmdb-store.ts b/databases/embedjs-lmdb/src/lmdb-store.ts index c582c3ce..d3524814 100644 --- a/databases/embedjs-lmdb/src/lmdb-store.ts +++ b/databases/embedjs-lmdb/src/lmdb-store.ts @@ -1,7 +1,9 @@ +import createDebugMessages from 'debug'; import { BaseStore, Conversation, LoaderListEntry, Message } from '@llm-tools/embedjs-interfaces'; import * as lmdb from 'lmdb'; export class LmdbStore implements BaseStore { + private readonly debug = createDebugMessages('embedjs:store:LmdbStore'); private static readonly LOADER_METADATA_PREFIX = 'LOADER_METADATA_'; private static readonly CUSTOM_KEYS_PREFIX = 'CUSTOM_KEYS_'; @@ -13,6 +15,7 @@ export class LmdbStore implements BaseStore { } async init(): Promise { + this.debug.log(`Opening LMDB connection with path - ${this.dataPath}`); this.database = lmdb.open({ path: this.dataPath, compression: true, diff --git a/databases/embedjs-mongodb/CHANGELOG.md b/databases/embedjs-mongodb/CHANGELOG.md index 58c4d391..41bb0079 100644 --- a/databases/embedjs-mongodb/CHANGELOG.md +++ b/databases/embedjs-mongodb/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-mongodb to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-mongodb to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-mongodb/package.json b/databases/embedjs-mongodb/package.json index 6a4644ed..76964fb5 100644 --- a/databases/embedjs-mongodb/package.json +++ b/databases/embedjs-mongodb/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-mongodb", - "version": "0.1.18", + "version": "0.1.19", "description": "Add MongoDB support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "mongodb": "^6.10.0" }, diff --git a/databases/embedjs-mongodb/src/mongo-store.ts b/databases/embedjs-mongodb/src/mongo-store.ts index cfc6ee44..20141db6 100644 --- a/databases/embedjs-mongodb/src/mongo-store.ts +++ b/databases/embedjs-mongodb/src/mongo-store.ts @@ -3,7 +3,7 @@ import { Collection, MongoClient } from 'mongodb'; import { BaseStore, Conversation, LoaderListEntry, Message } from '@llm-tools/embedjs-interfaces'; export class MongoStore implements BaseStore { - private readonly debug = createDebugMessages('embedjs:cache:MongoCache'); + private readonly debug = createDebugMessages('embedjs:store:MongoCache'); private readonly uri: string; private readonly dbName: string; private readonly cacheCollectionName: string; diff --git a/databases/embedjs-pinecone/CHANGELOG.md b/databases/embedjs-pinecone/CHANGELOG.md index 88d3ff34..c935d0e4 100644 --- a/databases/embedjs-pinecone/CHANGELOG.md +++ b/databases/embedjs-pinecone/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-pinecone to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-pinecone to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-pinecone/package.json b/databases/embedjs-pinecone/package.json index 162ba6d7..9ddb0592 100644 --- a/databases/embedjs-pinecone/package.json +++ b/databases/embedjs-pinecone/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-pinecone", - "version": "0.1.18", + "version": "0.1.19", "description": "Add Pinecone support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "@pinecone-database/pinecone": "^4.0.0", "debug": "^4.3.7" }, diff --git a/databases/embedjs-qdrant/CHANGELOG.md b/databases/embedjs-qdrant/CHANGELOG.md index 3a6d86b4..93e596e4 100644 --- a/databases/embedjs-qdrant/CHANGELOG.md +++ b/databases/embedjs-qdrant/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-qdrant to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-qdrant to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-qdrant/package.json b/databases/embedjs-qdrant/package.json index b0a53e0e..df536115 100644 --- a/databases/embedjs-qdrant/package.json +++ b/databases/embedjs-qdrant/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-qdrant", - "version": "0.1.18", + "version": "0.1.19", "description": "Add Qdrant support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "@qdrant/js-client-rest": "^1.12.0", "debug": "^4.3.7", "uuid": "^11.0.3" diff --git a/databases/embedjs-redis/CHANGELOG.md b/databases/embedjs-redis/CHANGELOG.md index 34a7e860..28baa530 100644 --- a/databases/embedjs-redis/CHANGELOG.md +++ b/databases/embedjs-redis/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-redis to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-redis to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-redis/package.json b/databases/embedjs-redis/package.json index 987f1c5d..7c762e6f 100644 --- a/databases/embedjs-redis/package.json +++ b/databases/embedjs-redis/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-redis", - "version": "0.1.18", + "version": "0.1.19", "description": "Add Redis support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "ioredis": "^5.4.1" }, "type": "module", diff --git a/databases/embedjs-weaviate/CHANGELOG.md b/databases/embedjs-weaviate/CHANGELOG.md index 0e871ee4..6bc4d05b 100644 --- a/databases/embedjs-weaviate/CHANGELOG.md +++ b/databases/embedjs-weaviate/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-weaviate to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-weaviate to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/databases/embedjs-weaviate/package.json b/databases/embedjs-weaviate/package.json index 3b1f2093..510a2ffe 100644 --- a/databases/embedjs-weaviate/package.json +++ b/databases/embedjs-weaviate/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-weaviate", - "version": "0.1.18", + "version": "0.1.19", "description": "Add Weaviate support to embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "compute-cosine-similarity": "^1.1.0", "debug": "^4.3.7", "weaviate-ts-client": "^2.2.0" diff --git a/loaders/embedjs-loader-confluence/CHANGELOG.md b/loaders/embedjs-loader-confluence/CHANGELOG.md index 1ff8ffc7..43d38644 100644 --- a/loaders/embedjs-loader-confluence/CHANGELOG.md +++ b/loaders/embedjs-loader-confluence/CHANGELOG.md @@ -1,7 +1,13 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-confluence to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +### 🚀 Features + +This was a version bump only for embedjs-loader-confluence to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-confluence to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-confluence/package.json b/loaders/embedjs-loader-confluence/package.json index f4d6446b..5b63ec36 100644 --- a/loaders/embedjs-loader-confluence/package.json +++ b/loaders/embedjs-loader-confluence/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-confluence", - "version": "0.1.18", + "version": "0.1.19", "description": "Confluence loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-loader-web": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-loader-web": "0.1.19", "confluence.js": "^1.7.4", "debug": "^4.3.7", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-csv/CHANGELOG.md b/loaders/embedjs-loader-csv/CHANGELOG.md index fc94b81a..251e1856 100644 --- a/loaders/embedjs-loader-csv/CHANGELOG.md +++ b/loaders/embedjs-loader-csv/CHANGELOG.md @@ -1,7 +1,13 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-csv to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +### 🚀 Features + +This was a version bump only for embedjs-loader-confluence to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-csv to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-csv/package.json b/loaders/embedjs-loader-csv/package.json index 2d96314b..d1726e03 100644 --- a/loaders/embedjs-loader-csv/package.json +++ b/loaders/embedjs-loader-csv/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-csv", - "version": "0.1.18", + "version": "0.1.19", "description": "CSV loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "csv-parse": "^5.6.0", "debug": "^4.3.7", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-markdown/CHANGELOG.md b/loaders/embedjs-loader-markdown/CHANGELOG.md new file mode 100644 index 00000000..5fd749cc --- /dev/null +++ b/loaders/embedjs-loader-markdown/CHANGELOG.md @@ -0,0 +1,5 @@ +## 0.1.19 (2024-11-26) + +### 🚀 Features + +This was a version bump only for embedjs-loader-markdown to align it with other projects, there were no code changes. diff --git a/loaders/embedjs-loader-markdown/package.json b/loaders/embedjs-loader-markdown/package.json index a872de93..8c7df78e 100644 --- a/loaders/embedjs-loader-markdown/package.json +++ b/loaders/embedjs-loader-markdown/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-markdown", - "version": "0.1.18", + "version": "0.1.19", "description": "XML loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-loader-web": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-loader-web": "0.1.19", "debug": "^4.3.7", "md5": "^2.3.0", "micromark": "^4.0.1", diff --git a/loaders/embedjs-loader-msoffice/CHANGELOG.md b/loaders/embedjs-loader-msoffice/CHANGELOG.md index 1afb125b..3a9e969a 100644 --- a/loaders/embedjs-loader-msoffice/CHANGELOG.md +++ b/loaders/embedjs-loader-msoffice/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-msoffice to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-msoffice to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-msoffice/package.json b/loaders/embedjs-loader-msoffice/package.json index 5561353e..3bbd2ce8 100644 --- a/loaders/embedjs-loader-msoffice/package.json +++ b/loaders/embedjs-loader-msoffice/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-msoffice", - "version": "0.1.18", + "version": "0.1.19", "description": "Word, PPT and Excel loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "md5": "^2.3.0", "office-text-extractor": "^3.0.3" }, diff --git a/loaders/embedjs-loader-pdf/CHANGELOG.md b/loaders/embedjs-loader-pdf/CHANGELOG.md index 04ca33f6..d0f38f30 100644 --- a/loaders/embedjs-loader-pdf/CHANGELOG.md +++ b/loaders/embedjs-loader-pdf/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-pdf to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-pdf to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-pdf/package.json b/loaders/embedjs-loader-pdf/package.json index 37d959a1..c3cfe091 100644 --- a/loaders/embedjs-loader-pdf/package.json +++ b/loaders/embedjs-loader-pdf/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-pdf", - "version": "0.1.18", + "version": "0.1.19", "description": "PDF loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "md5": "^2.3.0", "office-text-extractor": "^3.0.3" }, diff --git a/loaders/embedjs-loader-sitemap/CHANGELOG.md b/loaders/embedjs-loader-sitemap/CHANGELOG.md index 336b35e3..bf5e4a51 100644 --- a/loaders/embedjs-loader-sitemap/CHANGELOG.md +++ b/loaders/embedjs-loader-sitemap/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-sitemap to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-sitemap to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-sitemap/package.json b/loaders/embedjs-loader-sitemap/package.json index 3092b88f..923b0900 100644 --- a/loaders/embedjs-loader-sitemap/package.json +++ b/loaders/embedjs-loader-sitemap/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-loader-sitemap", - "version": "0.1.18", + "version": "0.1.19", "description": "Sitemap recursive loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-loader-web": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-loader-web": "0.1.19", "debug": "^4.3.7", "md5": "^2.3.0", "sitemapper": "^3.2.18" diff --git a/loaders/embedjs-loader-web/CHANGELOG.md b/loaders/embedjs-loader-web/CHANGELOG.md index a63a3312..954e08eb 100644 --- a/loaders/embedjs-loader-web/CHANGELOG.md +++ b/loaders/embedjs-loader-web/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-web to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-web to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-web/package.json b/loaders/embedjs-loader-web/package.json index f7de7eed..4ce52bbd 100644 --- a/loaders/embedjs-loader-web/package.json +++ b/loaders/embedjs-loader-web/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-web", - "version": "0.1.18", + "version": "0.1.19", "description": "Web page loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "debug": "^4.3.7", "html-to-text": "^9.0.5", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-xml/package.json b/loaders/embedjs-loader-xml/package.json index 8a94753a..173f07dd 100644 --- a/loaders/embedjs-loader-xml/package.json +++ b/loaders/embedjs-loader-xml/package.json @@ -1,9 +1,9 @@ { "name": "@llm-tools/embedjs-loader-xml", - "version": "0.1.18", + "version": "0.1.19", "description": "XML loader for embedjs", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "fast-xml-parser": "^4.5.0", "md5": "^2.3.0" diff --git a/loaders/embedjs-loader-youtube/CHANGELOG.md b/loaders/embedjs-loader-youtube/CHANGELOG.md index 662fffa4..92d4a5d7 100644 --- a/loaders/embedjs-loader-youtube/CHANGELOG.md +++ b/loaders/embedjs-loader-youtube/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-loader-youtube to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-loader-youtube to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/loaders/embedjs-loader-youtube/package.json b/loaders/embedjs-loader-youtube/package.json index 98506065..dd65fc9c 100644 --- a/loaders/embedjs-loader-youtube/package.json +++ b/loaders/embedjs-loader-youtube/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-loader-youtube", - "version": "0.1.18", + "version": "0.1.19", "description": "Youtube transcript and channel recursive loader for embedjs", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "debug": "^4.3.7", "md5": "^2.3.0", "usetube": "^2.2.7", diff --git a/models/embedjs-anthropic/CHANGELOG.md b/models/embedjs-anthropic/CHANGELOG.md index 9ef67b0f..2ba7e24e 100644 --- a/models/embedjs-anthropic/CHANGELOG.md +++ b/models/embedjs-anthropic/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-anthropic to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-anthropic to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-anthropic/package.json b/models/embedjs-anthropic/package.json index 481b6678..e3ad92b0 100644 --- a/models/embedjs-anthropic/package.json +++ b/models/embedjs-anthropic/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-anthropic", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of Anthropic models with embedjs", "dependencies": { "@langchain/anthropic": "^0.3.8", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-cohere/CHANGELOG.md b/models/embedjs-cohere/CHANGELOG.md index 31bc4498..99601b3a 100644 --- a/models/embedjs-cohere/CHANGELOG.md +++ b/models/embedjs-cohere/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-cohere to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-cohere to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-cohere/package.json b/models/embedjs-cohere/package.json index 1cdb6bfb..c1e427de 100644 --- a/models/embedjs-cohere/package.json +++ b/models/embedjs-cohere/package.json @@ -1,10 +1,10 @@ { "name": "@llm-tools/embedjs-cohere", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of Cohere models with embedjs", "dependencies": { "@langchain/cohere": "^0.3.1", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "cohere-ai": "^7.14.0" }, "type": "module", diff --git a/models/embedjs-huggingface/CHANGELOG.md b/models/embedjs-huggingface/CHANGELOG.md index 63f4a763..b6720e82 100644 --- a/models/embedjs-huggingface/CHANGELOG.md +++ b/models/embedjs-huggingface/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-huggingface to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-huggingface to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-huggingface/package.json b/models/embedjs-huggingface/package.json index 937a9ea0..500700d7 100644 --- a/models/embedjs-huggingface/package.json +++ b/models/embedjs-huggingface/package.json @@ -1,12 +1,12 @@ { "name": "@llm-tools/embedjs-huggingface", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of HuggingFace models with embedjs", "dependencies": { "@huggingface/inference": "^2.8.1", "@langchain/community": "^0.3.15", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-llama-cpp/CHANGELOG.md b/models/embedjs-llama-cpp/CHANGELOG.md index 9cd18093..bc2b17e8 100644 --- a/models/embedjs-llama-cpp/CHANGELOG.md +++ b/models/embedjs-llama-cpp/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + ## 0.1.18 (2024-11-13) Complete LlamaCppModel & LlamaCppEmbeddings support for embedJs diff --git a/models/embedjs-llama-cpp/package.json b/models/embedjs-llama-cpp/package.json index 16a86ac0..d5a38e96 100644 --- a/models/embedjs-llama-cpp/package.json +++ b/models/embedjs-llama-cpp/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-llama-cpp", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of Node-Llama-Cpp with embedjs", "dependencies": { "@langchain/community": "^0.3.15", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "node-llama-cpp": "^3.2.0" }, diff --git a/models/embedjs-mistral/CHANGELOG.md b/models/embedjs-mistral/CHANGELOG.md index b5b4a361..eb268d33 100644 --- a/models/embedjs-mistral/CHANGELOG.md +++ b/models/embedjs-mistral/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-mistral to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-mistral to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-mistral/package.json b/models/embedjs-mistral/package.json index 09289f81..9229376e 100644 --- a/models/embedjs-mistral/package.json +++ b/models/embedjs-mistral/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-mistral", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of Mistral models with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/mistralai": "^0.2.0", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-ollama/CHANGELOG.md b/models/embedjs-ollama/CHANGELOG.md index a74267de..09ce8656 100644 --- a/models/embedjs-ollama/CHANGELOG.md +++ b/models/embedjs-ollama/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-ollama to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-ollama to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-ollama/package.json b/models/embedjs-ollama/package.json index d9554ad7..35f8af0c 100644 --- a/models/embedjs-ollama/package.json +++ b/models/embedjs-ollama/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-ollama", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of Ollama with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/ollama": "^0.1.2", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-openai/CHANGELOG.md b/models/embedjs-openai/CHANGELOG.md index 71a5fd7d..b054ca7a 100644 --- a/models/embedjs-openai/CHANGELOG.md +++ b/models/embedjs-openai/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-openai to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-openai to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-openai/package.json b/models/embedjs-openai/package.json index c07ef799..ca641665 100644 --- a/models/embedjs-openai/package.json +++ b/models/embedjs-openai/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-openai", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of OpenAI models with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/openai": "^0.3.14", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/models/embedjs-vertexai/CHANGELOG.md b/models/embedjs-vertexai/CHANGELOG.md index 8cd25f9e..003fc429 100644 --- a/models/embedjs-vertexai/CHANGELOG.md +++ b/models/embedjs-vertexai/CHANGELOG.md @@ -1,7 +1,11 @@ -## 0.1.18 (2024-11-13) - -This was a version bump only for embedjs-vertexai to align it with other projects, there were no code changes. - +## 0.1.19 (2024-11-26) + +This was a version bump only for this package to align it with other projects, there were no code changes. + +## 0.1.18 (2024-11-13) + +This was a version bump only for embedjs-vertexai to align it with other projects, there were no code changes. + ## 0.1.17 (2024-11-05) ### 🚀 Features diff --git a/models/embedjs-vertexai/package.json b/models/embedjs-vertexai/package.json index 93aca645..a8cc48e0 100644 --- a/models/embedjs-vertexai/package.json +++ b/models/embedjs-vertexai/package.json @@ -1,11 +1,11 @@ { "name": "@llm-tools/embedjs-vertexai", - "version": "0.1.18", + "version": "0.1.19", "description": "Enable usage of VertexAI models with embedjs", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/google-vertexai": "^0.1.2", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" }, "type": "module", diff --git a/package-lock.json b/package-lock.json index 0b0462c7..b737e090 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,12 +48,12 @@ }, "core/embedjs": { "name": "@llm-tools/embedjs", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "debug": "^4.3.7", "langchain": "^0.3.6", "md5": "^2.3.0", @@ -68,7 +68,7 @@ }, "core/embedjs-interfaces": { "name": "@llm-tools/embedjs-interfaces", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/core": "^0.3.18", @@ -91,10 +91,10 @@ }, "core/embedjs-utils": { "name": "@llm-tools/embedjs-utils", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18" + "@llm-tools/embedjs-interfaces": "0.1.19" } }, "core/embedjs/node_modules/langchain": { @@ -201,79 +201,91 @@ }, "databases/embedjs-astra": { "name": "@llm-tools/embedjs-astradb", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@datastax/astra-db-ts": "^1.5.0", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, "databases/embedjs-cosmos": { "name": "@llm-tools/embedjs-cosmos", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@azure/cosmos": "^4.2.0", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, "databases/embedjs-hnswlib": { "name": "@llm-tools/embedjs-hnswlib", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "hnswlib-node": "^3.0.0" } }, "databases/embedjs-lancedb": { "name": "@llm-tools/embedjs-lancedb", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@lancedb/lancedb": "^0.13.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "compute-cosine-similarity": "^1.1.0" + "@llm-tools/embedjs-interfaces": "0.1.19", + "compute-cosine-similarity": "^1.1.0", + "debug": "^4.3.7" + } + }, + "databases/embedjs-libsql": { + "name": "@llm-tools/embedjs-libsql", + "version": "0.1.19", + "license": "Apache-2.0", + "dependencies": { + "@libsql/client": "^0.14.0", + "@llm-tools/embedjs-interfaces": "0.1.19", + "debug": "^4.3.7" } }, "databases/embedjs-lmdb": { "name": "@llm-tools/embedjs-lmdb", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "debug": "^4.3.7", "lmdb": "^3.1.6" } }, "databases/embedjs-mongodb": { "name": "@llm-tools/embedjs-mongodb", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "mongodb": "^6.10.0" } }, "databases/embedjs-pinecone": { "name": "@llm-tools/embedjs-pinecone", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "@pinecone-database/pinecone": "^4.0.0", "debug": "^4.3.7" } }, "databases/embedjs-qdrant": { "name": "@llm-tools/embedjs-qdrant", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "@qdrant/js-client-rest": "^1.12.0", "debug": "^4.3.7", "uuid": "^11.0.3" @@ -293,19 +305,19 @@ }, "databases/embedjs-redis": { "name": "@llm-tools/embedjs-redis", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "ioredis": "^5.4.1" } }, "databases/embedjs-weaviate": { "name": "@llm-tools/embedjs-weaviate", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "compute-cosine-similarity": "^1.1.0", "debug": "^4.3.7", "weaviate-ts-client": "^2.2.0" @@ -313,11 +325,11 @@ }, "loaders/embedjs-loader-confluence": { "name": "@llm-tools/embedjs-loader-confluence", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-loader-web": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-loader-web": "0.1.19", "confluence.js": "^1.7.4", "debug": "^4.3.7", "md5": "^2.3.0" @@ -325,11 +337,11 @@ }, "loaders/embedjs-loader-csv": { "name": "@llm-tools/embedjs-loader-csv", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "csv-parse": "^5.6.0", "debug": "^4.3.7", "md5": "^2.3.0" @@ -337,11 +349,11 @@ }, "loaders/embedjs-loader-markdown": { "name": "@llm-tools/embedjs-loader-markdown", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-loader-web": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-loader-web": "0.1.19", "debug": "^4.3.7", "md5": "^2.3.0", "micromark": "^4.0.1", @@ -351,35 +363,35 @@ }, "loaders/embedjs-loader-msoffice": { "name": "@llm-tools/embedjs-loader-msoffice", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "md5": "^2.3.0", "office-text-extractor": "^3.0.3" } }, "loaders/embedjs-loader-pdf": { "name": "@llm-tools/embedjs-loader-pdf", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "md5": "^2.3.0", "office-text-extractor": "^3.0.3" } }, "loaders/embedjs-loader-sitemap": { "name": "@llm-tools/embedjs-loader-sitemap", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-loader-web": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-loader-web": "0.1.19", "debug": "^4.3.7", "md5": "^2.3.0", "sitemapper": "^3.2.18" @@ -387,12 +399,12 @@ }, "loaders/embedjs-loader-web": { "name": "@llm-tools/embedjs-loader-web", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "debug": "^4.3.7", "html-to-text": "^9.0.5", "md5": "^2.3.0" @@ -403,10 +415,10 @@ }, "loaders/embedjs-loader-xml": { "name": "@llm-tools/embedjs-loader-xml", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "fast-xml-parser": "^4.5.0", "md5": "^2.3.0" @@ -414,12 +426,12 @@ }, "loaders/embedjs-loader-youtube": { "name": "@llm-tools/embedjs-loader-youtube", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/textsplitters": "^0.1.0", - "@llm-tools/embedjs-interfaces": "0.1.18", - "@llm-tools/embedjs-utils": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", + "@llm-tools/embedjs-utils": "0.1.19", "debug": "^4.3.7", "md5": "^2.3.0", "usetube": "^2.2.7", @@ -431,69 +443,37 @@ }, "models/embedjs-anthropic": { "name": "@llm-tools/embedjs-anthropic", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/anthropic": "^0.3.8", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, "models/embedjs-cohere": { "name": "@llm-tools/embedjs-cohere", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/cohere": "^0.3.1", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "cohere-ai": "^7.14.0" } }, "models/embedjs-huggingface": { "name": "@llm-tools/embedjs-huggingface", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@huggingface/inference": "^2.8.1", "@langchain/community": "^0.3.15", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, - "models/embedjs-huggingface/node_modules/@lancedb/lancedb": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb/-/lancedb-0.12.0.tgz", - "integrity": "sha512-YkfJ0pL0GT6A+goDqVsd/8jYeOJmPvT0A0aWpUbP/hgNn98FKJZicQKUHW6gwWyoZBVKTF9yBNKQS59aZOT+cg==", - "cpu": [ - "x64", - "arm64" - ], - "optional": true, - "os": [ - "darwin", - "linux", - "win32" - ], - "peer": true, - "dependencies": { - "reflect-metadata": "^0.2.2" - }, - "engines": { - "node": ">= 18" - }, - "optionalDependencies": { - "@lancedb/lancedb-darwin-arm64": "0.12.0", - "@lancedb/lancedb-darwin-x64": "0.12.0", - "@lancedb/lancedb-linux-arm64-gnu": "0.12.0", - "@lancedb/lancedb-linux-x64-gnu": "0.12.0", - "@lancedb/lancedb-win32-x64-msvc": "0.12.0" - }, - "peerDependencies": { - "apache-arrow": ">=13.0.0 <=17.0.0" - } - }, "models/embedjs-huggingface/node_modules/@langchain/community": { "version": "0.3.15", "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.15.tgz", @@ -1001,146 +981,6 @@ } } }, - "models/embedjs-huggingface/node_modules/@smithy/eventstream-codec": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.2.0.tgz", - "integrity": "sha512-8janZoJw85nJmQZc4L8TuePp2pk1nxLgkxIR0TUjKJ5Dkj5oelB9WtiSSGXCQvNsJl0VSTvK/2ueMXxvpa9GVw==", - "optional": true, - "peer": true, - "dependencies": { - "@aws-crypto/crc32": "3.0.0", - "@smithy/types": "^2.12.0", - "@smithy/util-hex-encoding": "^2.2.0", - "tslib": "^2.6.2" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/is-array-buffer": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", - "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/protocol-http": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.3.0.tgz", - "integrity": "sha512-Xy5XK1AFWW2nlY/biWZXu6/krgbaf2dg0q492D8M5qthsnU2H+UgFeZLbM76FnH7s6RO/xhQRkj+T6KBO3JzgQ==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/types": "^2.12.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/signature-v4": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-2.3.0.tgz", - "integrity": "sha512-ui/NlpILU+6HAQBfJX8BBsDXuKSNrjTSuOYArRblcrErwKFutjrCNb/OExfVRyj9+26F9J+ZmfWT+fKWuDrH3Q==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/is-array-buffer": "^2.2.0", - "@smithy/types": "^2.12.0", - "@smithy/util-hex-encoding": "^2.2.0", - "@smithy/util-middleware": "^2.2.0", - "@smithy/util-uri-escape": "^2.2.0", - "@smithy/util-utf8": "^2.3.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/types": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.12.0.tgz", - "integrity": "sha512-QwYgloJ0sVNBeBuBs65cIkTbfzV/Q6ZNPCJ99EICFEdJYG50nGIY/uYXp+TbsdJReIuPr0a0kXmCvren3MbRRw==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/util-buffer-from": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", - "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/is-array-buffer": "^2.2.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/util-hex-encoding": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.2.0.tgz", - "integrity": "sha512-7iKXR+/4TpLK194pVjKiasIyqMtTYJsgKgM242Y9uzt5dhHnUDvMNb+3xIhRJ9QhvqGii/5cRUt4fJn3dtXNHQ==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/util-middleware": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.2.0.tgz", - "integrity": "sha512-L1qpleXf9QD6LwLCJ5jddGkgWyuSvWBkJwWAZ6kFkdifdso+sk3L3O1HdmPvCdnCK3IS4qWyPxev01QMnfHSBw==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/types": "^2.12.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/util-uri-escape": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.2.0.tgz", - "integrity": "sha512-jtmJMyt1xMD/d8OtbVJ2gFZOSKc+ueYJZPW20ULW1GOp/q/YIM0wNh+u8ZFao9UaIGz4WoPW8hC64qlWLIfoDA==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-huggingface/node_modules/@smithy/util-utf8": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", - "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/util-buffer-from": "^2.2.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, "models/embedjs-huggingface/node_modules/uuid": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", @@ -1156,48 +996,16 @@ }, "models/embedjs-llama-cpp": { "name": "@llm-tools/embedjs-llama-cpp", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/community": "^0.3.15", "@langchain/core": "^0.3.18", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7", "node-llama-cpp": "^3.2.0" } }, - "models/embedjs-llama-cpp/node_modules/@lancedb/lancedb": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb/-/lancedb-0.12.0.tgz", - "integrity": "sha512-YkfJ0pL0GT6A+goDqVsd/8jYeOJmPvT0A0aWpUbP/hgNn98FKJZicQKUHW6gwWyoZBVKTF9yBNKQS59aZOT+cg==", - "cpu": [ - "x64", - "arm64" - ], - "optional": true, - "os": [ - "darwin", - "linux", - "win32" - ], - "peer": true, - "dependencies": { - "reflect-metadata": "^0.2.2" - }, - "engines": { - "node": ">= 18" - }, - "optionalDependencies": { - "@lancedb/lancedb-darwin-arm64": "0.12.0", - "@lancedb/lancedb-darwin-x64": "0.12.0", - "@lancedb/lancedb-linux-arm64-gnu": "0.12.0", - "@lancedb/lancedb-linux-x64-gnu": "0.12.0", - "@lancedb/lancedb-win32-x64-msvc": "0.12.0" - }, - "peerDependencies": { - "apache-arrow": ">=13.0.0 <=17.0.0" - } - }, "models/embedjs-llama-cpp/node_modules/@langchain/community": { "version": "0.3.15", "resolved": "https://registry.npmjs.org/@langchain/community/-/community-0.3.15.tgz", @@ -1705,146 +1513,6 @@ } } }, - "models/embedjs-llama-cpp/node_modules/@smithy/eventstream-codec": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-2.2.0.tgz", - "integrity": "sha512-8janZoJw85nJmQZc4L8TuePp2pk1nxLgkxIR0TUjKJ5Dkj5oelB9WtiSSGXCQvNsJl0VSTvK/2ueMXxvpa9GVw==", - "optional": true, - "peer": true, - "dependencies": { - "@aws-crypto/crc32": "3.0.0", - "@smithy/types": "^2.12.0", - "@smithy/util-hex-encoding": "^2.2.0", - "tslib": "^2.6.2" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/is-array-buffer": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", - "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/protocol-http": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-3.3.0.tgz", - "integrity": "sha512-Xy5XK1AFWW2nlY/biWZXu6/krgbaf2dg0q492D8M5qthsnU2H+UgFeZLbM76FnH7s6RO/xhQRkj+T6KBO3JzgQ==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/types": "^2.12.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/signature-v4": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-2.3.0.tgz", - "integrity": "sha512-ui/NlpILU+6HAQBfJX8BBsDXuKSNrjTSuOYArRblcrErwKFutjrCNb/OExfVRyj9+26F9J+ZmfWT+fKWuDrH3Q==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/is-array-buffer": "^2.2.0", - "@smithy/types": "^2.12.0", - "@smithy/util-hex-encoding": "^2.2.0", - "@smithy/util-middleware": "^2.2.0", - "@smithy/util-uri-escape": "^2.2.0", - "@smithy/util-utf8": "^2.3.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/types": { - "version": "2.12.0", - "resolved": "https://registry.npmjs.org/@smithy/types/-/types-2.12.0.tgz", - "integrity": "sha512-QwYgloJ0sVNBeBuBs65cIkTbfzV/Q6ZNPCJ99EICFEdJYG50nGIY/uYXp+TbsdJReIuPr0a0kXmCvren3MbRRw==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/util-buffer-from": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", - "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/is-array-buffer": "^2.2.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/util-hex-encoding": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-2.2.0.tgz", - "integrity": "sha512-7iKXR+/4TpLK194pVjKiasIyqMtTYJsgKgM242Y9uzt5dhHnUDvMNb+3xIhRJ9QhvqGii/5cRUt4fJn3dtXNHQ==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/util-middleware": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-2.2.0.tgz", - "integrity": "sha512-L1qpleXf9QD6LwLCJ5jddGkgWyuSvWBkJwWAZ6kFkdifdso+sk3L3O1HdmPvCdnCK3IS4qWyPxev01QMnfHSBw==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/types": "^2.12.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/util-uri-escape": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-2.2.0.tgz", - "integrity": "sha512-jtmJMyt1xMD/d8OtbVJ2gFZOSKc+ueYJZPW20ULW1GOp/q/YIM0wNh+u8ZFao9UaIGz4WoPW8hC64qlWLIfoDA==", - "optional": true, - "peer": true, - "dependencies": { - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "models/embedjs-llama-cpp/node_modules/@smithy/util-utf8": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", - "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", - "optional": true, - "peer": true, - "dependencies": { - "@smithy/util-buffer-from": "^2.2.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=14.0.0" - } - }, "models/embedjs-llama-cpp/node_modules/uuid": { "version": "10.0.0", "resolved": "https://registry.npmmirror.com/uuid/-/uuid-10.0.0.tgz", @@ -1859,45 +1527,45 @@ }, "models/embedjs-mistral": { "name": "@llm-tools/embedjs-mistral", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/mistralai": "^0.2.0", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, "models/embedjs-ollama": { "name": "@llm-tools/embedjs-ollama", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/ollama": "^0.1.2", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, "models/embedjs-openai": { "name": "@llm-tools/embedjs-openai", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/openai": "^0.3.14", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, "models/embedjs-vertexai": { "name": "@llm-tools/embedjs-vertexai", - "version": "0.1.18", + "version": "0.1.19", "license": "Apache-2.0", "dependencies": { "@langchain/core": "^0.3.18", "@langchain/google-vertexai": "^0.1.2", - "@llm-tools/embedjs-interfaces": "0.1.18", + "@llm-tools/embedjs-interfaces": "0.1.19", "debug": "^4.3.7" } }, @@ -5670,36 +5338,7 @@ "funding": { "type": "github", "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@ibm-cloud/watsonx-ai": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@ibm-cloud/watsonx-ai/-/watsonx-ai-1.1.3.tgz", - "integrity": "sha512-1RF/pqjpzLdwDaoCw5lkulbiwPM5Gb50ZRtWzHNg3cmHHZxOqhmTKlhxvx+pNX/VQ96zvPKZTVI/Ovp/2VObuw==", - "peer": true, - "dependencies": { - "@types/node": "^18.0.0", - "extend": "3.0.2", - "ibm-cloud-sdk-core": "^5.0.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@ibm-cloud/watsonx-ai/node_modules/@types/node": { - "version": "18.19.64", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.64.tgz", - "integrity": "sha512-955mDqvO2vFf/oL7V3WiUtiz+BugyX8uVbaT2H8oj3+8dRyH2FLiNdowe7eNqRM7IOIZvzDH76EoAT+gwm6aIQ==", - "peer": true, - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@ibm-cloud/watsonx-ai/node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "peer": true + } }, "node_modules/@inquirer/checkbox": { "version": "4.0.2", @@ -6543,86 +6182,6 @@ "apache-arrow": ">=13.0.0 <=17.0.0" } }, - "node_modules/@lancedb/lancedb-darwin-arm64": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb-darwin-arm64/-/lancedb-darwin-arm64-0.12.0.tgz", - "integrity": "sha512-yuQkxgdR7q8eXeQ+8wOupB2789f0gS5+uvzZRiKz3ilf1ZgNTV68Zd3vgGjTTepcYGZvFvVOVlszlhZhVQjlfw==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@lancedb/lancedb-darwin-x64": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb-darwin-x64/-/lancedb-darwin-x64-0.12.0.tgz", - "integrity": "sha512-ZOVVDJRaEch/54zbDSVRbFXZRCgOEYRaqrcIUSZMKrMgFhinq5xgrau4zLGRsF7rSrxeCoF6eMx9+qkQHotyig==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@lancedb/lancedb-linux-arm64-gnu": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb-linux-arm64-gnu/-/lancedb-linux-arm64-gnu-0.12.0.tgz", - "integrity": "sha512-mAsVwaiaLoNRLB3stocJyAEoDpwsPu++YISd5ZCaYf66CXeYU8MI50z6NV0ZYUbAFHhUzqG85CfwW+Ns2ToJ8g==", - "cpu": [ - "arm64" - ], - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@lancedb/lancedb-linux-x64-gnu": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb-linux-x64-gnu/-/lancedb-linux-x64-gnu-0.12.0.tgz", - "integrity": "sha512-tc/A8NQQjbuEFWmq2qEWJ9s+JZFdH2diYPmMO4FNQpcbikjfk8kbJR5AFFtZel/cl2LqE7BnCvWtkI7v/hn5PA==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">= 18" - } - }, - "node_modules/@lancedb/lancedb-win32-x64-msvc": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@lancedb/lancedb-win32-x64-msvc/-/lancedb-win32-x64-msvc-0.12.0.tgz", - "integrity": "sha512-aLpGwksA4FWvWRxsoDzo1m8ryvmcIHOLjln4BUEPtJcKdX6zWBC5VL9QlBkKribnsyj87V/5UbJpM9KyrCnk5A==", - "cpu": [ - "x64" - ], - "optional": true, - "os": [ - "win32" - ], - "peer": true, - "engines": { - "node": ">= 18" - } - }, "node_modules/@lancedb/lancedb/node_modules/@lancedb/lancedb-darwin-arm64": { "version": "0.13.0", "resolved": "https://registry.npmjs.org/@lancedb/lancedb-darwin-arm64/-/lancedb-darwin-arm64-0.13.0.tgz", @@ -6938,6 +6497,170 @@ "@langchain/core": ">=0.2.21 <0.4.0" } }, + "node_modules/@libsql/client": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@libsql/client/-/client-0.14.0.tgz", + "integrity": "sha512-/9HEKfn6fwXB5aTEEoMeFh4CtG0ZzbncBb1e++OCdVpgKZ/xyMsIVYXm0w7Pv4RUel803vE6LwniB3PqD72R0Q==", + "dependencies": { + "@libsql/core": "^0.14.0", + "@libsql/hrana-client": "^0.7.0", + "js-base64": "^3.7.5", + "libsql": "^0.4.4", + "promise-limit": "^2.7.0" + } + }, + "node_modules/@libsql/client/node_modules/js-base64": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.7.tgz", + "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==" + }, + "node_modules/@libsql/core": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@libsql/core/-/core-0.14.0.tgz", + "integrity": "sha512-nhbuXf7GP3PSZgdCY2Ecj8vz187ptHlZQ0VRc751oB2C1W8jQUXKKklvt7t1LJiUTQBVJuadF628eUk+3cRi4Q==", + "dependencies": { + "js-base64": "^3.7.5" + } + }, + "node_modules/@libsql/core/node_modules/js-base64": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.7.tgz", + "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==" + }, + "node_modules/@libsql/darwin-arm64": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/darwin-arm64/-/darwin-arm64-0.4.7.tgz", + "integrity": "sha512-yOL742IfWUlUevnI5PdnIT4fryY3LYTdLm56bnY0wXBw7dhFcnjuA7jrH3oSVz2mjZTHujxoITgAE7V6Z+eAbg==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@libsql/darwin-x64": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/darwin-x64/-/darwin-x64-0.4.7.tgz", + "integrity": "sha512-ezc7V75+eoyyH07BO9tIyJdqXXcRfZMbKcLCeF8+qWK5nP8wWuMcfOVywecsXGRbT99zc5eNra4NEx6z5PkSsA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@libsql/hrana-client": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@libsql/hrana-client/-/hrana-client-0.7.0.tgz", + "integrity": "sha512-OF8fFQSkbL7vJY9rfuegK1R7sPgQ6kFMkDamiEccNUvieQ+3urzfDFI616oPl8V7T9zRmnTkSjMOImYCAVRVuw==", + "dependencies": { + "@libsql/isomorphic-fetch": "^0.3.1", + "@libsql/isomorphic-ws": "^0.1.5", + "js-base64": "^3.7.5", + "node-fetch": "^3.3.2" + } + }, + "node_modules/@libsql/hrana-client/node_modules/js-base64": { + "version": "3.7.7", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.7.tgz", + "integrity": "sha512-7rCnleh0z2CkXhH67J8K1Ytz0b2Y+yxTPL+/KOJoa20hfnVQ/3/T6W/KflYI4bRHRagNeXeU2bkNGI3v1oS/lw==" + }, + "node_modules/@libsql/hrana-client/node_modules/node-fetch": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", + "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", + "dependencies": { + "data-uri-to-buffer": "^4.0.0", + "fetch-blob": "^3.1.4", + "formdata-polyfill": "^4.0.10" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/node-fetch" + } + }, + "node_modules/@libsql/isomorphic-fetch": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@libsql/isomorphic-fetch/-/isomorphic-fetch-0.3.1.tgz", + "integrity": "sha512-6kK3SUK5Uu56zPq/Las620n5aS9xJq+jMBcNSOmjhNf/MUvdyji4vrMTqD7ptY7/4/CAVEAYDeotUz60LNQHtw==", + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/@libsql/isomorphic-ws": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/@libsql/isomorphic-ws/-/isomorphic-ws-0.1.5.tgz", + "integrity": "sha512-DtLWIH29onUYR00i0GlQ3UdcTRC6EP4u9w/h9LxpUZJWRMARk6dQwZ6Jkd+QdwVpuAOrdxt18v0K2uIYR3fwFg==", + "dependencies": { + "@types/ws": "^8.5.4", + "ws": "^8.13.0" + } + }, + "node_modules/@libsql/linux-arm64-gnu": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/linux-arm64-gnu/-/linux-arm64-gnu-0.4.7.tgz", + "integrity": "sha512-WlX2VYB5diM4kFfNaYcyhw5y+UJAI3xcMkEUJZPtRDEIu85SsSFrQ+gvoKfcVh76B//ztSeEX2wl9yrjF7BBCA==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@libsql/linux-arm64-musl": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/linux-arm64-musl/-/linux-arm64-musl-0.4.7.tgz", + "integrity": "sha512-6kK9xAArVRlTCpWeqnNMCoXW1pe7WITI378n4NpvU5EJ0Ok3aNTIC2nRPRjhro90QcnmLL1jPcrVwO4WD1U0xw==", + "cpu": [ + "arm64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@libsql/linux-x64-gnu": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/linux-x64-gnu/-/linux-x64-gnu-0.4.7.tgz", + "integrity": "sha512-CMnNRCmlWQqqzlTw6NeaZXzLWI8bydaXDke63JTUCvu8R+fj/ENsLrVBtPDlxQ0wGsYdXGlrUCH8Qi9gJep0yQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@libsql/linux-x64-musl": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/linux-x64-musl/-/linux-x64-musl-0.4.7.tgz", + "integrity": "sha512-nI6tpS1t6WzGAt1Kx1n1HsvtBbZ+jHn0m7ogNNT6pQHZQj7AFFTIMeDQw/i/Nt5H38np1GVRNsFe99eSIMs9XA==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@libsql/win32-x64-msvc": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/@libsql/win32-x64-msvc/-/win32-x64-msvc-0.4.7.tgz", + "integrity": "sha512-7pJzOWzPm6oJUxml+PCDRzYQ4A1hTMHAciTAHfFK4fkbDZX33nWPVG7Y3vqdKtslcwAzwmrNDc6sXy2nwWnbiw==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@llm-tools/embedjs": { "resolved": "core/embedjs", "link": true @@ -6974,6 +6697,10 @@ "resolved": "databases/embedjs-lancedb", "link": true }, + "node_modules/@llm-tools/embedjs-libsql": { + "resolved": "databases/embedjs-libsql", + "link": true + }, "node_modules/@llm-tools/embedjs-llama-cpp": { "resolved": "models/embedjs-llama-cpp", "link": true @@ -7237,6 +6964,11 @@ "@tybys/wasm-util": "^0.9.0" } }, + "node_modules/@neon-rs/load": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@neon-rs/load/-/load-0.0.4.tgz", + "integrity": "sha512-kTPhdZyTQxB+2wpiRcFWrDcejc4JI6tkPuS7UZCG4l6Zvc5kU/gGQ/ozvHTh1XR5tS+UlfAfGuPajjzQjCiHCw==" + }, "node_modules/@node-llama-cpp/linux-arm64": { "version": "3.2.0", "resolved": "https://registry.npmmirror.com/@node-llama-cpp/linux-arm64/-/linux-arm64-3.2.0.tgz", @@ -9776,6 +9508,7 @@ "version": "0.5.15", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz", "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==", + "dev": true, "dependencies": { "tslib": "^2.8.0" } @@ -9924,18 +9657,6 @@ "@types/responselike": "^1.0.0" } }, - "node_modules/@types/command-line-args": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.2.3.tgz", - "integrity": "sha512-uv0aG6R0Y8WHZLTamZwtfsDLVRnOa+n+n5rEvFWL5Na5gZ8V2Teab/duDPFzIIIhs9qizDpcavCusCLJZu62Kw==", - "peer": true - }, - "node_modules/@types/command-line-usage": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@types/command-line-usage/-/command-line-usage-5.0.4.tgz", - "integrity": "sha512-BwR5KP3Es/CSht0xqBcUXS3qCAUVXwpRKsV2+arxeb65atasuXG9LykC9Ab10Cw3s2raH92ZqOeILaQbsB2ACg==", - "peer": true - }, "node_modules/@types/conventional-commits-parser": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/@types/conventional-commits-parser/-/conventional-commits-parser-5.0.0.tgz", @@ -10131,6 +9852,14 @@ "@types/webidl-conversions": "*" } }, + "node_modules/@types/ws": { + "version": "8.5.13", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.13.tgz", + "integrity": "sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/yargs": { "version": "17.0.33", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", @@ -10627,35 +10356,6 @@ "node": ">= 8" } }, - "node_modules/apache-arrow": { - "version": "17.0.0", - "resolved": "https://registry.npmjs.org/apache-arrow/-/apache-arrow-17.0.0.tgz", - "integrity": "sha512-X0p7auzdnGuhYMVKYINdQssS4EcKec9TCXyez/qtJt32DrIMGbzqiaMiQ0X6fQlQpw8Fl0Qygcv4dfRAr5Gu9Q==", - "peer": true, - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/command-line-args": "^5.2.3", - "@types/command-line-usage": "^5.0.4", - "@types/node": "^20.13.0", - "command-line-args": "^5.2.1", - "command-line-usage": "^7.0.1", - "flatbuffers": "^24.3.25", - "json-bignum": "^0.0.3", - "tslib": "^2.6.2" - }, - "bin": { - "arrow2csv": "bin/arrow2csv.cjs" - } - }, - "node_modules/apache-arrow/node_modules/@types/node": { - "version": "20.17.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.6.tgz", - "integrity": "sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==", - "peer": true, - "dependencies": { - "undici-types": "~6.19.2" - } - }, "node_modules/aproba": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/aproba/-/aproba-2.0.0.tgz", @@ -10687,15 +10387,6 @@ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "license": "Python-2.0" }, - "node_modules/array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "peer": true, - "engines": { - "node": ">=6" - } - }, "node_modules/array-ify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", @@ -11319,52 +11010,6 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/chalk-template": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/chalk-template/-/chalk-template-0.4.0.tgz", - "integrity": "sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==", - "peer": true, - "dependencies": { - "chalk": "^4.1.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/chalk-template?sponsor=1" - } - }, - "node_modules/chalk-template/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "peer": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/chalk-template/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "peer": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, "node_modules/char-regex": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", @@ -11753,70 +11398,22 @@ "license": "MIT", "dependencies": { "strip-ansi": "^6.0.1", - "wcwidth": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/command-line-args": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", - "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", - "peer": true, - "dependencies": { - "array-back": "^3.1.0", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/command-line-usage": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-7.0.3.tgz", - "integrity": "sha512-PqMLy5+YGwhMh1wS04mVG44oqDsgyLRSKJBdOo1bnYhMKBW65gZF1dRp2OZRhiTjgUHljy99qkO7bsctLaw35Q==", - "peer": true, - "dependencies": { - "array-back": "^6.2.2", - "chalk-template": "^0.4.0", - "table-layout": "^4.1.0", - "typical": "^7.1.1" - }, - "engines": { - "node": ">=12.20.0" - } - }, - "node_modules/command-line-usage/node_modules/array-back": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", - "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", - "peer": true, + "wcwidth": "^1.0.0" + }, "engines": { - "node": ">=12.17" + "node": ">=8.0.0" } }, - "node_modules/command-line-usage/node_modules/typical": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-7.3.0.tgz", - "integrity": "sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==", - "peer": true, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, "engines": { - "node": ">=12.17" + "node": ">= 0.8" } }, "node_modules/commander": { @@ -12038,6 +11635,14 @@ "resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-5.6.0.tgz", "integrity": "sha512-l3nz3euub2QMg5ouu5U09Ew9Wf6/wQ8I++ch1loQ0ljmzhmfZYrH9fflS22i/PQEvsPvxCwxgz5q7UB8K1JO4Q==" }, + "node_modules/data-uri-to-buffer": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", + "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", + "engines": { + "node": ">= 12" + } + }, "node_modules/dayjs": { "version": "1.11.13", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", @@ -12360,6 +11965,7 @@ "version": "16.4.5", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "dev": true, "engines": { "node": ">=12" }, @@ -13117,6 +12723,36 @@ "bser": "2.1.1" } }, + "node_modules/fetch-blob": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", + "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/jimmywarting" + }, + { + "type": "paypal", + "url": "https://paypal.me/jimmywarting" + } + ], + "dependencies": { + "node-domexception": "^1.0.0", + "web-streams-polyfill": "^3.0.3" + }, + "engines": { + "node": "^12.20 || >= 14.13" + } + }, + "node_modules/fetch-blob/node_modules/web-streams-polyfill": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", + "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", + "engines": { + "node": ">= 8" + } + }, "node_modules/fetch-h2": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/fetch-h2/-/fetch-h2-3.0.2.tgz", @@ -13178,23 +12814,6 @@ "node": ">=16.0.0" } }, - "node_modules/file-type": { - "version": "16.5.4", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-16.5.4.tgz", - "integrity": "sha512-/yFHK0aGjFEgDJjEKP0pWCplsPFPhwyfwevf/pVxiN0tmE4L9LmwWxWukdJSHdoCli4VgQLehjJtwQBnqmsKcw==", - "peer": true, - "dependencies": { - "readable-web-to-node-stream": "^3.0.0", - "strtok3": "^6.2.4", - "token-types": "^4.1.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/file-type?sponsor=1" - } - }, "node_modules/file-uri-to-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", @@ -13269,18 +12888,6 @@ "node": ">=8" } }, - "node_modules/find-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", - "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", - "peer": true, - "dependencies": { - "array-back": "^3.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -13317,12 +12924,6 @@ "node": ">=16" } }, - "node_modules/flatbuffers": { - "version": "24.3.25", - "resolved": "https://registry.npmjs.org/flatbuffers/-/flatbuffers-24.3.25.tgz", - "integrity": "sha512-3HDgPbgiwWMI9zVB7VYBHaMrbOO7Gm0v+yD2FV/sCKj+9NDeVL7BOBYUuhWAQGKWOzBo8S9WdMvV0eixO233XQ==", - "peer": true - }, "node_modules/flatted": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", @@ -13400,6 +13001,17 @@ "node": ">= 12.20" } }, + "node_modules/formdata-polyfill": { + "version": "4.0.10", + "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", + "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "dependencies": { + "fetch-blob": "^3.1.2" + }, + "engines": { + "node": ">=12.20.0" + } + }, "node_modules/front-matter": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-4.0.2.tgz", @@ -13918,6 +13530,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -14110,75 +13723,6 @@ "url": "https://github.com/sponsors/typicode" } }, - "node_modules/ibm-cloud-sdk-core": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/ibm-cloud-sdk-core/-/ibm-cloud-sdk-core-5.1.0.tgz", - "integrity": "sha512-KJCbPz3tiXB1NGAD7cL4JtwpWV8yd/C7jsaHsxvedMo2ZblNG8emMyvSpGhiKAQVZmi3c0ujz6eJdy22NHuUWQ==", - "peer": true, - "dependencies": { - "@types/debug": "^4.1.12", - "@types/node": "~10.14.19", - "@types/tough-cookie": "^4.0.0", - "axios": "1.7.4", - "camelcase": "^6.3.0", - "debug": "^4.3.4", - "dotenv": "^16.4.5", - "extend": "3.0.2", - "file-type": "16.5.4", - "form-data": "4.0.0", - "isstream": "0.1.2", - "jsonwebtoken": "^9.0.2", - "mime-types": "2.1.35", - "retry-axios": "^2.6.0", - "tough-cookie": "^4.1.3" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/@types/node": { - "version": "10.14.22", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.14.22.tgz", - "integrity": "sha512-9taxKC944BqoTVjE+UT3pQH0nHZlTvITwfsOZqyc+R3sfJuxaTtxWjfn1K2UlxyPcKHf0rnaXcVFrS9F9vf0bw==", - "peer": true - }, - "node_modules/ibm-cloud-sdk-core/node_modules/axios": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.4.tgz", - "integrity": "sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw==", - "peer": true, - "dependencies": { - "follow-redirects": "^1.15.6", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "peer": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ibm-cloud-sdk-core/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "peer": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -14632,12 +14176,6 @@ "node": ">=16" } }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", - "peer": true - }, "node_modules/istanbul-lib-coverage": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", @@ -15813,15 +15351,6 @@ "bignumber.js": "^9.0.0" } }, - "node_modules/json-bignum": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/json-bignum/-/json-bignum-0.0.3.tgz", - "integrity": "sha512-2WHyXj3OfHSgNyuzDbSxI1w2jgw5gkWSWhS7Qg4bWXx1nLk3jnbwfUeS0PSba3IzpTUWdHxBieELUzXRjQB2zg==", - "peer": true, - "engines": { - "node": ">=0.8" - } - }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -15937,49 +15466,6 @@ "node": ">=0.10.0" } }, - "node_modules/jsonwebtoken": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", - "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", - "peer": true, - "dependencies": { - "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", - "ms": "^2.1.1", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=12", - "npm": ">=6" - } - }, - "node_modules/jsonwebtoken/node_modules/jwa": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", - "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "peer": true, - "dependencies": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/jsonwebtoken/node_modules/jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "peer": true, - "dependencies": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, "node_modules/jsuri": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/jsuri/-/jsuri-1.3.1.tgz", @@ -16238,6 +15724,42 @@ "node": ">= 0.8.0" } }, + "node_modules/libsql": { + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/libsql/-/libsql-0.4.7.tgz", + "integrity": "sha512-T9eIRCs6b0J1SHKYIvD8+KCJMcWZ900iZyxdnSCdqxN12Z1ijzT+jY5nrk72Jw4B0HGzms2NgpryArlJqvc3Lw==", + "cpu": [ + "x64", + "arm64", + "wasm32" + ], + "os": [ + "darwin", + "linux", + "win32" + ], + "dependencies": { + "@neon-rs/load": "^0.0.4", + "detect-libc": "2.0.2" + }, + "optionalDependencies": { + "@libsql/darwin-arm64": "0.4.7", + "@libsql/darwin-x64": "0.4.7", + "@libsql/linux-arm64-gnu": "0.4.7", + "@libsql/linux-arm64-musl": "0.4.7", + "@libsql/linux-x64-gnu": "0.4.7", + "@libsql/linux-x64-musl": "0.4.7", + "@libsql/win32-x64-msvc": "0.4.7" + } + }, + "node_modules/libsql/node_modules/detect-libc": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz", + "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==", + "engines": { + "node": ">=8" + } + }, "node_modules/lie": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", @@ -16309,12 +15831,6 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "license": "MIT" }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "peer": true - }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -16327,48 +15843,18 @@ "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", "license": "MIT" }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", - "peer": true - }, "node_modules/lodash.isarguments": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", "license": "MIT" }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "peer": true - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", - "peer": true - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "peer": true - }, "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", "license": "MIT" }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "peer": true - }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", @@ -16376,12 +15862,6 @@ "dev": true, "license": "MIT" }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "peer": true - }, "node_modules/log-symbols": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", @@ -18823,19 +18303,6 @@ "url": "https://ko-fi.com/killymxi" } }, - "node_modules/peek-readable": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-4.1.0.tgz", - "integrity": "sha512-ZI3LnwUv5nOGbQzD9c2iDG6toheuXSZP5esSHBjopsXH4dg19soufvpUGA3uohi5anFtGb2lhAVdHzH6R/Evvg==", - "peer": true, - "engines": { - "node": ">=8" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", @@ -18969,6 +18436,11 @@ "dev": true, "license": "ISC" }, + "node_modules/promise-limit": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/promise-limit/-/promise-limit-2.7.0.tgz", + "integrity": "sha512-7nJ6v5lnJsXwGprnGXga4wx6d1POjvi5Qmf1ivTRxTjH4Z/9Czja/UCMLVmB9N93GeWOU93XaFaEt6jbuoagNw==" + }, "node_modules/promise-retry": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", @@ -19390,18 +18862,6 @@ "node": ">= 4" } }, - "node_modules/retry-axios": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/retry-axios/-/retry-axios-2.6.0.tgz", - "integrity": "sha512-pOLi+Gdll3JekwuFjXO3fTq+L9lzMQGcSq7M5gIjExcl3Gu1hd4XXuf5o3+LuSBsaULQH7DiNbsqPd1chVpQGQ==", - "peer": true, - "engines": { - "node": ">=10.7.0" - }, - "peerDependencies": { - "axios": "*" - } - }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", @@ -20267,27 +19727,11 @@ "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==", "license": "MIT" }, - "node_modules/strtok3": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/strtok3/-/strtok3-6.3.0.tgz", - "integrity": "sha512-fZtbhtvI9I48xDSywd/somNqgUHl2L2cstmXCCif0itOf96jeW18MBSyrLuNicYQVkvpOxkZtkzujiTJ9LW5Jw==", - "peer": true, - "dependencies": { - "@tokenizer/token": "^0.3.0", - "peek-readable": "^4.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -20309,28 +19753,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/table-layout": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-4.1.1.tgz", - "integrity": "sha512-iK5/YhZxq5GO5z8wb0bY1317uDF3Zjpha0QFFLA8/trAoiLbQD0HUbMesEaxyzUgDxi2QlcbM8IvqOlEjgoXBA==", - "peer": true, - "dependencies": { - "array-back": "^6.2.2", - "wordwrapjs": "^5.1.0" - }, - "engines": { - "node": ">=12.17" - } - }, - "node_modules/table-layout/node_modules/array-back": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", - "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", - "peer": true, - "engines": { - "node": ">=12.17" - } - }, "node_modules/tar": { "version": "6.2.1", "resolved": "https://registry.npmmirror.com/tar/-/tar-6.2.1.tgz", @@ -20461,23 +19883,6 @@ "node": ">=8.0" } }, - "node_modules/token-types": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/token-types/-/token-types-4.2.1.tgz", - "integrity": "sha512-6udB24Q737UD/SDsKAHI9FCRP7Bqc9D/MQUV02ORQg5iskjtLJlZJNdN4kKtcdtwCeWIwIHDGaUsTsCCAa8sFQ==", - "peer": true, - "dependencies": { - "@tokenizer/token": "^0.3.0", - "ieee754": "^1.2.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, "node_modules/tough-cookie": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz", @@ -20682,15 +20087,6 @@ } } }, - "node_modules/typical": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", - "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", - "peer": true, - "engines": { - "node": ">=8" - } - }, "node_modules/underscore": { "version": "1.13.7", "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", @@ -21102,15 +20498,6 @@ "node": ">=0.10.0" } }, - "node_modules/wordwrapjs": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-5.1.0.tgz", - "integrity": "sha512-JNjcULU2e4KJwUNv6CHgI46UvDGitb6dGryHajXTDiLgg1/RiGoPSDw4kZfYnwGtEXf2ZMeIewDQgFGzkCB2Sg==", - "peer": true, - "engines": { - "node": ">=12.17" - } - }, "node_modules/wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -21242,6 +20629,26 @@ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", "dev": true }, + "node_modules/ws": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": ">=5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/xlsx": { "version": "0.20.2", "resolved": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", diff --git a/tsconfig.base.json b/tsconfig.base.json index 59188f4c..a1be3ea2 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -25,6 +25,7 @@ "@llm-tools/embedjs-huggingface": ["models/embedjs-huggingface/src/index.ts"], "@llm-tools/embedjs-interfaces": ["core/embedjs-interfaces/src/index.ts"], "@llm-tools/embedjs-lancedb": ["databases/embedjs-lancedb/src/index.ts"], + "@llm-tools/embedjs-libsql": ["databases/embedjs-libsql/src/index.ts"], "@llm-tools/embedjs-lmdb": ["databases/embedjs-lmdb/src/index.ts"], "@llm-tools/embedjs-loader-confluence": ["loaders/embedjs-loader-confluence/src/index.ts"], "@llm-tools/embedjs-loader-csv": ["loaders/embedjs-loader-csv/src/index.ts"],