@botpress/api 0.50.5 → 0.52.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/src/gen/state.ts CHANGED
@@ -6447,7 +6447,8 @@ export const state = {
6447
6447
  "type": "string",
6448
6448
  "enum": [
6449
6449
  "v1",
6450
- "v2"
6450
+ "v2",
6451
+ "v3"
6451
6452
  ]
6452
6453
  },
6453
6454
  "plan": {
@@ -6628,7 +6629,8 @@ export const state = {
6628
6629
  "type": "string",
6629
6630
  "enum": [
6630
6631
  "v1",
6631
- "v2"
6632
+ "v2",
6633
+ "v3"
6632
6634
  ]
6633
6635
  },
6634
6636
  "plan": {
@@ -7142,7 +7144,8 @@ export const state = {
7142
7144
  "type": "string",
7143
7145
  "enum": [
7144
7146
  "v1",
7145
- "v2"
7147
+ "v2",
7148
+ "v3"
7146
7149
  ]
7147
7150
  },
7148
7151
  "plan": {
@@ -7311,7 +7314,8 @@ export const state = {
7311
7314
  "type": "string",
7312
7315
  "enum": [
7313
7316
  "v1",
7314
- "v2"
7317
+ "v2",
7318
+ "v3"
7315
7319
  ]
7316
7320
  },
7317
7321
  "plan": {
@@ -10631,6 +10635,15 @@ export const state = {
10631
10635
  }
10632
10636
  },
10633
10637
  "additionalProperties": false
10638
+ },
10639
+ "vision": {
10640
+ "type": "object",
10641
+ "properties": {
10642
+ "transcribePages": {
10643
+ "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."
10644
+ }
10645
+ },
10646
+ "additionalProperties": false
10634
10647
  }
10635
10648
  },
10636
10649
  "description": "Configuration to use for indexing the file, will be stored in the file's metadata for reference.",
@@ -12448,7 +12461,7 @@ export const state = {
12448
12461
  "title": "Botpress API",
12449
12462
  "description": "API for Botpress Cloud",
12450
12463
  "server": "https://api.botpress.cloud",
12451
- "version": "0.50.5",
12464
+ "version": "0.52.0",
12452
12465
  "prefix": "v1"
12453
12466
  },
12454
12467
  "errors": [
@@ -14195,7 +14208,8 @@ export const state = {
14195
14208
  "type": "string",
14196
14209
  "enum": [
14197
14210
  "v1",
14198
- "v2"
14211
+ "v2",
14212
+ "v3"
14199
14213
  ]
14200
14214
  },
14201
14215
  "plan": {