adding in entity extraction layer with semantic search enabled

This commit is contained in:
Storme-bit
2026-04-17 06:23:41 -07:00
parent 06d7031e44
commit 1ed76e4d95

View File

@@ -10,7 +10,7 @@ function upsertEntity(name, type, notes = null, metadata = null) {
INSERT INTO entities (name, type, notes, metadata)
VALUES (?, ?, ?, ?)
ON CONFLICT(name, type) DO UPDATE SET
notes = excluded.notes,
notes = COALESCE(entities.notes, excluded.notes),
metadata = excluded.metadata,
updated_at = unixepoch()
`);