Skip to main content

duplexjev

Jev-style typed decisions about speech with zero decode steps. Give it audio and one or more option groups (has the user finished? which filler? which intent? speaker gender?); every group comes back as a probability over its options from a single forward pass. Many groups about many calls share one pass, with exact prefix sharing.

pip install "duplexjev[speech]"      # add [all] for the HTTP server
from duplexjev import Decider, Question

d = Decider.from_pretrained("fixie-ai/ultravox-v0_6-qwen-3-32b")   # or a DuplexJev adapter
groups = [Question("turn", "Has the user finished the turn?", ["finished", "not finished"]),
          Question("gender", "Speaker gender", ["female", "male"])]

d.decide("call.wav", groups)
# {'turn': {'answer': 'finished', 'confidence': 0.97, 'probs': {...}}, 'gender': {...}}

# many clips: each option group names its clip(s) with audio=<id> | [ids] | "*"
d.decide_batch({"car1": "a.wav", "car2": "b.wav"},
               [Question("turn", "Has the user finished the turn?", ["finished", "not finished"], audio="*"),
                Question("gender", "Speaker gender", ["female", "male"], audio="car2")])
# {'car1': {'turn': ...}, 'car2': {'turn': ..., 'gender': ...}}

Serve with tick batching: duplexjev serve --model <checkpoint> --tick-ms 160.

Project: https://github.com/adventists-ai/duplexjev · License: Apache-2.0

Release files for duplexjev 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for duplexjev 0.2.0
File Size Uploaded
duplexjev-0.2.0.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for duplexjev 0.2.0
File Interpreter ABI Platform
duplexjev-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 47.0 kB

Release files / duplexjev-0.2.0.tar.gz

Download URL duplexjev-0.2.0.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b842554cc2d9ba0ca76793281c126e8f356516ebc86e617597cdb9256b178228
BLAKE2b-256 checksum
How to use checksums
0826937eb354cb9a19ef29051229aa8beda1a775bcd80f23093347680594ed2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / duplexjev-0.2.0-py3-none-any.whl

Download URL duplexjev-0.2.0-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bae3240e1ec6ecd54b4585736bde59cdce907dfdbd535f8013800034043424f
BLAKE2b-256 checksum
How to use checksums
b39a8d08bbfb30e02c1b1bc44b7d383ee3e40cf3fa6fde36ccf4f0cd0707f1c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

0.2.1

2 release files

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page