docs: add examples/ (live demo + RESULTS) and slim the README examples
- examples/demo.mjs: live demo (5 single messages up to 5 people with rare auto-coined attributes + 5 escalating multi-turn conversations with long-range back-references); self-references the package via exports - examples/RESULTS.md: its generated output (10 examples) - examples/.env.example + examples/README.md; `npm run example` script - README: replace the long examples section with two representative examples (dense 5-person message + 6-turn conversation) and a badge/link to examples/RESULTS.md for the full set - eslint ignores examples/**, prettier ignores generated examples/RESULTS.md, .gitignore un-ignores .env.example Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
6
examples/.env.example
Normal file
6
examples/.env.example
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copy to examples/.env and fill in — .env is git-ignored, never commit your key.
|
||||
# Any OpenAI-compatible endpoint works; the package appends "/chat/completions".
|
||||
INFOMANIAK_AI_BASE_URL= # e.g. https://api.infomaniak.com/2/ai/<product_id>/openai/v1
|
||||
INFOMANIAK_AI_API_KEY= # your API token
|
||||
GEMMA_MODEL= # model id (e.g. google/gemma-4-31B-it)
|
||||
PRIVACY_GEMMA_TIMEOUT_MS=60000
|
||||
Reference in New Issue
Block a user