Docs
CommunityJev Guides & Articles
Python SDK Basic Usage
Official TypeSafe documentation page covering basic use of the Python SDK: async and sync clients, Noul, Choice, and Score questions, model listing and selection, and image asset attachment.
- Format
- Docs
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Shows both AsyncTypeSafeClient and sync TypeSafeClient usage of client.system_one.
- Questions are declared as Noul, Choice, or Score with instructions and criteria.
- client.models.list() enumerates available models; a model can be set when constructing the client.
- Images are supported only as dreamer-ready assets as of November 14, 2026, behind an opt-in header.
- Asset requests are sent as multipart/form-data with automatic or named references.
Questions about this entry
Short answers drawn from the linked project or page.
The page shows both forms: an async client used inside an async with block, and a sync client constructed directly. Both call client.system_one(state, questions) and read answers from result.nouls, result.choices, and result.scores.
Three kinds are documented: Noul for a yes/no question, Choice with a criteria mapping of labels, and Score with a criteria list of ordered labels. Each question carries its own instructions string.
Call client.models.list() to inspect available models. To pin a model, pass it when constructing the client, for example TypeSafeClient(model="jev"). The Models resource reference covers capabilities, pricing, and aliases.
Only images are supported at the moment, and as of November 14, 2026 image support is dreamer-ready only. Opting in requires the TypeSafe-Danger-Zone-Images header set to true on the client.
Requests with assets are sent as multipart/form-data, each asset's raw bytes in its own part. References can be automatic (the SDK generates a uuid-like reference) or named, passed through the assets argument to system_one. Both kinds can be mixed.
Yes. To reference an asset inside a text state or instruction, attach it with client.attach_assets and interpolate str(asset) into the string. The page warns not to forget the with block around the call.
This page is the basic usage guide only. The documentation set also includes an advanced usage page, a changelog, an API reference, and a Models resource reference for capabilities, pricing, and aliases.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.