Update modules/langchain_assistant/voice_module.py
Browse files
modules/langchain_assistant/voice_module.py
CHANGED
|
@@ -28,7 +28,7 @@ def mount_voice_websocket(app):
|
|
| 28 |
print("🎙️ [CVISION CORE] Conexión de voz establecida con el cliente local.")
|
| 29 |
|
| 30 |
# Endpoint unificado de Deepgram para Agentes de Voz en Tiempo Real
|
| 31 |
-
uri = "
|
| 32 |
headers = {"Authorization": f"Token {DEEPGRAM_API_KEY}"}
|
| 33 |
|
| 34 |
async with aiohttp.ClientSession() as session:
|
|
|
|
| 28 |
print("🎙️ [CVISION CORE] Conexión de voz establecida con el cliente local.")
|
| 29 |
|
| 30 |
# Endpoint unificado de Deepgram para Agentes de Voz en Tiempo Real
|
| 31 |
+
uri = "https://api.deepgram.com/v1/listen?model=nova-2&language=es&smart_format=true"
|
| 32 |
headers = {"Authorization": f"Token {DEEPGRAM_API_KEY}"}
|
| 33 |
|
| 34 |
async with aiohttp.ClientSession() as session:
|