Files
anonymizer/examples/README.md
Oussama Knouz 0f188803a8 chore: migrate to mobiletic-labs org and rename npm scope
- Git URLs: git.mobiletic.net/mobiletic/anonymizer -> .../mobiletic-labs/anonymizer
  (homepage, repository, bugs, CI badge, clone instructions).
- npm package renamed @mobiletic/anonymizer -> @mobiletic-labs/anonymizer
  across package.json, lockfile, README, CONTRIBUTING, examples, issue template.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 12:05:47 +01:00

997 B

Live example

demo.mjs runs @mobiletic-labs/anonymizer against a real OpenAI-compatible LLM (built with Gemma 4 via Infomaniak) on a set of fictional Swiss e-learning chats: 5 single messages of rising complexity (up to 5 people, with rare attributes the model must coin itself) and 5 multi-turn conversations (with long-range back-references across turns). It writes the formatted output to RESULTS.md.

This is a live example, not a CI unit test — it needs an API key and calls a real endpoint. The deterministic test suite lives in ../test.

Run

cd ..
npm install
npm run build                     # examples/demo.mjs imports the built package
cp examples/.env.example examples/.env   # then fill in your endpoint + key
npm run example                   # → regenerates examples/RESULTS.md

examples/.env is git-ignored. All personal data in the scripts and results is fictional, generated for demonstration.