Turn-level metrics per call
How can we get turn-by-turn metrics for each call (e.g., latency for STT, LLM, TTS, time to first byte, etc.)?
I know Vapi has an integration with Langfuse, but how can we get turn-by-turn trace metrics in Langfuse when connecting to Vapi?
Currently, Vapi doesn't seem to report detailed traces to langfuse (such as a detailed breakdown for each turn, such as STT latency, LLM latency/time to first token, TTS latency/time to first byte)
https://vapi.ai/community/m/1361884993697222846 -- this seems to be a pretty well-known issue, and im honestly surprised something as big as Vapi doesn't offer this (or at least make it clear how this is done)
I know Vapi has an integration with Langfuse, but how can we get turn-by-turn trace metrics in Langfuse when connecting to Vapi?
Currently, Vapi doesn't seem to report detailed traces to langfuse (such as a detailed breakdown for each turn, such as STT latency, LLM latency/time to first token, TTS latency/time to first byte)
https://vapi.ai/community/m/1361884993697222846 -- this seems to be a pretty well-known issue, and im honestly surprised something as big as Vapi doesn't offer this (or at least make it clear how this is done)
How can I get Turn latency logs via API? Seems that Logs API is deprecated. Example of data we're trying to get:
"Turn latency: 3304ms (transcriber: 166ms, endpointing: 201ms, kb: N/A, model: 2021ms, voice: 897ms)"
"Turn latency: 3304ms (transcriber: 166ms, endpointing: 201ms, kb: N/A, model: 2021ms, voice: 897ms)"