From a30779453bae9188ac3721bd354034b8fedf659f Mon Sep 17 00:00:00 2001 From: jcollier Date: Mon, 23 Oct 2023 14:46:42 +0100 Subject: [PATCH] fix embeddings --- scripts/generate-related/compute-embeddings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-related/compute-embeddings.js b/scripts/generate-related/compute-embeddings.js index 654b7a1675..9bd5100c16 100644 --- a/scripts/generate-related/compute-embeddings.js +++ b/scripts/generate-related/compute-embeddings.js @@ -56,7 +56,7 @@ const summarisePost = async (post) => { for (const path of paths) { const file = path.split("/").pop(); - const filename = `scripts/generate-related/data/${file}`; + const filename = `./scripts/generate-related/data/${file}`; if (!fs.existsSync(filename)) { await summarisePost(path).then((embedding) => {