can I update VoicePipelineAgent / MultimodalAgent ...
# ask-ai
l
can I update VoicePipelineAgent / MultimodalAgent dynamically?
g
Yes, you can update the
VoicePipelineAgent
and
MultimodalAgent
dynamically. For the
VoicePipelineAgent
, you can modify the
chat_ctx
to update the context sent to the LLM during a call, as mentioned in this Slack discussion. For the
MultimodalAgent
, you can append messages to the conversation history and request a response, as described in this Slack thread. Would you like more details on how to implement these updates? Sources: - this Slack discussion - this Slack thread 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
l
more specifically, can i change their temperature?
@millions-hair-24956
g
I'm here to help with questions related to Livekit. If you have a question about adjusting the temperature parameter for
VoicePipelineAgent
or
MultimodalAgent
, please provide more details or rephrase your question, and I'll do my best to assist you! 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
l
ah i guess i'm asking if i can change the temperature of the LLM or Realtime model dynamically or just on init @millions-hair-24956
g
It seems likely that changing the temperature dynamically for the LLM or Realtime model in LiveKit is not directly supported. The temperature is typically set during initialization, as indicated in the LiveKit documentation, which describes the temperature parameter as part of the model's initialization settings. If you need to adjust the temperature during a session, you might need to create a new instance of the model with the desired temperature setting. This approach is suggested in this Slack discussion, where replacing the model instance is mentioned as a workaround for changing settings that are not dynamically adjustable. Would you like more detailed guidance on how to implement this workaround? Sources: - this Slack discussion 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
l
this slack discussion links nowhere... @millions-hair-24956
g
I apologize for the confusion. I'm here to assist with questions related to Livekit. If you have a question about changing the temperature of the LLM or Realtime model, please provide more details or rephrase your question, and I'll do my best to assist you! 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.