Skip to main content

Client-side semantic endpointing. Know when they're done talking.

Project description

Utterance Python SDK

Client-side semantic endpointing. Know when they're done talking.

This is the Python SDK for the Utterance model. It provides a simple interface to load the ONNX model and run inference for VAD/endpointing.

Installation

pip install utterance

(Note: This package is not yet published to PyPI. Install locally or use pip install -e .)

Usage

from utterance import Utterance
import numpy as np

# Initialize detector (downloads model automatically)
detector = Utterance()

# Create dummy features (replace with real MFCCs/features)
# Example shape: (1, 100, 40) - batch, time, features
dummy_features = np.random.randn(1, 100, 40).astype(np.float32)

# Run inference
result = detector.predict(dummy_features)

print("Speaking:", result["speaking"])
print("Thinking Pause:", result["thinking_pause"])
print("Turn Complete:", result["turn_complete"])

Contributing

See main repository CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

utterance_core-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

utterance_core-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file utterance_core-0.0.1.tar.gz.

File metadata

  • Download URL: utterance_core-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.14

File hashes

Hashes for utterance_core-0.0.1.tar.gz
Algorithm Hash digest
SHA256 51f584dc5a682b2cfc6ec0af3e177628e960c96f1f7c52984a70425f636a894c
MD5 093141bf5f230a141940441882bd033d
BLAKE2b-256 6be6308bee8fa91ac92257622caea0608b2ef590ec51901a83a2c711da5c4f99

See more details on using hashes here.

File details

Details for the file utterance_core-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: utterance_core-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.14

File hashes

Hashes for utterance_core-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da41e19554304f1fa887087d84fc9e1bb326b070aabbd8d39fa5804a92c42ed3
MD5 b880013eac997c21c008cc8985f15557
BLAKE2b-256 9e01572586a25d98e397ff79154bda64aa02cad22627736c0448658d968dd223

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page