#I'm trying to use `@11labs/client` to force a user message into a `Conversation`. That would make i

1 messages · Page 1 of 1 (latest)

meager pierBOT
#
AI-generated Answer for andreaazzini_24697

Currently, ElevenLabs Conversational AI does not support adding custom context or sending user messages programmatically directly through the web dashboard or API. The system is designed to handle real-time voice interactions, and there isn't a built-in feature to inject text messages into a conversation session.

If you have created a custom interface using the SDK, one workaround is to convert the text message into audio chunks and send them via the websocket protocol. This approach allows you to simulate user input without speaking, although it requires additional handling on your part to convert text to audio.

The team is looking into more comprehensive options for pre-conversation context in the future, which might include features that could help with your debugging needs.

shell bloom
#

Ok sounds good. Can you show me how that workaround could work in practice?