Skip to content

Commit f8f371a

Browse files
committed
bugfix: remove weighting on enriched chunk
1 parent 418a2aa commit f8f371a

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

clients/trieve-shopify-extension/app/auth.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,12 @@ export const validateTrieveAuth = async <S extends boolean = true>(
125125
console.error(e);
126126
throw e;
127127
});
128-
129128
const userCredentials =
130129
(await userCredentialsResponse.json()) as CreateApiUserResponse;
131130

132131
if (!userCredentials.api_key) {
133132
console.error(
134-
"SHopify secret key is not set",
133+
"Shopify secret key is not set",
135134
process.env.SHOPIFY_SECRET_KEY,
136135
);
137136
throw new Error(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"name": "enrich-content-block",
2+
"name": "Trieve Product Description Enrichment",
33
"welcome": "Welcome to the {{target}} extension!"
44
}

clients/trieve-shopify-extension/extensions/enrich-content-block/src/useChunkExtraContent.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ export const useChunkExtraContent = (productId: string | undefined) => {
8585
chunk_html: content,
8686
tracking_id: `${productId}-pdp-content`,
8787
upsert_by_tracking_id: true,
88-
weight: 100,
8988
group_tracking_ids: [productId],
9089
});
9190
setLoading(false);

0 commit comments

Comments
 (0)