Skip to content

Commit

Permalink
fix embeddings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhcoll committed Oct 23, 2023
1 parent 56a17d4 commit a307794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-related/compute-embeddings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit a307794

Please sign in to comment.