Summary: - Update Tool C MVP Development Plan (V1.3) * Clarify Python execution as core feature * Add 15 real medical data cleaning scenarios (basic/medium/advanced) * Enhance System Prompt with 10 Few-shot examples * Discover existing Python service (extraction_service) * Update to extend existing service instead of rebuilding - Create Tool C MVP Development TODO List * 3-week plan with 30 tasks (Day 1-15) * 4 core milestones with clear acceptance criteria * Daily checklist and risk management * Detailed task breakdown for each day Key Changes: - Python service: Extend existing extraction_service instead of new setup - Test scenarios: 15 scenarios (5 basic + 5 medium + 5 advanced) - Success criteria: Basic >90%, Medium >80%, Advanced >60%, Total >80% - Development time: Reduced from 3 weeks to 2 weeks (reuse infrastructure) Status: Planning complete, ready to start Day 1 development
29 lines
691 B
PowerShell
29 lines
691 B
PowerShell
# DC模块数据库同步脚本
|
||
Write-Host "====================================" -ForegroundColor Cyan
|
||
Write-Host "DC模块数据库表同步" -ForegroundColor Cyan
|
||
Write-Host "====================================" -ForegroundColor Cyan
|
||
Write-Host ""
|
||
|
||
Set-Location $PSScriptRoot
|
||
|
||
Write-Host "1️⃣ 生成Prisma Client..." -ForegroundColor Yellow
|
||
npm run prisma:generate
|
||
|
||
Write-Host ""
|
||
Write-Host "2️⃣ 推送Schema到数据库..." -ForegroundColor Yellow
|
||
npx prisma db push --accept-data-loss
|
||
|
||
Write-Host ""
|
||
Write-Host "3️⃣ 检查表是否创建成功..." -ForegroundColor Yellow
|
||
npx tsx check-dc-database.ts
|
||
|
||
Write-Host ""
|
||
Write-Host "✅ 完成!" -ForegroundColor Green
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|