Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 committed Aug 28, 2024
1 parent f843a8c commit 2ecae58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/functions/assembly/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function recommendProductByCart(

const normalizedVec = normalize(sumVec);

const cartProductIds = cart.items.map((item) => item.Product.id);
const cartProductIds = cart.items.map<string>((item) => item.Product.id);

const semanticSearchRes = collections.searchByVector(
consts.productNameCollection,
Expand Down

0 comments on commit 2ecae58

Please sign in to comment.