chore: add pnpm workspace configuration for apps and packages

This commit is contained in:
GW_MC
2026-02-23 21:04:19 +08:00
parent ab02758382
commit 932f384f0d
31 changed files with 9081 additions and 203 deletions

View File

@@ -29,7 +29,7 @@ This document outlines the phased implementation approach for DreamChat.
- [ ] Initialize NestJS app in `apps/backend`
- [ ] Configure Prisma ORM with PostgreSQL
- [ ] Install and configure pgvector extension
- [ ] Define Prisma schema for all entities
- [ ] Define Prisma schema using multi-file structure (`prisma/models/`)
- [ ] Configure Jest for unit testing
- [ ] Set up Swagger/OpenAPI
- [ ] Implement basic logging (Winston/Pino)
@@ -204,10 +204,15 @@ HUGGINGFACE_API_KEY=hf_...
#### Backend Tasks
- [ ] Import adapter interface
- [ ] Text file adapter
- [ ] Text file adapter (txt, md)
- [ ] File upload endpoint
- [ ] Data preprocessor (cleaning)
- [ ] Basic text chunking
- [ ] CharacterKnowledge Prisma model
- [ ] CharacterKnowledgeService
- [ ] Import file/URL as knowledge
- [ ] Chunk and embed content
- [ ] Store in VectorMemory with type='character'
#### Frontend Tasks
- [ ] Import page
@@ -274,7 +279,8 @@ HUGGINGFACE_API_KEY=hf_...
- [ ] Predefined scraper: AO3
- [ ] Predefined scraper: FanFiction.net
- [ ] URL validation and scraper selection
- [ ] URL import endpoint
- [ ] URL import endpoint (stores as CharacterKnowledge)
- [ ] PDF and Markdown support for character knowledge
#### Frontend Tasks
- [ ] URL import component