Repository này chứa mã nguồn, tài liệu và artifact migration cho CogMem: hệ thống long-term conversational memory theo hướng cognitively grounded.
- Xây dựng và kiểm chứng kiến trúc retain/recall/reflect cho bộ nhớ hội thoại dài hạn.
- Distill và đánh giá benchmark (LongMemEval, LoCoMo) theo các năng lực trọng tâm.
- Duy trì bộ tutorial chuẩn hóa theo hướng top-down và per-file để onboarding/debug nhanh.
Trang Pages của dự án được tổ chức thành 4 mục lớn:
- Dự án tổng quan: README (tài liệu này)
- Idea:
docs/CogMem-Idea.md - Plan:
docs/PLAN.md - Tutorials: toàn bộ tài liệu cũ trong
tutorials/
- Idea: docs/CogMem-Idea.md
- Plan: docs/PLAN.md
- Tutorials index: tutorials/INDEX.md
- Per-file reading order: tutorials/per-file/READING-ORDER.md
.
|- cogmem_api/
|- docs/
|- tutorials/
|- tests/artifacts/
|- scripts/
|- docker/
|- .github/workflows/
|- pyproject.toml
`- README.md
- Python >= 3.13
- uv (khuyến nghị quản lý môi trường)
Cài dependencies:
uv syncKích hoạt môi trường ảo trên Windows:
.\.venv\Scripts\Activate.ps1uv run cogmem-apiHealth check:
curl http://localhost:8888/health- Build image:
docker build -f docker/standalone/Dockerfile -t cogmem:local .- Chạy smoke test end-to-end:
./docker/test-image.sh cogmem:localPowerShell:
.\docker\test-image.ps1 -Image cogmem:localWorkflow deploy Pages: .github/workflows/tutorials-app-cicd.yml
Trigger chính:
- Push vào branch
master - Khi thay đổi
README.md,docs/**,tutorials/**,mkdocs.yml,requirements-docs.txt
Build docs local:
uv run --with mkdocs --with mkdocs-material --with mkdocs-include-markdown-plugin mkdocs build --config-file mkdocs.yml --site-dir site- Không sửa
docs/migration_idea_coverage_matrix.mdnếu chưa có yêu cầu explicit audit/update coverage. - Logs task phải có đủ section: Scope, Outputs Created, Verification Strategy Applied.
- Tutorials canonical per-file nằm ở
tutorials/per-file/;tutorials/functions/là inventory/deep-dive function-level hỗ trợ.