livekit-blingfire provides Python bindings for the BlingFire text processing library, specifically designed to integrate with livekit-agents. It offers efficient sentence splitting and tokenization capabilities, typically used to enhance the text processing pipeline within LiveKit's AI agents. The library is part of the broader LiveKit Agents ecosystem and sees releases that often align with major livekit-agents updates, ensuring compatibility and leveraging new features.
pip install livekit-blingfireVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to configure `livekit-agents` to use `BlingFireSentenceSplitter` as its default sentence splitter for LLM-related text processing. Once set, any `livekit.agents.llm` components that rely on sentence splitting will automatically use BlingFire.
Ensure your environment has necessary build tools (e.g., `build-essential` on Debian/Ubuntu, Xcode on macOS) if wheel installation fails.
For complex scenarios with multiple agents/plugins, consider designing your agents to explicitly pass splitter instances where needed, or manage separate processes for agents requiring distinct configurations.
Always install `livekit-blingfire` alongside a compatible version of `livekit-agents`. Use `pip install livekit-blingfire` to ensure dependencies are resolved correctly, or consult the `livekit-blingfire` `pyproject.toml` for the exact `livekit-agents` version range.