Skip to content

The open alternative to Salesforce, designed for AI.

252 B
Raw Blame
import { CHAT_REFERENCE_BODY_PATTERN } from '@/ai/constants/ChatReferenceBodyPattern';

export const CHAT_REFERENCE_MALFORMED_REGEX = new RegExp(
  `\\[\\[(?:record|records|object|field|view|role|app):(${CHAT_REFERENCE_BODY_PATTERN})\\]\\]`,
  'g',
);