Skip to content

Commit 9b98edd

Browse files
authored
UI. Fix min relevance parameter (#26)
* Fix min relevance parameter on UI
1 parent b29dbc7 commit 9b98edd

File tree

1 file changed

+1
-1
lines changed
  • src/KernelMemory.Ecommerce.Sample.Api/wwwroot

1 file changed

+1
-1
lines changed

src/KernelMemory.Ecommerce.Sample.Api/wwwroot/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ <h3>${product.name}</h3>
529529
const products = JSON.parse(result);
530530
const transformedResult = {
531531
noResult: false,
532-
minRelevance: 0.8,
532+
minRelevance: products.MinRelevance,
533533
relevantSourcesCount: products.length,
534534
products: products.map(product => ({
535535
id: product.Id,

0 commit comments

Comments
 (0)