-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.33 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "any-llm",
"version": "0.1.26",
"description": "A seamless typescript abstraction layer between your application and various Language Learning Model (LLM) providers.",
"repository": {
"type": "git",
"url": "git+https://github.com/fkesheh/any-llm.git"
},
"bugs": {
"url": "https://github.com/fkesheh/any-llm/issues"
},
"homepage": "https://github.com/fkesheh/any-llm#readme",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"build": "rm dist -rf && tsc && tsc-alias",
"prettier": "prettier --write src",
"lint": "eslint . --ext .ts",
"prePublish": "npm run build && npm run lint && npm run prettier",
"npmPublish": "npm run prePublish && npm publish --access=public"
},
"keywords": [
"abstraction-layer",
"LLM",
"language-learning-model"
],
"author": "Foad Kesheh",
"license": "Apache-2.0",
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/preset-typescript": "^7.24.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"tsc-alias": "^1.8.8",
"typescript": "^5.4.3"
},
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@util/*": [
"src/util/*"
],
"@chatModels/*": [
"src/chatModels/*"
],
"@models/*": [
"src/models/*"
],
"@types/*": [
"src/types/*"
],
"@implementations/*": [
"src/impl/*"
],
"@embeddingModels/*": [
"src/embeddingModels/*"
]
}
},
"dependencies": {
"@anthropic-ai/sdk": "^0.19.0",
"@google/generative-ai": "^0.3.1",
"@lenml/llama2-tokenizer": "^1.1.3",
"@lenml/llama2-tokenizer-vocab-llama2": "^1.1.1",
"ai": "^3.0.13",
"axios": "^1.6.8",
"cohere-ai": "^7.9.0",
"dotenv": "^16.4.5",
"html-to-md": "^0.8.5",
"langchain": "^0.1.31",
"mammoth": "^1.7.1",
"openai": "^4.29.2",
"tiktoken": "^1.0.13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,md}": "prettier --write"
}
}