would it be a good idea to preload the turn detect...
# ask-ai
i
would it be a good idea to preload the turn detection EnglishModel at the worker level instead of per call in the agent? def prewarm(proc: JobProcess): proc.userdata["vad"] = VAD.load(...) # Add this line: proc.userdata["turn_detector"] = EnglishModel()
t
Thanks for reaching out, Ed. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!