A Python client for Connexity API.
Project description
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)
CHANGELOG
v0.0.8.7 — 2025-06-20
Breaking Changes
- Removed built-in Twilio call recording
Recording is no longer performed by this package.
Action required: start your Twilio recording on the app side as soon as the WebSocket connection is established.
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
Project details
Release history Release notifications | RSS feed
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.7.tar.gz
(11.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file connexity-0.0.8.7.tar.gz.
File metadata
- Download URL: connexity-0.0.8.7.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
365721066a43d14a2f19805f75ab3ee9ff1a2f022716a4680a4a6a116b573558
|
|
| MD5 |
3d68e535bc57c37b9e66976f3af08fe3
|
|
| BLAKE2b-256 |
1617b51fe167c8814230bee1b277fe12d350aa8f2fcb433440cb6a00009648ae
|
File details
Details for the file connexity-0.0.8.7-py3-none-any.whl.
File metadata
- Download URL: connexity-0.0.8.7-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b96380572ad6bda2fc506bce012394a87b6c778d44c2fd202d869071f29214b
|
|
| MD5 |
139429e72b73a12b3283641edf4a7f41
|
|
| BLAKE2b-256 |
71a516bea86c29e4e86dec544bcbb5f5601e3d19f9c069c1a5e1a05cfc0e8458
|