how do i make thsi work? ``` googl...
# ask-ai
j
how do i make thsi work?
Copy code
google.LLM(
                    temperature=0.35,
                    model="gemini-2.0-flash-001",
                    tool_choice="auto",
                    http_options=google_types.HttpOptions(
                        timeout=10000
                    ),  # temp fix until default is updated in livekit
                ),
where do i import google_types?
t
Thanks for reaching out, Tyler. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To help you get started with importing
google_types
for use with
google.LLM
, you’ll want to bring it in from the
google.genai.types
module. Here’s a simple example to guide you:
Copy code
from google.genai.types import HttpOptions
This way, you’ll be able to use
HttpOptions
along with other related types smoothly in your code. If you have any questions or need further help, feel free to ask! Sources: livekit-plugins/livekit-plugins-google/livekit/plugins/google/__init__.py | Google Gemini LLM plugin guide | LiveKit Docs | plugins/google/README.md