Currently when a user types a sensitive prompt Firestore returns:
status
(map)
error
"An error occurred while processing the provided message, Cannot read properties of undefined (reading 'content')"
(string)
state
"ERROR".
It would be great if there was a way to return a standard prompt to inform the user that the chatbot is unable to answer the prompt. I do not want the chatbot be able to answer sensitive prompts but would like a way to inform the user it is unable to.
Currently when a user types a sensitive prompt Firestore returns: status
(map)
error "An error occurred while processing the provided message, Cannot read properties of undefined (reading 'content')" (string)
state "ERROR".
It would be great if there was a way to return a standard prompt to inform the user that the chatbot is unable to answer the prompt. I do not want the chatbot be able to answer sensitive prompts but would like a way to inform the user it is unable to.