GitHub 0

ElevenLabs

Previous Next

Wrap the @elevenlabs/client SDK in a ConversationAdapter.

TODO: Recipe content pending.

This recipe will show how to wrap @elevenlabs/client in a ConversationAdapter so that ElevenLabs Agents plug into ConversationBar without modifying any sv11 code.

Planned content:

  • Installing @elevenlabs/client
  • A factory function that maps ElevenLabs session events to the ConversationConfig callbacks (onConnect, onDisconnect, onMessage, onError, onStatusChange, onModeChange)
  • Public vs private agent auth (signed URLs vs bare agentId)
  • Usage with <ConversationBar {adapter} />

Until this page is filled in, see Providers for the interface definitions and Custom for the general pattern.