mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-05-10 04:00:11 +00:00
fixed notes vectorize
This commit is contained in:
parent
8752bcca28
commit
3ae0c13de9
1 changed files with 3 additions and 1 deletions
|
|
@ -259,6 +259,8 @@ export async function addMemory(
|
|||
return null;
|
||||
}
|
||||
|
||||
console.log(content);
|
||||
|
||||
console.log({ ...content, user: user.email });
|
||||
|
||||
// Add to vectorDB
|
||||
|
|
@ -270,8 +272,8 @@ export async function addMemory(
|
|||
},
|
||||
body: JSON.stringify({
|
||||
pageContent: content.content,
|
||||
title: content.title,
|
||||
url: content.url,
|
||||
spaces,
|
||||
user: user.email,
|
||||
}),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue