📝 [SDK] Efficient implementation of text chat without official widget
Hi Vapi team,
I am implementing text chat using directly the API (without the official widget). Currently:
Thank you!
I am implementing text chat using directly the API (without the official widget). Currently:
- I start a session with vapi.start().
- I mute the user's microphone with vapi.setMuted(true)
- However, the agent keeps sending audio (we can't unmute it).
- Is there a more efficient method to start text-only sessions that does not consume voice resources (WebRTC, microphone, etc.)?
- Is there a way to completely mute the agent audio for a purely text-only experience?
- How are credits/resources accounted for when using the API in text vs. voice mode?
Thank you!