Summary: - Migrate PostgreSQL to pgvector/pgvector:pg15 Docker image - Successfully install and verify pgvector 0.8.1 extension - Create comprehensive Dify-to-pgvector migration plan - Update PKB module documentation with pgvector status - Update system documentation with pgvector integration Key changes: - docker-compose.yml: Switch to pgvector/pgvector:pg15 image - Add EkbDocument and EkbChunk data model design - Design R-C-R-G hybrid retrieval architecture - Add clinical data JSONB fields (pico, studyDesign, regimen, safety, criteria, endpoints) - Create detailed 10-day implementation roadmap Documentation updates: - PKB module status: pgvector RAG infrastructure ready - System status: pgvector 0.8.1 integrated - New: Dify replacement development plan (01-Dify替换为pgvector开发计划.md) - New: Enterprise medical knowledge base solution V2 Tested: PostgreSQL with pgvector verified, frontend and backend functionality confirmed
92 lines
898 B
Plaintext
92 lines
898 B
Plaintext
# REDCap Docker环境 - Git忽略文件
|
||
# 版本:v1.0
|
||
# 日期:2026-01-01
|
||
|
||
# ========== 环境变量文件(包含敏感信息) ==========
|
||
.env
|
||
.env.local
|
||
.env.*.local
|
||
|
||
# ========== Docker数据卷挂载点(如使用本地挂载) ==========
|
||
data/
|
||
mysql-data/
|
||
edocs/
|
||
temp/
|
||
modules/
|
||
|
||
# ========== SSL证书(敏感) ==========
|
||
ssl/
|
||
*.crt
|
||
*.key
|
||
*.pem
|
||
|
||
# ========== 日志文件 ==========
|
||
logs/
|
||
*.log
|
||
|
||
# ========== 备份文件 ==========
|
||
backups/
|
||
*.sql
|
||
*.tar
|
||
*.tar.gz
|
||
*.zip
|
||
|
||
# ========== 临时文件 ==========
|
||
tmp/
|
||
temp/
|
||
*.tmp
|
||
*.swp
|
||
*~
|
||
|
||
# ========== IDE配置 ==========
|
||
.vscode/
|
||
.idea/
|
||
*.code-workspace
|
||
|
||
# ========== 操作系统文件 ==========
|
||
# Windows
|
||
Thumbs.db
|
||
Desktop.ini
|
||
|
||
# macOS
|
||
.DS_Store
|
||
.AppleDouble
|
||
.LSOverride
|
||
|
||
# ========== 其他 ==========
|
||
# 不要忽略README.md
|
||
!README.md
|
||
|
||
# 不要忽略配置模板
|
||
!env.template
|
||
!*.example
|
||
!*.template
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|