Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Test build
run: npm run build:ci
run: npm run build
82 changes: 41 additions & 41 deletions core/embedjs-interfaces/package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"name": "@llm-tools/embedjs-interfaces",
"version": "0.1.28",
"description": "Interfaces for extending the embedjs ecosystem",
"dependencies": {
"@langchain/core": "^0.3.26",
"debug": "^4.4.0",
"md5": "^2.3.0",
"uuid": "^11.0.3"
},
"type": "module",
"main": "./src/index.js",
"typings": "./src/index.d.ts",
"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"
}
}
{
"name": "@llm-tools/embedjs-interfaces",
"version": "0.1.30",
"description": "Interfaces for extending the embedjs ecosystem",
"dependencies": {
"@langchain/core": "^1.0.5",
"debug": "^4.4.3",
"md5": "^2.3.0",
"uuid": "^13.0.0"
},
"type": "module",
"main": "./src/index.js",
"typings": "./src/index.d.ts",
"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"
}
}
14 changes: 2 additions & 12 deletions core/embedjs-interfaces/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,11 @@
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/esm/embedjs-interfaces",
"outputPath": "dist/embedjs-interfaces",
"main": "core/embedjs-interfaces/src/index.ts",
"tsConfig": "core/embedjs-interfaces/tsconfig.lib.json",
"tsConfig": "core/embedjs-interfaces/tsconfig.json",
"assets": ["core/embedjs-interfaces/*.md"]
}
},
"build-cjs": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"dependsOn": ["^build-cjs"],
"options": {
"outputPath": "dist/cjs/embedjs-interfaces",
"main": "core/embedjs-interfaces/src/index.ts",
"tsConfig": "core/embedjs-interfaces/tsconfig.cjs.json"
}
}
}
}
7 changes: 0 additions & 7 deletions core/embedjs-interfaces/tsconfig.cjs.json

This file was deleted.

13 changes: 5 additions & 8 deletions core/embedjs-interfaces/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@
"useDefineForClassFields": true,
"strictPropertyInitialization": false,
"allowJs": false,
"strict": false
"strict": false,
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
}
]
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"]
}
10 changes: 0 additions & 10 deletions core/embedjs-interfaces/tsconfig.lib.json

This file was deleted.

76 changes: 38 additions & 38 deletions core/embedjs-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "@llm-tools/embedjs-utils",
"version": "0.1.28",
"description": "Useful util functions when extending the embedjs ecosystem",
"dependencies": {
"@llm-tools/embedjs-interfaces": "0.1.28"
},
"type": "module",
"main": "./src/index.js",
"typings": "./src/index.d.ts",
"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"
}
}
{
"name": "@llm-tools/embedjs-utils",
"version": "0.1.30",
"description": "Useful util functions when extending the embedjs ecosystem",
"dependencies": {
"@llm-tools/embedjs-interfaces": "0.1.30"
},
"type": "module",
"main": "./src/index.js",
"typings": "./src/index.d.ts",
"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"
}
}
14 changes: 2 additions & 12 deletions core/embedjs-utils/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,11 @@
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/esm/embedjs-utils",
"outputPath": "dist/embedjs-utils",
"main": "core/embedjs-utils/src/index.ts",
"tsConfig": "core/embedjs-utils/tsconfig.lib.json",
"tsConfig": "core/embedjs-utils/tsconfig.json",
"assets": ["core/embedjs-utils/*.md"]
}
},
"build-cjs": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"dependsOn": ["^build-cjs"],
"options": {
"outputPath": "dist/cjs/embedjs-utils",
"main": "core/embedjs-utils/src/index.ts",
"tsConfig": "core/embedjs-utils/tsconfig.cjs.json"
}
}
}
}
2 changes: 1 addition & 1 deletion core/embedjs-utils/src/util/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export async function getSafe(
export async function getSafe(
url: string,
options?: { headers?: Record<string, string>; format?: 'text' | 'stream' | 'buffer' },
) {
): Promise<{ body: string | Buffer | NodeJS.ReadableStream } & getSafeResponsePartial> {
const headers = options?.headers ?? {};
headers['User-Agent'] = headers['User-Agent'] ?? DEFAULT_USER_AGENT;

Expand Down
7 changes: 0 additions & 7 deletions core/embedjs-utils/tsconfig.cjs.json

This file was deleted.

13 changes: 5 additions & 8 deletions core/embedjs-utils/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,10 @@
"useDefineForClassFields": true,
"strictPropertyInitialization": false,
"allowJs": false,
"strict": false
"strict": false,
"outDir": "../../dist/out-tsc",
"types": ["node"]
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
}
]
"include": ["src/**/*.ts"],
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"]
}
10 changes: 0 additions & 10 deletions core/embedjs-utils/tsconfig.lib.json

This file was deleted.

98 changes: 49 additions & 49 deletions core/embedjs/package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
{
"type": "module",
"name": "@llm-tools/embedjs",
"version": "0.1.28",
"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.28",
"@llm-tools/embedjs-utils": "0.1.28",
"debug": "^4.4.0",
"langchain": "^0.3.8",
"md5": "^2.3.0",
"mime": "^4.0.6",
"stream-mime-type": "^2.0.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/md5": "^2.3.5",
"@types/node": "^22.10.2"
},
"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"
}
}
{
"type": "module",
"name": "@llm-tools/embedjs",
"version": "0.1.30",
"description": "A NodeJS RAG framework to easily work with LLMs and custom datasets",
"dependencies": {
"@langchain/textsplitters": "^1.0.0",
"@llm-tools/embedjs-interfaces": "0.1.30",
"@llm-tools/embedjs-utils": "0.1.30",
"debug": "^4.4.3",
"langchain": "^1.0.4",
"md5": "^2.3.0",
"mime": "^4.1.0",
"stream-mime-type": "^2.0.0"
},
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/md5": "^2.3.6",
"@types/node": "^24.10.1"
},
"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"
}
}
Loading
Loading