@digipair/skill-vespa 0.84.5 → 0.84.7

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/index.cjs.js CHANGED
@@ -48903,7 +48903,7 @@ let VespaService = class VespaService {
48903
48903
  const results = [];
48904
48904
  for (const document of documents){
48905
48905
  // eslint-disable-next-line no-control-regex
48906
- const content = document.content.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/g, '');
48906
+ const content = document.content.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g, '');
48907
48907
  const content_embedding = await modelEmbeddings.embedQuery(content);
48908
48908
  const response = await fetch(`${baseUrl}/document/v1/${namespace}/${collection}/docid/${document.uuid}`, {
48909
48909
  signal,
package/index.esm.js CHANGED
@@ -72686,14 +72686,14 @@ function indent(str, spaces) {
72686
72686
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
72687
72687
  // match is required
72688
72688
  if (!match) {
72689
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
72689
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
72690
72690
  v: nextMatch1
72691
72691
  };
72692
72692
  }
72693
72693
  var token = match.token, offset = match.offset;
72694
72694
  i1 += offset;
72695
72695
  if (token === " ") {
72696
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
72696
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
72697
72697
  }
72698
72698
  tokens1 = _to_consumable_array$1(tokens1).concat([
72699
72699
  token
@@ -72712,7 +72712,7 @@ function indent(str, spaces) {
72712
72712
  if (contextKeys.some(function(el) {
72713
72713
  return el.startsWith(name);
72714
72714
  })) {
72715
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
72715
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
72716
72716
  }
72717
72717
  if (dateTimeIdentifiers.some(function(el) {
72718
72718
  return el === name;
@@ -72731,9 +72731,9 @@ function indent(str, spaces) {
72731
72731
  if (dateTimeIdentifiers.some(function(el) {
72732
72732
  return el.startsWith(name);
72733
72733
  })) {
72734
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
72734
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
72735
72735
  }
72736
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
72736
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
72737
72737
  v: nextMatch1
72738
72738
  };
72739
72739
  };
@@ -76868,7 +76868,7 @@ let VespaService = class VespaService {
76868
76868
  const results = [];
76869
76869
  for (const document of documents){
76870
76870
  // eslint-disable-next-line no-control-regex
76871
- const content = document.content.replace(/[\x00-\x09\x0B\x0C\x0E-\x1F\x7F]/g, '');
76871
+ const content = document.content.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g, '');
76872
76872
  const content_embedding = await modelEmbeddings.embedQuery(content);
76873
76873
  const response = await fetch(`${baseUrl}/document/v1/${namespace}/${collection}/docid/${document.uuid}`, {
76874
76874
  signal,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-vespa",
3
- "version": "0.84.5",
3
+ "version": "0.84.7",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",