I want the assistant volume zero and reset
# support
m
When i send message using control it stop working and doesn't generate the transcript anymore.Some without voice of assistant i want to make it work using text.Is this possible ?
@Shubham Bajaj
@Sahil
@Vapi
v
@Mayank Sharma I'm here to help! It sounds like you're experiencing an issue with message sending and transcript generation, and you'd like to switch to a text-based interaction without the assistant's voice. To assist you better, could you please provide more details about the control you are using to send messages? Additionally, are you looking to implement text-based interactions within a specific platform or application?
m
vapiRef.current.send({ type: 'control', control: 'mute-assistant' });
@Vapi this doesn't generate the transcript anymore but i still want to interact with assistant using text how can i achieve that ?
v
@Mayank Sharma Certainly! If you've muted the assistant's voice using the
mute-assistant
control and wish to continue interacting with the assistant using text, you can still send text-based messages to the assistant. The assistant should process these messages and provide responses in text form, even if the voice is muted. To interact with the assistant using text, you can send a message of type 'text' like this:
Copy code
javascript
vapiRef.current.send({ type: 'text', text: 'Your message here' });
Replace
'Your message here'
with the text you want to send to the assistant. The assistant should then process your text message and respond accordingly without using voice. The transcript should also be generated for these text interactions. If you're not seeing the transcript after sending text messages, there might be an issue with the system. In that case, please let me know, and we can look into it further.
@Mayank Sharma Absolutely, you can interact with VAPI using text if the voice functionality is not working or if you prefer text interactions. The system is designed to handle both voice and text inputs. If you're experiencing issues with the voice control and transcript generation, it might be due to a configuration setting or a temporary malfunction. To assist you further, could you please provide more details about the issue? For instance, are there any error messages, or did the system stop working after a specific event or change in settings? This information will help in diagnosing the problem and providing a solution. If you need immediate assistance, you can always reach out to support for more detailed troubleshooting.
You can continue this conversation by mentioning me in the message.
m
@Shubham Bajaj i guess earlier this was working
@Shubham Bajaj @Sahil using conversation-update event, conversation array is also not generating the transcript properly earlier it used to
looks like its broken again
Copy code
[
    {
        "role": "assistant",
        "content": "Hey!  What's up?"
    },
    {
        "role": "user",
        "content": "hey"
    }
]
@Shubham Bajaj if you look at this response first i said hey then it replied "Hey! What's up?" , the sequence are not working it should be in the end of array after user assistant object should come
c04a9b8d-c461-4ec5-af00-3ed9fe08d033 call id
s
@Mayank Sharma can you join today's discord OH?
m
@Shubham Bajaj yeah
s
check your DM, a dump is shared with you which displays sequence is correct.
ref
Copy code
"role": "user",
      "time": 1728569652951,
      "endTime": 1728569652951,
      "message": "hello",
      "secondsFromStart": 20.02
    },
    {
      "role": "bot",
      "time": 1728569653482.999,
      "source": "model",
      "endTime": 1728569695693,
      "message": "What's up with you? Hey!  What's on your mind?",
      "duration": 2450.0009765625,
      "secondsFromStart": 20.199999
    },
    {
      "role": "user",
      "time": 1728569696667,
      "endTime": 1728569696667,
      "message": "hey",
      "secondsFromStart": 63.736
    },
    {
      "role": "bot",
      "time": 1728569823272.99,
      "source": "model",
      "endTime": 1728569824743,
      "message": "Hey!  What's up?",
      "duration": 1400,
      "secondsFromStart": 189.98999
    },
    {
      "role": "user",
      "time": 1728569825959,
      "endTime": 1728569825959,
      "message": "hey",
      "secondsFromStart": 193.028
    }
m
@Shubham Bajaj now its work fine another which i mentioned is assistant doesn't generate the transcript when its muted, but i some want to make the assistant sound off and still it should work
s
try generating empty response.
m
@Shubham Bajaj not empty response, i mean it should listen and reply using text which is transcript basically
@Shubham Bajaj can you elaborate more
s
if assistant is muted then user input won't go to the vapi server and then yeah no transcript
m
ok
then how to make the assistant sound off
s
yup you can generate empty responses.
m
how
i mean it will listen, but the sound is off i wont listen to audio
for example : assistant can generate the transcript,it can listen too but when it speaks i want the sound off
@Shubham Bajaj
is this possible ?
is there a method in daily
s
which user sound you want to be off?
m
assistant sound
i mean volume to zero and then reset
s
yeah make sense.
m
@Shubham Bajaj solution?
s
did you tried setting to volume to zero? because your solutions requires hack!!
m
@Shubham Bajaj how to set volument to zero
tell me the hack i will check
s
by volume zero i mean your model output won't be voiced out to user which you wanted.
Also i suggest create a new ticket please.
m
ok