Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

593 B
Raw Blame
export const FTS_SEARCH_DOCUMENT_ENTITIES = [
  'agents',
  'topics',
  'files',
  'knowledgeBases',
  'userMemories',
  'chatGroups',
  'memoryContexts',
  'memoryPreferences',
  'memoryActivities',
  'memoryIdentities',
  'memoryExperiences',
  'personaDocuments',
  'documents',
  'messages',
] as const;

export type FtsSearchDocumentEntity = (typeof FTS_SEARCH_DOCUMENT_ENTITIES)[number];

export type FtsSearchReindexEntityStatus = 'pending' | 'backfilling' | 'completed';

export type FtsSearchReindexRunStatus =
  'backfilling' | 'ready_for_incremental_sync' | 'completed' | 'failed';