Files
mnemazine/docs/graphify.md
T
tv5171621-source d20e6b6c09 docs: bilingual docs/ (EN+RU pairs) + CI release-check gate
- docs/*.md: add language toggle, fix stale clone URL (7teenno1-art -> zarubinphil)
- docs/*.ru.md: full Russian translations (9 docs)
- README.ru.md: Documentation links now point to .ru.md
- .github/workflows/release-check.yml: run release gate on every push/PR
2026-06-15 22:08:59 +03:00

55 lines
1.3 KiB
Markdown

# Graphify
🇬🇧 **English** · [🇷🇺 Русский](graphify.ru.md)
Install:
```bash
python3 -m pip install graphifyy
```
Update graph:
```bash
graphify update ~/Desktop/Mnemazine/vault
```
Guarded refresh for Mnemazine nightly/repair runs:
```bash
export MNEMAZINE_VAULT="/path/to/your/vault"
node scripts/mnemazine-refresh-graphify.mjs --vault "$MNEMAZINE_VAULT" --mode auto --json
```
What helper does:
- runs code-safe `graphify update`;
- detects if semantic freshness is still pending;
- for local Ollama, normalizes base URL to `/v1` before OpenAI-compatible calls;
- smoke-tests candidate models with both chat JSON and mini `graphify extract` before heavy semantic extraction;
- walks a model ladder from `--models` / `MNEMAZINE_GRAPHIFY_MODELS`;
- makes backup of `graphify-out/`;
- restores backup and writes `graphify-out/needs_update` if semantic refresh looks unsafe;
- re-clusters report so `graph.json` and `GRAPH_REPORT.md` stay honest.
Exit codes:
- `0` = graph fresh;
- `2` = partial success, semantic refresh still pending;
- `1` = hard failure.
Defaults live in `config/graphify-refresh.json`.
Smoke test:
```bash
npm run graph:smoke
```
Graphify helps Mnemazine:
- find related notes;
- detect clusters;
- avoid duplicate concepts;
- build graph-aware context for agents.