fixed notes vectorize

This commit is contained in:
Dhravya 2024-04-13 21:29:11 -07:00
parent 8752bcca28
commit 3ae0c13de9

View file

@ -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,
}),
}),