mirror of
https://github.com/colanode/colanode.git
synced 2025-12-25 07:59:35 +01:00
- Extract common AI-related utility functions into a new ai-utils.ts module - Create a metadata handling library with fetchMetadataForContextItems - Update chunking and embedding services to use new utility functions - Improve context retrieval and scoring with recency and hybrid search weights - Enhance chunk summarization with a more flexible prompt template - Reorganize types for better type safety and modularity
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "@colanode/server",
|
|
"version": "1.0.0",
|
|
"author": "Colanode",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.js",
|
|
"files": [
|
|
"dist",
|
|
".env"
|
|
],
|
|
"scripts": {
|
|
"compile": "tsc --noEmit -p tsconfig.json",
|
|
"build": "npm run compile && tsup-node",
|
|
"clean": "del-cli dist isolate tsconfig.tsbuildinfo",
|
|
"lint": "eslint . --max-warnings 0",
|
|
"dev": "DEBUG=colanode:* tsx watch --env-file .env src/index.ts"
|
|
},
|
|
"description": "",
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^5.0.0",
|
|
"@types/multer": "^1.4.12",
|
|
"@types/node": "^22.13.4",
|
|
"@types/nodemailer": "^6.4.17",
|
|
"@types/pg": "^8.11.11",
|
|
"@types/ws": "^8.5.14",
|
|
"nodemon": "^3.1.7",
|
|
"tsup": "^8.3.6",
|
|
"tsx": "^4.19.2"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.750.0",
|
|
"@aws-sdk/s3-request-presigner": "^3.750.0",
|
|
"@colanode/core": "*",
|
|
"@colanode/crdt": "*",
|
|
"@langchain/core": "^0.3.40",
|
|
"@langchain/google-genai": "^0.1.10",
|
|
"@langchain/openai": "^0.4.4",
|
|
"@node-rs/argon2": "^2.0.2",
|
|
"axios": "^1.7.8",
|
|
"bullmq": "^5.41.4",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^5.0.1",
|
|
"handlebars": "^4.7.8",
|
|
"js-sha256": "^0.11.0",
|
|
"kysely": "^0.27.4",
|
|
"langchain": "^0.3.19",
|
|
"langfuse-langchain": "^3.35.2",
|
|
"multer": "^1.4.5-lts.1",
|
|
"nodemailer": "^6.10.0",
|
|
"pg": "^8.13.3",
|
|
"redis": "^4.7.0",
|
|
"sharp": "^0.33.5",
|
|
"ws": "^8.18.0"
|
|
}
|
|
}
|