is Text input possible
# support
s
Is there a way currently for a user to type a response if they wish to? or even to upload a document from the user side? (similar to what the traditional chatGPT interface looks like)
v
Hi @Sage, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Connecting Your Custom LLM to Vapi: A Comprehensive Guide]() * [Inbound Calling]() * [Background Messaging]() * [Dashboard]() -----------------------------
### Answer Currently, Vapi primarily focuses on voice interactions, handling both Speech-to-Text (STT) and Text-to-Speech (TTS) functionalities, geared towards creating voice AI applications [(1)]() . The documentation does not explicitly mention support for text input through typing or document uploads directly via the user interface like a traditional chat interface. For developers looking to integrate Vapi with text-based inputs, it may require custom development on their end to handle such interactions before interfacing with Vapi for voice capabilities. Vapi does allow for sending system messages programmatically, which could potentially be adapted for handling text inputs [(2)]() . If your application requires direct text input or document handling, you might need to integrate these features outside of Vapi's primary voice functionalities. For detailed advice and potential workarounds, you might want to explore Vapi's community or support channels for more tailored solutions or upcoming feature announcements regarding text input capabilities.
Got it. Tagging @User for additional help.
s
Can you elaborate a little?
s
Sure, so I have a project built where I am asking for some pretty complex answers from a user. Speech at the moment is not the best way for them to answer. There may be long answers required or complex answers required. But if they can answer with, here... I made you a document that covers this... that is one way. That gets us into RAG which may be too challenging or outside of scope. But at least if we can pop open a window, or alternatively just type in a paragraph--for example some sentences need construction time in the mind, and thus we avoid the confusing transition during what was a pause being interpreted as a break and now handing the baton. Sometimes a well-thoughtout typed paragraph is superior
s
In Web SDK, you can do it via .send() method. You can read the docs https://docs.vapi.ai/sdk/web
s
Thank you. It’s a good start. If I understand your answer, it seems like custom code is the only way.
s
Yeah.
7 Views