@botpress/api 0.73.0 → 0.75.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 +66 -6
- package/dist/src/gen/state.d.ts +57 -1
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +66 -6
package/dist/index.js
CHANGED
|
@@ -293733,6 +293733,25 @@ var state = {
|
|
|
293733
293733
|
"browser"
|
|
293734
293734
|
],
|
|
293735
293735
|
"additionalProperties": false
|
|
293736
|
+
},
|
|
293737
|
+
"icon": {
|
|
293738
|
+
"type": "string",
|
|
293739
|
+
"description": "Base64 encoded svg of the plugin icon. This icon is global to the plugin each versions will be updated when this changes."
|
|
293740
|
+
},
|
|
293741
|
+
"readme": {
|
|
293742
|
+
"type": "string",
|
|
293743
|
+
"description": "Base64 encoded markdown of the plugin readme. The readme is specific to each plugin versions."
|
|
293744
|
+
},
|
|
293745
|
+
"title": {
|
|
293746
|
+
"type": "string",
|
|
293747
|
+
"minLength": 1,
|
|
293748
|
+
"maxLength": 64,
|
|
293749
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
293750
|
+
},
|
|
293751
|
+
"description": {
|
|
293752
|
+
"type": "string",
|
|
293753
|
+
"maxLength": 256,
|
|
293754
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
293736
293755
|
}
|
|
293737
293756
|
},
|
|
293738
293757
|
"required": [
|
|
@@ -294100,6 +294119,25 @@ var state = {
|
|
|
294100
294119
|
}
|
|
294101
294120
|
},
|
|
294102
294121
|
"additionalProperties": false
|
|
294122
|
+
},
|
|
294123
|
+
"icon": {
|
|
294124
|
+
"type": "string",
|
|
294125
|
+
"description": "Base64 encoded svg of the plugin icon. This icon is global to the plugin each versions will be updated when this changes."
|
|
294126
|
+
},
|
|
294127
|
+
"readme": {
|
|
294128
|
+
"type": "string",
|
|
294129
|
+
"description": "Base64 encoded markdown of the plugin readme. The readme is specific to each plugin versions."
|
|
294130
|
+
},
|
|
294131
|
+
"title": {
|
|
294132
|
+
"type": "string",
|
|
294133
|
+
"minLength": 1,
|
|
294134
|
+
"maxLength": 64,
|
|
294135
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
294136
|
+
},
|
|
294137
|
+
"description": {
|
|
294138
|
+
"type": "string",
|
|
294139
|
+
"maxLength": 256,
|
|
294140
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
294103
294141
|
}
|
|
294104
294142
|
},
|
|
294105
294143
|
"title": "updatePluginBody",
|
|
@@ -294877,10 +294915,10 @@ var state = {
|
|
|
294877
294915
|
"type": "object",
|
|
294878
294916
|
"properties": {
|
|
294879
294917
|
"transcribePages": {
|
|
294880
|
-
"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 incur in AI Spend cost to use a vision-enabled LLM to index the PDF pages.\n- This is limited to a maximum of
|
|
294918
|
+
"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 incur in AI Spend cost to use a vision-enabled LLM to index the PDF pages.\n- This is limited to a maximum of 100 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."
|
|
294881
294919
|
},
|
|
294882
294920
|
"indexPages": {
|
|
294883
|
-
"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 index each page of the PDF as a standalone image.\n\nEnabling this feature will allow Autonomous Nodes in your bot to answer visual or higher-level questions about the content in these pages that can usually not be answered correctly by the default text-based indexing or visual transcription.\n\nThis feature is useful when a PDF has:\n- Tables with complex layouts\n- Charts, diagrams or infographics\n- Photos or images that can be used to answer user queries\n\nNotes:\n- This feature is only available in Team and Enterprise plans.\n- Enabling this will incur in extra AI Spend cost and additional File Storage usage, in order to use a vision-enabled LLM to visually index the PDF pages and store them as standalone page images in the bot's file storage.\n- Enabling this may increase the overall AI Spend cost of your bot as your bot may pass one or more indexed page images to a vision-enabled LLM for answering user queries.\n- This is limited to the first
|
|
294921
|
+
"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 index each page of the PDF as a standalone image.\n\nEnabling this feature will allow Autonomous Nodes in your bot to answer visual or higher-level questions about the content in these pages that can usually not be answered correctly by the default text-based indexing or visual transcription.\n\nThis feature is useful when a PDF has:\n- Tables with complex layouts\n- Charts, diagrams or infographics\n- Photos or images that can be used to answer user queries\n\nNotes:\n- This feature is only available in Team and Enterprise plans.\n- Enabling this will incur in extra AI Spend cost and additional File Storage usage, in order to use a vision-enabled LLM to visually index the PDF pages and store them as standalone page images in the bot's file storage.\n- Enabling this may increase the overall AI Spend cost of your bot as your bot may pass one or more indexed page images to a vision-enabled LLM for answering user queries.\n- This is limited to the first 100 pages of the PDF. If the file has more pages then the rest of the pages will NOT be vision-indexed. If you need to visually index the entire file, please split it into smaller files.\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."
|
|
294884
294922
|
}
|
|
294885
294923
|
},
|
|
294886
294924
|
"additionalProperties": false
|
|
@@ -295593,7 +295631,7 @@ var state = {
|
|
|
295593
295631
|
"properties": {
|
|
295594
295632
|
"overwrite": {
|
|
295595
295633
|
"type": "boolean",
|
|
295596
|
-
"description": "Set to `true` to overwrite the file if it already exists, otherwise an error will be returned
|
|
295634
|
+
"description": "Set to `true` to overwrite the file if it already exists, otherwise an error will be returned.\n\nWhen this endpoint is called using bot authentication, the existing file must have been originally created by the same bot making the file copy request in order to overwrite it."
|
|
295597
295635
|
}
|
|
295598
295636
|
},
|
|
295599
295637
|
"title": "copyFileBody",
|
|
@@ -297294,7 +297332,7 @@ var state = {
|
|
|
297294
297332
|
"title": "Botpress API",
|
|
297295
297333
|
"description": "API for Botpress Cloud",
|
|
297296
297334
|
"server": "https://api.botpress.cloud",
|
|
297297
|
-
"version": "0.
|
|
297335
|
+
"version": "0.75.0",
|
|
297298
297336
|
"prefix": "v1"
|
|
297299
297337
|
},
|
|
297300
297338
|
"errors": [
|
|
@@ -299341,6 +299379,25 @@ var state = {
|
|
|
299341
299379
|
],
|
|
299342
299380
|
"description": "Conversation object configuration",
|
|
299343
299381
|
"additionalProperties": false
|
|
299382
|
+
},
|
|
299383
|
+
"title": {
|
|
299384
|
+
"type": "string",
|
|
299385
|
+
"minLength": 1,
|
|
299386
|
+
"maxLength": 64,
|
|
299387
|
+
"description": "Title of the plugin. This is the name that will be displayed in the UI"
|
|
299388
|
+
},
|
|
299389
|
+
"description": {
|
|
299390
|
+
"type": "string",
|
|
299391
|
+
"maxLength": 256,
|
|
299392
|
+
"description": "Description of the plugin. This is the description that will be displayed in the UI"
|
|
299393
|
+
},
|
|
299394
|
+
"iconUrl": {
|
|
299395
|
+
"type": "string",
|
|
299396
|
+
"description": "URL of the icon of the plugin. This is the icon that will be displayed in the UI"
|
|
299397
|
+
},
|
|
299398
|
+
"readmeUrl": {
|
|
299399
|
+
"type": "string",
|
|
299400
|
+
"description": "URL of the readme of the plugin. This is the readme that will be displayed in the UI"
|
|
299344
299401
|
}
|
|
299345
299402
|
},
|
|
299346
299403
|
"required": [
|
|
@@ -299355,9 +299412,12 @@ var state = {
|
|
|
299355
299412
|
"actions",
|
|
299356
299413
|
"dependencies",
|
|
299357
299414
|
"user",
|
|
299358
|
-
"conversation"
|
|
299415
|
+
"conversation",
|
|
299416
|
+
"title",
|
|
299417
|
+
"description",
|
|
299418
|
+
"iconUrl",
|
|
299419
|
+
"readmeUrl"
|
|
299359
299420
|
],
|
|
299360
|
-
"description": "Plugin definition",
|
|
299361
299421
|
"additionalProperties": false
|
|
299362
299422
|
}
|
|
299363
299423
|
},
|
package/dist/src/gen/state.d.ts
CHANGED
|
@@ -10379,6 +10379,25 @@ export declare const state: {
|
|
|
10379
10379
|
required: string[];
|
|
10380
10380
|
additionalProperties: false;
|
|
10381
10381
|
};
|
|
10382
|
+
icon: {
|
|
10383
|
+
type: "string";
|
|
10384
|
+
description: string;
|
|
10385
|
+
};
|
|
10386
|
+
readme: {
|
|
10387
|
+
type: "string";
|
|
10388
|
+
description: string;
|
|
10389
|
+
};
|
|
10390
|
+
title: {
|
|
10391
|
+
type: "string";
|
|
10392
|
+
minLength: number;
|
|
10393
|
+
maxLength: number;
|
|
10394
|
+
description: string;
|
|
10395
|
+
};
|
|
10396
|
+
description: {
|
|
10397
|
+
type: "string";
|
|
10398
|
+
maxLength: number;
|
|
10399
|
+
description: string;
|
|
10400
|
+
};
|
|
10382
10401
|
};
|
|
10383
10402
|
required: string[];
|
|
10384
10403
|
title: string;
|
|
@@ -10709,6 +10728,25 @@ export declare const state: {
|
|
|
10709
10728
|
};
|
|
10710
10729
|
additionalProperties: false;
|
|
10711
10730
|
};
|
|
10731
|
+
icon: {
|
|
10732
|
+
type: "string";
|
|
10733
|
+
description: string;
|
|
10734
|
+
};
|
|
10735
|
+
readme: {
|
|
10736
|
+
type: "string";
|
|
10737
|
+
description: string;
|
|
10738
|
+
};
|
|
10739
|
+
title: {
|
|
10740
|
+
type: "string";
|
|
10741
|
+
minLength: number;
|
|
10742
|
+
maxLength: number;
|
|
10743
|
+
description: string;
|
|
10744
|
+
};
|
|
10745
|
+
description: {
|
|
10746
|
+
type: "string";
|
|
10747
|
+
maxLength: number;
|
|
10748
|
+
description: string;
|
|
10749
|
+
};
|
|
10712
10750
|
};
|
|
10713
10751
|
title: string;
|
|
10714
10752
|
additionalProperties: false;
|
|
@@ -15185,9 +15223,27 @@ export declare const state: {
|
|
|
15185
15223
|
description: string;
|
|
15186
15224
|
additionalProperties: false;
|
|
15187
15225
|
};
|
|
15226
|
+
title: {
|
|
15227
|
+
type: "string";
|
|
15228
|
+
minLength: number;
|
|
15229
|
+
maxLength: number;
|
|
15230
|
+
description: string;
|
|
15231
|
+
};
|
|
15232
|
+
description: {
|
|
15233
|
+
type: "string";
|
|
15234
|
+
maxLength: number;
|
|
15235
|
+
description: string;
|
|
15236
|
+
};
|
|
15237
|
+
iconUrl: {
|
|
15238
|
+
type: "string";
|
|
15239
|
+
description: string;
|
|
15240
|
+
};
|
|
15241
|
+
readmeUrl: {
|
|
15242
|
+
type: "string";
|
|
15243
|
+
description: string;
|
|
15244
|
+
};
|
|
15188
15245
|
};
|
|
15189
15246
|
required: string[];
|
|
15190
|
-
description: string;
|
|
15191
15247
|
additionalProperties: false;
|
|
15192
15248
|
};
|
|
15193
15249
|
};
|