feat: use db for rag

This commit is contained in:
2025-08-07 14:14:46 -07:00
parent 4971695d2a
commit 24d37dcd16
11 changed files with 145 additions and 50 deletions
+6 -3
View File
@@ -6,9 +6,10 @@
"type": "module",
"scripts": {
"lint": "eslint ./src --max-warnings 0",
"build": "tsx ./getDocs.ts && tsc",
"build": "op run --env-file=./prod.env -- tsx getDocs.ts && tsc",
"start": "op run --env-file=./prod.env -- node ./prod/index.js",
"test": "echo 'No tests yet' && exit 0"
"test": "echo 'No tests yet' && exit 0",
"db": "prisma generate"
},
"keywords": [],
"author": "",
@@ -17,11 +18,13 @@
"dependencies": {
"@anthropic-ai/sdk": "0.56.0",
"@nhcarrigan/logger": "1.0.0",
"@prisma/client": "6.11.1",
"discord.js": "14.21.0",
"fastify": "5.4.0",
"gray-matter": "4.0.3"
},
"devDependencies": {
"@types/node": "24.0.10"
"@types/node": "24.0.10",
"prisma": "6.11.1"
}
}