Skip to content

Commit

Permalink
chore: hybrid lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jan 13, 2025
1 parent 2df0789 commit 6aead63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic_router/routers/hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def fit(
Xq_s: List[SparseEmbedding] = []
for i in tqdm(range(0, len(X), batch_size), desc="Generating embeddings"):
emb_d = np.array(self.encoder(X[i : i + batch_size]))
# TODO JB: for some reason the sparse encoder is receiving a tuple
# TODO JB: for some reason the sparse encoder is receiving a tuple
# like `("Hello",)`
emb_s = self.sparse_encoder(X[i : i + batch_size])
Xq_d.extend(emb_d)
Expand Down

0 comments on commit 6aead63

Please sign in to comment.