Im using livekit-plugins-openai 1.2.4 but ```from ...
# ask-ai
c
Im using livekit-plugins-openai 1.2.4 but
Copy code
from livekit.plugins.openai.realtime import InputTranscriptionOptions
is not able to find InputTranscriptionOptions
t
Thanks for reaching out, Nick. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Just a quick heads-up: the term
InputTranscriptionOptions
isn’t actually part of the
livekit-plugins-openai
library version 1.2.4. Instead, you’ll want to use
InputAudioTranscription
. Here’s a simple example to help you out:
Copy code
from openai.types.beta.realtime import InputAudioTranscription

model = RealtimeModel(
    input_audio_transcription=InputAudioTranscription(model="gpt-4o-mini-transcribe")
)
If you have any more questions or need a hand with anything else, just let me know—I’m here to help! Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/tts.py | plugins/openai/src/realtime/realtime_model.ts