Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Chatbot with Gemini) Standard response to sensitive prompts. #448

Open
Fritswp opened this issue Apr 2, 2024 · 0 comments
Open

(Chatbot with Gemini) Standard response to sensitive prompts. #448

Fritswp opened this issue Apr 2, 2024 · 0 comments

Comments

@Fritswp
Copy link

Fritswp commented Apr 2, 2024

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.

@cabljac cabljac added the type: bug Something isn't working label Apr 18, 2024
@cabljac cabljac added type: feature request New feature or request and removed type: bug Something isn't working labels Aug 7, 2024
@pr-Mais pr-Mais added type: bug Something isn't working extension: firestore-genai-chatbot type: feature request New feature or request and removed type: feature request New feature or request type: bug Something isn't working labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants