-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.61 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 3.61 KB
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
{
"name": "ai-legal-assistant-slack-bot",
"version": "1.0.0",
"description": "Ultimate AI Legal Assistant - Master lawyer bot with Black's Law Dictionary, US Constitution, and founding documents expertise",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"dev": "ts-node-dev --respawn src/index.ts",
"start": "node dist/index-minimal.js",
"start:full": "node dist/index.js",
"test": "jest",
"lint": "eslint . --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"data:extract-pdf": "ts-node scripts/data-processing/extract-pdf-text.ts",
"data:parse-definitions": "ts-node scripts/data-processing/parse-legal-definitions.ts",
"data:parse-constitutional": "ts-node scripts/data-processing/parse-constitutional-docs.ts",
"data:parse-founding": "ts-node scripts/data-processing/parse-founding-docs.ts",
"data:chunk": "ts-node scripts/data-processing/chunk-documents.ts",
"data:embed": "ts-node scripts/data-processing/generate-embeddings.ts",
"data:load": "ts-node scripts/data-processing/load-vector-db.ts",
"data:process-all": "npm run data:extract-pdf && npm run data:parse-definitions && npm run data:parse-constitutional && npm run data:parse-founding && npm run data:chunk && npm run data:embed && npm run data:load",
"data:download-federal": "ts-node scripts/data-processing/download-federal-law.ts",
"data:parse-federal": "ts-node scripts/data-processing/parse-federal-law.ts",
"data:federal": "npm run data:download-federal && npm run data:parse-federal && npm run data:chunk && npm run data:embed && npm run data:load",
"data:download-state": "ts-node scripts/data-processing/download-state-law.ts",
"data:parse-state": "ts-node scripts/data-processing/parse-state-law.ts",
"data:state": "npm run data:download-state && npm run data:parse-state && npm run data:chunk && npm run data:embed && npm run data:load",
"data:download-tax": "ts-node scripts/data-processing/download-tax-law.ts",
"data:parse-tax": "ts-node scripts/data-processing/parse-tax-law.ts",
"data:tax": "npm run data:download-tax && npm run data:parse-tax && npm run data:chunk && npm run data:embed && npm run data:load",
"data:all-law": "npm run data:federal && npm run data:state && npm run data:tax"
},
"keywords": [
"legal",
"ai",
"slack",
"constitution",
"law",
"sovereign-citizenship",
"claude",
"rag"
],
"author": "Legal AI Team",
"license": "MIT",
"dependencies": {
"@anthropic-ai/sdk": "^0.27.0",
"@pinecone-database/pinecone": "^2.2.2",
"@slack/bolt": "^3.17.0",
"axios": "^1.6.2",
"cheerio": "^1.0.0-rc.12",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"helmet": "^7.1.0",
"ioredis": "^5.3.2",
"natural": "^6.10.4",
"openai": "^4.20.1",
"pdf-parse": "^1.1.1",
"tiktoken": "^1.0.15",
"winston": "^3.11.0"
},
"devDependencies": {
"@playwright/test": "^1.56.1",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.4",
"@types/pdf-parse": "^1.1.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vercel/node": "^5.5.3",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"playwright": "^1.56.1",
"prettier": "^3.1.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3",
"vercel": "^48.8.0"
},
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
},
"old_engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
}
}