@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
18 lines (17 loc) • 1.18 kB
text/typescript
export const GOOGLE_AI_BLOCK_REASON = {
BLOCKLIST:
'Your content contains prohibited terms. Please review and modify your input, then try again.',
IMAGE_SAFETY:
'The generated image was blocked for safety reasons. Please try modifying your image request.',
LANGUAGE:
'The language you are using is not supported. Please try again in English or another supported language.',
OTHER: 'The content was blocked for an unknown reason. Please try rephrasing your request.',
PROHIBITED_CONTENT:
'Your request may contain prohibited content. Please adjust your request to comply with the usage guidelines.',
RECITATION:
'Your content was blocked due to potential copyright concerns. Please try using original content or rephrase your request.',
SAFETY:
'Your content was blocked for safety policy reasons. Please adjust your request to avoid potentially harmful or inappropriate content.',
SPII: 'Your content may contain sensitive personally identifiable information (PII). To protect privacy, please remove any sensitive details and try again.',
default: 'Content blocked: {{blockReason}}. Please adjust your request and try again.',
} as const;