first pass at turn based conversation
This commit is contained in:
parent
d1118d375e
commit
518a0f2b53
40 changed files with 503 additions and 99 deletions
11
vocode/streaming/input_device/telephone_input.py
Normal file
11
vocode/streaming/input_device/telephone_input.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from vocode.streaming.input_device.base_input_device import (
|
||||
BaseInputDevice,
|
||||
)
|
||||
from vocode.streaming.models.audio_encoding import AudioEncoding
|
||||
|
||||
|
||||
class TelephoneInput(BaseInputDevice):
|
||||
def __init__(self):
|
||||
super().__init__(
|
||||
sampling_rate=8000, audio_encoding=AudioEncoding.MULAW, chunk_size=160
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue