@botpress/api 0.50.5 → 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 +10 -1
- package/dist/src/gen/state.d.ts +9 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +10 -1
package/src/gen/state.ts
CHANGED
|
@@ -10631,6 +10631,15 @@ export const state = {
|
|
|
10631
10631
|
}
|
|
10632
10632
|
},
|
|
10633
10633
|
"additionalProperties": false
|
|
10634
|
+
},
|
|
10635
|
+
"vision": {
|
|
10636
|
+
"type": "object",
|
|
10637
|
+
"properties": {
|
|
10638
|
+
"transcribePages": {
|
|
10639
|
+
"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."
|
|
10640
|
+
}
|
|
10641
|
+
},
|
|
10642
|
+
"additionalProperties": false
|
|
10634
10643
|
}
|
|
10635
10644
|
},
|
|
10636
10645
|
"description": "Configuration to use for indexing the file, will be stored in the file's metadata for reference.",
|
|
@@ -12448,7 +12457,7 @@ export const state = {
|
|
|
12448
12457
|
"title": "Botpress API",
|
|
12449
12458
|
"description": "API for Botpress Cloud",
|
|
12450
12459
|
"server": "https://api.botpress.cloud",
|
|
12451
|
-
"version": "0.
|
|
12460
|
+
"version": "0.51.0",
|
|
12452
12461
|
"prefix": "v1"
|
|
12453
12462
|
},
|
|
12454
12463
|
"errors": [
|