cardus 0.0.82 → 0.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -219,7 +219,7 @@ class IntegrationManager {
219
219
  let taric = null;
220
220
  try {
221
221
  if (detail.bulto.nombre_producto) {
222
- taric = yield llmAPIService.getTaricCode('chatgpt', detail.bulto.nombre_producto);
222
+ taric = yield llmAPIService.getTaricCodeFromContentDescription(detail.bulto.nombre_producto);
223
223
  }
224
224
  }
225
225
  catch (e) {
package/index.ts CHANGED
@@ -309,8 +309,7 @@ export class IntegrationManager {
309
309
 
310
310
  try {
311
311
  if (detail.bulto.nombre_producto) {
312
- taric = await llmAPIService.getTaricCode(
313
- 'chatgpt',
312
+ taric = await llmAPIService.getTaricCodeFromContentDescription(
314
313
  detail.bulto.nombre_producto
315
314
  );
316
315
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/types/index.ts CHANGED
@@ -243,8 +243,7 @@ export type IntegrationsService = {
243
243
  };
244
244
 
245
245
  export type LlmAPIService = {
246
- getTaricCode: (
247
- provider: string,
246
+ getTaricCodeFromContentDescription: (
248
247
  producto: string
249
248
  ) => Promise<string | undefined>;
250
249
  };