Skip to main content

A Python client for Connexity API.

Project description

CHANGELOG

v0.0.8.6 — 2025-06-13

New Features

VAD compensation

Configurable via VADParams Pass vad_params into initialize(...) Environment & analyzer tags Added env and vad_analyzer metadata fields to register_call

Usage

from pipecat.audio.vad.vad_analyzer import VADParams
from connexity.metrics.pipecat import ConnexityTwilioObserver

vad_params = VADParams(
    confidence=0.5,
    min_volume=0.6,
    start_secs=0.2,
    stop_secs=0.8,
)

observer = ConnexityTwilioObserver()
await observer.initialize(
    agent_id="YOUR_AGENT_ID",
    api_key="YOUR_CONNEXITY_API_KEY",
    sid=call_sid,
    phone_call_provider="twilio",
    user_phone_number=from_number,
    agent_phone_number=to_number,
    twilio_account_sid="TWILIO_SID",
    twilio_auth_token="TWILIO_TOKEN",
    voice_provider="11labs",
    llm_provider="openai",
    llm_model="gpt-4o",
    call_type="inbound",
    transcriber="deepgram",
    vad_params=vad_params,
    env="development",          # or "production"
    vad_analyzer="silero",      # your chosen VAD engine name
)

pipeline.register_observer(observer)

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

connexity-0.0.8.6.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

connexity-0.0.8.6-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file connexity-0.0.8.6.tar.gz.

File metadata

  • Download URL: connexity-0.0.8.6.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for connexity-0.0.8.6.tar.gz
Algorithm Hash digest
SHA256 66580629b03aeb0f8ce1f70f4d6320aad9df588938731deaf5561e9f5495f5a1
MD5 6d070aad83487dd9e9d0ad6ce50d096d
BLAKE2b-256 95391e79827ed4477ae0ef0d4f350f801bf555a258fa6d3c37299057ade0df47

See more details on using hashes here.

File details

Details for the file connexity-0.0.8.6-py3-none-any.whl.

File metadata

  • Download URL: connexity-0.0.8.6-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for connexity-0.0.8.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8e29f9c694551be1b6a564f9d6e19aa48c57c63e4024f9205f057dc52c8deee2
MD5 baad5119e504b21861755e319cdfc6cf
BLAKE2b-256 8461abeb7193f244aae51210f39e57240d51616a97fe66c4b9192fd269868e72

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