Given the following langfuse attachement with a tr...
# ask-ai
l
Given the following langfuse attachement with a trace created based on the example at https://github.com/livekit/agents/blob/main/examples/voice_agents/langfuse_trace.py, is it correct to have the
llm_request
at the same level as
job_entrypoint
?
t
Thanks for reaching out, vlad. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out with your question! Just to clarify, the
llm_request
span isn’t meant to be on the same level as
job_entrypoint
. Instead, it’s a nested, more detailed span that happens during the agent’s session, specifically when the LLM inference is running. Think of
job_entrypoint
as the main starting point or root of the job, and the
llm_request
as a specific telemetry event happening within that overall process. I hope this helps clear things up! If you have any more questions, feel free to ask. Sources: Logs, metrics, and telemetry | LiveKit docs | Job lifecycle | LiveKit Docs | livekit-agents/livekit/agents/telemetry/utils.py