cartesia-line 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cartesia-line might be problematic. Click here for more details.
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/PKG-INFO +1 -1
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/README.md +1 -1
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/cartesia_line.egg-info/PKG-INFO +1 -1
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/voice_agent_app.py +1 -3
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/pyproject.toml +1 -1
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/LICENSE +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/cartesia_line.egg-info/SOURCES.txt +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/cartesia_line.egg-info/dependency_links.txt +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/cartesia_line.egg-info/requires.txt +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/cartesia_line.egg-info/top_level.txt +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/__init__.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/bridge.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/bus.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/call_request.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/events.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/harness.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/harness_types.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/nodes/__init__.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/nodes/base.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/nodes/conversation_context.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/nodes/reasoning.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/routes.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/tools/__init__.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/tools/system_tools.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/tools/tool_types.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/user_bridge.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/utils/__init__.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/utils/aio.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/utils/gemini_utils.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/utils/openai_utils.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/line/voice_agent_system.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/setup.cfg +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/tests/test_bridge.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/tests/test_bus.py +0 -0
- {cartesia_line-0.0.1 → cartesia_line-0.0.2}/tests/test_routes.py +0 -0
|
@@ -40,7 +40,7 @@ pip install cartesia-line
|
|
|
40
40
|
| **Basic chat** | [examples/basic_chat/](examples/basic_chat/) |
|
|
41
41
|
| **Form filling** | [examples/form-filling/](examples/form-filling/) |
|
|
42
42
|
| **Background reasoning** | [examples/sales_with_leads/](examples/sales_with_leads/) |
|
|
43
|
-
| **Support** | [examples/
|
|
43
|
+
| **Support** | [examples/personal_banking_handoffs/](examples/personal_banking_handoffs/) |
|
|
44
44
|
|
|
45
45
|
## Going Deeper
|
|
46
46
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
from datetime import datetime, timezone
|
|
2
2
|
import json
|
|
3
|
-
import logging
|
|
4
3
|
import os
|
|
5
4
|
from typing import Awaitable, Callable, Optional
|
|
6
5
|
from urllib.parse import urlencode
|
|
7
6
|
|
|
8
7
|
from dotenv import load_dotenv
|
|
9
8
|
from fastapi import FastAPI, HTTPException, Request, WebSocket, WebSocketDisconnect
|
|
9
|
+
from loguru import logger
|
|
10
10
|
import uvicorn
|
|
11
11
|
|
|
12
12
|
from line.call_request import CallRequest, PreCallResult
|
|
@@ -15,8 +15,6 @@ from line.voice_agent_system import VoiceAgentSystem
|
|
|
15
15
|
# Load environment variables from .env file
|
|
16
16
|
load_dotenv()
|
|
17
17
|
|
|
18
|
-
logger = logging.getLogger(__name__)
|
|
19
|
-
|
|
20
18
|
|
|
21
19
|
class VoiceAgentApp:
|
|
22
20
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|