UNPKG

recallrai

Version:

Official Node.js SDK for RecallrAI - Revolutionary contextual memory system that enables AI assistants to form meaningful connections between conversations, just like human memory.

44 lines (43 loc) 1.11 kB
export declare enum MergeConflictStatus { PENDING = "PENDING", IN_QUEUE = "IN_QUEUE", RESOLVING = "RESOLVING", RESOLVED = "RESOLVED", FAILED = "FAILED" } export interface MergeConflictConflictingMemory { memoryId: string; content: string; reason: string; eventDateStart: Date; eventDateEnd: Date; createdAt: Date; } export interface MergeConflictNewMemory { memoryId: string; content: string; eventDateStart: Date; eventDateEnd: Date; createdAt: Date; } export interface MergeConflictQuestion { question: string; options: string[]; } export interface MergeConflictAnswer { question: string; answer: string; message?: string; } export interface MergeConflictModel { id: string; projectUserSessionId: string; proposedMemoryContent?: string; newMemories?: MergeConflictNewMemory[]; conflictingMemories: MergeConflictConflictingMemory[]; clarifyingQuestions: MergeConflictQuestion[]; status: MergeConflictStatus; resolutionData?: Record<string, any>; createdAt: Date; resolvedAt?: Date; }