Skip to content

Commit

Permalink
🔧 print more info
Browse files Browse the repository at this point in the history
  • Loading branch information
mickm3n committed Jul 29, 2024
1 parent 72d69f0 commit 3beffb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/find_similar_posts.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __init__(self, embedding_provider):

def get_embedding(self, key, text: str, model: str = EMBEDDING_MODEL):
if (key, model) not in self.embedding_cache.keys():
print(f"Generating embedding for {key} with model {model}")
self.embedding_cache[(key, model)] = self.embedding_provider.get_embedding(
text, model
)
Expand Down

0 comments on commit 3beffb6

Please sign in to comment.