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
61 lines
634 B
Plaintext
61 lines
634 B
Plaintext
# Git attributes for REDCap Docker deployment
|
||
# 确保跨平台一致性,防止CRLF/LF问题
|
||
|
||
# PHP文件统一使用LF换行符(Linux标准)
|
||
*.php text eol=lf
|
||
*.inc text eol=lf
|
||
|
||
# Shell脚本统一使用LF
|
||
*.sh text eol=lf
|
||
|
||
# PowerShell脚本保持CRLF(Windows标准)
|
||
*.ps1 text eol=crlf
|
||
|
||
# 配置文件统一使用LF
|
||
*.conf text eol=lf
|
||
*.ini text eol=lf
|
||
*.yml text eol=lf
|
||
*.yaml text eol=lf
|
||
|
||
# Markdown和文档
|
||
*.md text eol=lf
|
||
*.txt text eol=lf
|
||
|
||
# 二进制文件不做转换
|
||
*.png binary
|
||
*.jpg binary
|
||
*.jpeg binary
|
||
*.gif binary
|
||
*.ico binary
|
||
*.pdf binary
|
||
*.zip binary
|
||
*.tar binary
|
||
*.gz binary
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|