Files
ai-contract-platform/backend
yuqei 4f22e2965c feat: enhance contract review with semantic search and legal citations
Phase15 optimization:
- Add semantic search fallback in _attach_legal_article_refs()
- Expand LEGAL_ARTICLE_REFERENCE_RULES from 12 to 30+ scenarios
- Add LEGAL_SOURCE_ALIAS_MAP for 35+ legal sources

Contract review enhancement:
- Cover labor, corporate, investment, procurement, construction
- Add IP, data privacy, franchise, real estate scenarios
- Enable vector semantic search as final fallback

Legal citation visualization:
- Create LegalArticlePreview component with hover tooltip
- Support compact/full display modes
- Add copy and detail link features

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-16 22:09:27 +08:00
..

backend

FastAPI 后端骨架。

启动

source .venv/bin/activate
uvicorn app.main:app --reload

数据库迁移

source .venv/bin/activate
alembic upgrade head