Skip to content

Commit

Permalink
Update console.log of embedding.
Browse files Browse the repository at this point in the history
Part of #646.
  • Loading branch information
jkomoros committed Oct 29, 2023
1 parent 6dee860 commit e8a52f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/embeddings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const processCard = async (card : Card) : Promise<void> => {
const embedding = await embeddingForContent(text);

//TODO: stop logging
console.log(`Embedding: ${text}\n${embedding}`);
console.log(`Embedding: ${text}\n${JSON.stringify(embedding)}`);
//TODO: also insert into HSNW index.

const info : EmbeddingInfo = {
Expand Down

0 comments on commit e8a52f2

Please sign in to comment.