feat: Implement knowledge import feature for characters
- Added KnowledgeImport page for importing character knowledge from URLs. - Integrated URL validation and error handling for unsupported websites. - Created API endpoints for importing content from URLs and retrieving character knowledge. - Enhanced VectorStoreService with logging and error handling for vector memory storage. - Updated frontend to display knowledge sources and manage them effectively. - Added support for fetching recent character knowledge as a fallback in similarity searches. - Updated OpenAPI documentation to reflect new import functionality.
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
"scripts": {
|
||||
"build": "nest build",
|
||||
"dev": "nest start --watch",
|
||||
"start": "node dist/main",
|
||||
"start": "node --max-old-space-size=768 dist/main",
|
||||
"start:low-memory": "node --max-old-space-size=384 dist/main",
|
||||
"start:high-memory": "node --max-old-space-size=1536 dist/main",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
||||
@@ -46,6 +48,7 @@
|
||||
"@nestjs/cli": "^11.0.16",
|
||||
"@nestjs/testing": "^11.1.14",
|
||||
"@types/bcrypt": "^6.0.0",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/jsonwebtoken": "^9.0.0",
|
||||
"@types/multer": "^1.4.12",
|
||||
"@types/node": "^24.10.13",
|
||||
@@ -53,6 +56,7 @@
|
||||
"@types/passport-local": "^1.0.0",
|
||||
"jest": "^30.2.0",
|
||||
"prisma": "^7.4.1",
|
||||
"ts-jest": "^29.4.6",
|
||||
"typescript": "^5.3.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user