ai-parrot-client-jev
TypeSafe AI System One client satellite for AI-Parrot, targeting the Jev model.
Jev is not a text generator: you send it state (a string or JSON document)
plus typed questions and it returns structured answers with calibrated
probabilities — a choice from a fixed set, a score on an ordered rubric,
or a noul (yes/no) probability. parrot.clients.jev.JevClient maps that
contract onto the AbstractClient interface:
ask(prompt, questions=...)— the prompt (plus optional system prompt and conversation history) becomes the state; the answers come back as anAIMessagewhoseoutput/structured_outputis aSystemOneResponse.invoke(prompt, output_type=MyModel)— a Pydantic model is translated into questions (bool→ noul,Literal/Enum→ choice,int/floatwithcriterialevels → score) and the answers are validated back into it.system_one(state, questions)— the raw, typed API call.
uv pip install ai-parrot-client-jev
export TYPESAFE_API_KEY=...
from parrot.clients.jev import JevClient, Choice, Noul, Score
client = JevClient() # reads TYPESAFE_API_KEY; calls jev-latest by default
ticket = (
"Hi, I've been trying to connect my Stripe account for 3 days and it keeps "
"failing. I'm losing sales. Please help ASAP."
)
response = await client.system_one(
state=ticket,
questions={
"department": Choice(
instructions="Which team should handle this",
criteria={
"billing": "Payment or subscription issues",
"technical": "Bugs or integration problems",
"sales": "Pricing or account questions",
},
),
"frustration": Score(
instructions="How frustrated the customer appears",
criteria=["Calm, just stating facts", "Frustrated but civil", "Very angry, strong language"],
),
"is_urgent": Noul(instructions="The message conveys urgency or time-sensitivity"),
},
)
response.answers["department"].choice # "billing"
response.answers["frustration"].score # 1.035
response.answers["is_urgent"].noul # 0.999
Models (JevModel): jev-latest (default alias, stable), jev-preview
(alias, newest build), jev-1.13.0 (versioned). Text input only; 64k tokens
per request. Output tokens are free.
Registers itself with LLMFactory under the jev and typesafe provider
keys via the parrot.clients entry-point group.
Metadata
Release files for ai-parrot-client-jev 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ai_parrot_client_jev-0.2.6.tar.gz | 20.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_parrot_client_jev-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.7 kB
Release files / ai_parrot_client_jev-0.2.6.tar.gz
| Download URL | ai_parrot_client_jev-0.2.6.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8123c9bec4bac44d4fac678ec000733cadaf25ea51a0f0f9bb30ac63a37739c5
|
|
BLAKE2b-256 checksum How to use checksums |
295f5dcde19bf6c9e263ca31b14f839b33ac9fff14fa87cd01f73aacb11d5192
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / ai_parrot_client_jev-0.2.6-py3-none-any.whl
| Download URL | ai_parrot_client_jev-0.2.6-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd918a499fca6227605fb0e2102942521f05af50b64531052c0b567e3657da25
|
|
BLAKE2b-256 checksum How to use checksums |
592d2ca4e5f4b27177acaff78cecead5bf40991425cc858410fea45396b05554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log