We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 304395e commit 21ae305Copy full SHA for 21ae305
1 file changed
src/lib/storage/memories.ts
@@ -183,12 +183,6 @@ export const addEntries = async (entries: CreateMemoryEntry[]) => {
183
}
184
};
185
186
-/**
187
- * Given a list of candidate entries (e.g. freshly extracted from a document),
188
- * returns a Map from candidate index → the existing MemoryEntry that would be
189
- * overwritten if the candidate were saved. Uses the same matching logic as
190
- * addEntries: contentHash first, then answerKey fallback.
191
- */
192
export const findDuplicates = async (
193
candidates: Array<{ question: string; answer: string; category: string }>,
194
existing: MemoryEntry[],
0 commit comments