Skip to content

Commit

Permalink
id only (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiffman authored Apr 28, 2024
1 parent 469a274 commit c7c048a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/explore-prototype/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async function goMarkov() {
const sortedIndices = similarities
.map((_, i) => i)
.sort((a, b) => similarities[b] - similarities[a]);
const topResults = sortedIndices.map((i) => embeddings[i]);
const topResults = sortedIndices.map((i) => embeddings[i].id);
console.log(topResults);
}

Expand Down

0 comments on commit c7c048a

Please sign in to comment.