COOLJEV / PRACTICAL GUIDE
Jev Python examples: seven runnable workflows
Download all examples. Extract them and run from the directory containing examples/; no pip installation is needed. This is CoolJev's educational HTTP client, not the official TypeSafe SDK.
python3 -m examples.hello_jev reviews --mode offline --language en --output examples/output/my-reviews.json
Pick the matching entry point
| Command case | Teaches | Input location |
|---|---|---|
tickets |
Department, impact and review queue | examples/data/tickets.json |
content |
Checklist and publication recommendation | examples/data/content/ |
route |
Fixed local tools and routing boundaries | examples/data/routes.json |
leads |
Sales qualification criteria | examples/data/scenarios.json |
reviews |
Independent product issue labels | examples/data/scenarios.json |
articles |
Editorial signals | examples/data/scenarios.json |
support |
Reply versus supplied support policy | examples/data/scenarios.json |
The last four accept --language en or --language zh. The original three use the bundled English teaching inputs. content also writes a readable sibling .txt report.
Customize a request
Download a review request template. Save it locally as review-request.json, edit its text and criteria, set your own TYPESAFE_API_KEY, and explicitly choose live mode:
python3 -m examples.hello_jev reviews --mode live --request review-request.json --output examples/output/custom-review.json
--request is available only for leads, reviews, articles and support, and only in live mode. Live requests send the supplied material to TypeSafe. The client reads environment variables, not .env files. Use the downloaded README for key setup.
Inspect before using the result
Offline responses carry authored-fixture evidence and are tied to their inputs. They prove the local workflow, not model accuracy. Live responses should be inspected for model version, usage, answer types and review reasons. The client validates allowed choices, numeric bounds and probability distributions. A Score may be fractional; a Noul has no separate confidence field. See the official API reference.
Repeated commands replace the chosen output file. Keep separate filenames for offline and live runs. Exit zero means the report was written; records may still contain errors or require review. These examples do not send customer messages, perform refunds or publish content. For a first walkthrough, use the tutorial.
Independently written by CoolJev. Sources checked and updated: 2026-09-24