UNPKG

@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.

7 lines (6 loc) 292 B
export const isChunkingUnsupported = (fileType: string): boolean => { if (fileType.startsWith('image')) return true; if (fileType.startsWith('video')) return true; if (fileType.startsWith('audio')) return true; return false; // false doesn't mean supported, it means we don't know };