Tips
Tips for building voice agents with the Line SDK.
Observability
Monitor your voice agents by tracking custom events and metrics. The Line SDK automatically captures these for analysis on the Cartesia platform.
Track Custom Events
Define and track custom events during your voice agent calls.
Log Metrics
Log metrics during the call to track performance or other characteristics of the call.
Using loguru
for Proper Logging
Configure loguru as your logger to see results in the UI and have logs captured:
Performance
Efficient Event Filtering
Filter events at the bridge level for better performance: