Initial Livekit support #6
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new integration between Xaibo agents and LiveKit voice assistants, along with supporting documentation, code, and configuration updates. The changes focus on enabling developers to create real-time conversational AI applications using Xaibo agents within the LiveKit framework. Key updates include the addition of integration-specific guides, reference documentation, and code modules.
Documentation Updates
docs/how-to/index.md
: Added a new "Integrations" section with a guide on using Xaibo agents in LiveKit voice assistants.docs/reference/index.md
: Added a new "Integration Reference" section with a detailed API reference for LiveKit integration.docs/how-to/integrations/livekit-voice-assistant.md
: Created a comprehensive guide for integrating Xaibo agents with LiveKit, including setup, configuration, and troubleshooting steps.docs/reference/integrations/livekit.md
: Added detailed API documentation for the LiveKit integration, covering classes, methods, and usage examples.Codebase Enhancements
src/xaibo/integrations/livekit/__init__.py
: Introduced theXaiboPlugin
class for seamless integration with LiveKit agents, along with supporting modules (XaiboAgentLoader
,XaiboLLM
,XaiboLLMStream
).Configuration Updates
pyproject.toml
: Added LiveKit integration dependencies and classifiers for Python versions and AI-related topics. [1] [2]src/xaibo/cli/__init__.py
: Updated CLI initialization to support LiveKit configuration and environment variable generation. [1] [2]Navigation Updates
mkdocs.yml
: Updated navigation to include links to the new LiveKit integration guide and reference documentation. [1] [2]