Change default LLM model from OpenAI to Google Gemma (#92)
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ class Assistant(Agent):
|
|||||||
super().__init__(
|
super().__init__(
|
||||||
# A Large Language Model (LLM) is your agent's brain, processing user input and generating a response
|
# A Large Language Model (LLM) is your agent's brain, processing user input and generating a response
|
||||||
# See all available models at https://docs.livekit.io/agents/models/llm/
|
# See all available models at https://docs.livekit.io/agents/models/llm/
|
||||||
llm=inference.LLM(model="openai/gpt-5.2-chat-latest"),
|
llm=inference.LLM(model="google/gemma-4-31b-it"),
|
||||||
# To use a realtime model instead of a voice pipeline, replace the LLM
|
# To use a realtime model instead of a voice pipeline, replace the LLM
|
||||||
# with a RealtimeModel and remove the STT/TTS from the AgentSession
|
# with a RealtimeModel and remove the STT/TTS from the AgentSession
|
||||||
# (Note: This is for the OpenAI Realtime API. For other providers, see https://docs.livekit.io/agents/models/realtime/)
|
# (Note: This is for the OpenAI Realtime API. For other providers, see https://docs.livekit.io/agents/models/realtime/)
|
||||||
|
|||||||
Reference in New Issue
Block a user