GoogleCloudPlatform / GoogleCloudPlatform/firebase-extensions

(Chatbot with Gemini) Standard response to sensitive prompts.

Open
#448 1 comment 1 reaction 0 assignees View on GitHub
extension: firestore-genai-chatbot type: bug
Dominant language
TypeScript
Stars
124
Forks
67
Avg merge
5d 5h
Merged PRs (30d)
5

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.