@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 +15 -1
- package/dist/src/gen/state.d.ts +14 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +15 -1
package/src/gen/state.ts
CHANGED
|
@@ -10056,6 +10056,11 @@ export const state = {
|
|
|
10056
10056
|
"in": "query",
|
|
10057
10057
|
"description": "Provide the `meta.nextToken` value provided in the last API response to retrieve the next page of results",
|
|
10058
10058
|
"type": "string"
|
|
10059
|
+
},
|
|
10060
|
+
"name": {
|
|
10061
|
+
"in": "query",
|
|
10062
|
+
"type": "string",
|
|
10063
|
+
"description": "Filter all versions of an interface by name"
|
|
10059
10064
|
}
|
|
10060
10065
|
},
|
|
10061
10066
|
"response": {
|
|
@@ -10626,6 +10631,15 @@ export const state = {
|
|
|
10626
10631
|
}
|
|
10627
10632
|
},
|
|
10628
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
|
|
10629
10643
|
}
|
|
10630
10644
|
},
|
|
10631
10645
|
"description": "Configuration to use for indexing the file, will be stored in the file's metadata for reference.",
|
|
@@ -12443,7 +12457,7 @@ export const state = {
|
|
|
12443
12457
|
"title": "Botpress API",
|
|
12444
12458
|
"description": "API for Botpress Cloud",
|
|
12445
12459
|
"server": "https://api.botpress.cloud",
|
|
12446
|
-
"version": "0.
|
|
12460
|
+
"version": "0.51.0",
|
|
12447
12461
|
"prefix": "v1"
|
|
12448
12462
|
},
|
|
12449
12463
|
"errors": [
|