@dataclass class NoiseCancellationOptions: mod...
# ask-ai
b
@dataclass class NoiseCancellationOptions: module_id: str options: dict[str, Any] what can we give in the options for noise cancellation ?
t
Thanks for reaching out, Mohammed. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The
options
dictionary in
NoiseCancellationOptions
allows you to pass module-specific configuration options for noise cancellation in LiveKit. However, the specific keys and values you can use in the
options
dictionary depend on the noise cancellation module you are using (for example,
NC
,
BVC
, or
BVCTelephony
). The documentation indicates that
options
is a flexible dictionary intended to pass custom parameters to the audio filter module, but it does not enumerate the standard keys or values supported for each model. In practice, the
options
dictionary is typically used to provide module-specific settings, and its contents should match the schema expected by the selected module. If you are using a particular model and have specific configuration needs (such as aggressiveness, extra filtering, etc.), you would set those as fields in this dictionary as required by that module’s documentation or interface. If you're looking for more details about available keys and values for a specific noise cancellation module, please specify which module you intend to use, or consult the implementation documentation for that module to identify the supported options. Sources: AI noise cancellation | LiveKit Docs | VPAOptions | LiveKit Agents | MultimodalAgent | LiveKit Agents | Runtime/Scripts/Proto/AudioFrame.cs | packages/livekit-rtc/src/proto/audio_frame_pb.ts | livekit-rtc/livekit/rtc/audio_stream.py
b
for BVC, what can be the options sent?
t
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!