@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/dist/index.js
CHANGED
|
@@ -292368,6 +292368,15 @@ var state = {
|
|
|
292368
292368
|
}
|
|
292369
292369
|
},
|
|
292370
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
|
|
292371
292380
|
}
|
|
292372
292381
|
},
|
|
292373
292382
|
"description": "Configuration to use for indexing the file, will be stored in the file's metadata for reference.",
|
|
@@ -294185,7 +294194,7 @@ var state = {
|
|
|
294185
294194
|
"title": "Botpress API",
|
|
294186
294195
|
"description": "API for Botpress Cloud",
|
|
294187
294196
|
"server": "https://api.botpress.cloud",
|
|
294188
|
-
"version": "0.
|
|
294197
|
+
"version": "0.51.0",
|
|
294189
294198
|
"prefix": "v1"
|
|
294190
294199
|
},
|
|
294191
294200
|
"errors": [
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -9349,6 +9349,15 @@ export declare const state: {
|
|
|
9349
9349
|
};
|
|
9350
9350
|
additionalProperties: false;
|
|
9351
9351
|
};
|
|
9352
|
+
vision: {
|
|
9353
|
+
type: "object";
|
|
9354
|
+
properties: {
|
|
9355
|
+
transcribePages: {
|
|
9356
|
+
description: string;
|
|
9357
|
+
};
|
|
9358
|
+
};
|
|
9359
|
+
additionalProperties: false;
|
|
9360
|
+
};
|
|
9352
9361
|
};
|
|
9353
9362
|
description: string;
|
|
9354
9363
|
additionalProperties: false;
|