@botpress/api 0.50.4 → 0.51.0

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
@@ -291793,6 +291793,11 @@ var state = {
291793
291793
  "in": "query",
291794
291794
  "description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
291795
291795
  "type": "string"
291796
+ },
291797
+ "name": {
291798
+ "in": "query",
291799
+ "type": "string",
291800
+ "description": "Filter all versions of an interface by name"
291796
291801
  }
291797
291802
  },
291798
291803
  "response": {
@@ -292363,6 +292368,15 @@ var state = {
292363
292368
  }
292364
292369
  },
292365
292370
  "additionalProperties": false
292371
+ },
292372
+ "vision": {
292373
+ "type": "object",
292374
+ "properties": {
292375
+ "transcribePages": {
292376
+ "description": "(Team/Enterprise plan only, charged as AI Spend) For PDF files, set this option to `true` or pass an array with specific page numbers to use a vision-enabled LLM to transcribe each page of the PDF as standalone vectors and index them.\n\nThis feature is useful when a PDF file contains custom designs or layouts, or when your document has many infographics, which require visual processing in order to index the file effectively, as the default text-based indexing may not be enough to allow your bot to correctly understand the content in your PDFs.\n\nNotes:\n- This feature is only available in Team and Enterprise plans.\n- Enabling this feature will incurr in AI Spend cost to use a vision-enabled LLM to index the PDF pages.\n- This is limited to a maximum of 30 pages of the PDF. If the file has more pages then the rest of the pages will NOT be transcribed using this vision feature, and will be processed using the default text-based indexing instead. If you need to transcribe the entire file using vision, please split it into smaller files.\n- Pages that are vision-transcribed will not be processed by the default text-based indexing to avoid duplicate content in the index.\n- This feature is only available for PDF files. If the file isn't a PDF, this setting will be ignored and no AI Spend will be incurred."
292377
+ }
292378
+ },
292379
+ "additionalProperties": false
292366
292380
  }
292367
292381
  },
292368
292382
  "description": "Configuration to use for indexing the file, will be stored in the file's metadata for reference.",
@@ -294180,7 +294194,7 @@ var state = {
294180
294194
  "title": "Botpress API",
294181
294195
  "description": "API for Botpress Cloud",
294182
294196
  "server": "https://api.botpress.cloud",
294183
- "version": "0.50.4",
294197
+ "version": "0.51.0",
294184
294198
  "prefix": "v1"
294185
294199
  },
294186
294200
  "errors": [
@@ -8854,6 +8854,11 @@ export declare const state: {
8854
8854
  description: string;
8855
8855
  type: "string";
8856
8856
  };
8857
+ name: {
8858
+ in: "query";
8859
+ type: "string";
8860
+ description: string;
8861
+ };
8857
8862
  };
8858
8863
  response: {
8859
8864
  description: string;
@@ -9344,6 +9349,15 @@ export declare const state: {
9344
9349
  };
9345
9350
  additionalProperties: false;
9346
9351
  };
9352
+ vision: {
9353
+ type: "object";
9354
+ properties: {
9355
+ transcribePages: {
9356
+ description: string;
9357
+ };
9358
+ };
9359
+ additionalProperties: false;
9360
+ };
9347
9361
  };
9348
9362
  description: string;
9349
9363
  additionalProperties: false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.50.4",
3
+ "version": "0.51.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {