Widget Chat API System Prompt Overriding
Question 1: Do the Widget Chat APIs support a system prompt field?
How can we add a prompt in the Widget Chat API to tell the assistant it’s text chat, not a voice call?
Scenario
We want to reuse the same assistant prompt for both voice assistants and widget chatbot (through calling the Widget Chat API):
Right now the assistant replies as if it’s in a voice call. We want to add an override (or maybe additional is better) system prompt to make sure it knows this is text chat.
Question 2: We’re also considering Pass Dynamic Variables so the assistant can detect the mode in text chat. For example:
So the question is: if we only modify the prompt in the front-end GUI for the voice assistant, how can we do the same variable substitution so the voice assistant knows it’s in voice mode?
How can we add a prompt in the Widget Chat API to tell the assistant it’s text chat, not a voice call?
Scenario
We want to reuse the same assistant prompt for both voice assistants and widget chatbot (through calling the Widget Chat API):
Right now the assistant replies as if it’s in a voice call. We want to add an override (or maybe additional is better) system prompt to make sure it knows this is text chat.
Question 2: We’re also considering Pass Dynamic Variables so the assistant can detect the mode in text chat. For example:
So the question is: if we only modify the prompt in the front-end GUI for the voice assistant, how can we do the same variable substitution so the voice assistant knows it’s in voice mode?