@botpress/api 0.50.1 → 0.50.3

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 CHANGED
@@ -284860,6 +284860,11 @@ var state = {
284860
284860
  "maxLength": 200,
284861
284861
  "description": "Name of the interface"
284862
284862
  },
284863
+ "version": {
284864
+ "type": "string",
284865
+ "maxLength": 200,
284866
+ "description": "Version of the interface"
284867
+ },
284863
284868
  "entities": {
284864
284869
  "type": "object",
284865
284870
  "additionalProperties": {
@@ -284928,6 +284933,7 @@ var state = {
284928
284933
  "required": [
284929
284934
  "id",
284930
284935
  "name",
284936
+ "version",
284931
284937
  "entities",
284932
284938
  "actions",
284933
284939
  "events",
@@ -285555,6 +285561,11 @@ var state = {
285555
285561
  "maxLength": 200,
285556
285562
  "description": "Name of the interface"
285557
285563
  },
285564
+ "version": {
285565
+ "type": "string",
285566
+ "maxLength": 200,
285567
+ "description": "Version of the interface"
285568
+ },
285558
285569
  "entities": {
285559
285570
  "type": "object",
285560
285571
  "additionalProperties": {
@@ -285623,6 +285634,7 @@ var state = {
285623
285634
  "required": [
285624
285635
  "id",
285625
285636
  "name",
285637
+ "version",
285626
285638
  "entities",
285627
285639
  "actions",
285628
285640
  "events",
@@ -292285,6 +292297,10 @@ var state = {
292285
292297
  "minimum": 50,
292286
292298
  "maximum": 2e3,
292287
292299
  "description": "The minimum length a standalone paragraph should have. If a paragraph is shorter than this, it will be merged with the next immediate paragraph."
292300
+ },
292301
+ "smartCleanup": {
292302
+ "type": "boolean",
292303
+ "description": "(Team/Enterprise plan only, charged as AI Spend) Enabling this will use a lightweight/inexpensive LLM to clean up the extracted content of PDF files before indexing them to increase the quality of the stored vectors, as PDFs often store raw text in unusual ways which when extracted may result in formatting issues (e.g. broken sentences/paragraphs, unexpected headings, garbled characters, etc.) that can affect retrieval performance for certain user queries if left untouched.\n\nNotes:\n- This feature is only available in Team and Enterprise plans.\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.\n- We recommend using this feature for PDFs that have custom layouts or design. For simple text-based PDFs like documents and books, this feature is usually not necessary.\n- The smart cleanup takes some time to perform due to the LLM calls involved, so enabling it will increase the total time it takes to index the file.\n- We take steps to prevent the original text from being fundamentally changed but due to the nature of LLMs this could theoretically still happen so it's recommended to review the passages generated for the file after indexing to ensure the content is still accurate.\n- This feature is limited to the first 30 pages or 20 KB of text in the PDF file (whichever comes first). If the file has more content than these limits then the rest of the file will be indexed as-is without any cleanup. If you need to clean up the content of the entire file, consider splitting it into smaller files."
292288
292304
  }
292289
292305
  },
292290
292306
  "additionalProperties": false
@@ -292317,7 +292333,7 @@ var state = {
292317
292333
  "enable": {
292318
292334
  "default": false,
292319
292335
  "type": "boolean",
292320
- "description": "Create summaries for this file and index them as standalone vectors. Enabling this option will incur in AI Spend cost (charged to the workspace of the bot) to generate the summaries based on the amount of content in the file and the summarization model used. Please note that this feature is only available in Team/Enterprise plans."
292336
+ "description": "(Team/Enterprise plan only, charged as AI Spend) Create summaries for this file and index them as standalone vectors. Enabling this option will incur in AI Spend cost (charged to the workspace of the bot) to generate the summaries based on the amount of content in the file and the summarization model used.\n\nPlease note that this feature is only available in Team and Enterprise plans."
292321
292337
  },
292322
292338
  "modelType": {
292323
292339
  "default": "balanced",
@@ -294164,7 +294180,7 @@ var state = {
294164
294180
  "title": "Botpress API",
294165
294181
  "description": "API for Botpress Cloud",
294166
294182
  "server": "https://api.botpress.cloud",
294167
- "version": "0.50.1",
294183
+ "version": "0.50.3",
294168
294184
  "prefix": "v1"
294169
294185
  },
294170
294186
  "errors": [
@@ -295109,6 +295125,11 @@ var state = {
295109
295125
  "maxLength": 200,
295110
295126
  "description": "Name of the interface"
295111
295127
  },
295128
+ "version": {
295129
+ "type": "string",
295130
+ "maxLength": 200,
295131
+ "description": "Version of the interface"
295132
+ },
295112
295133
  "entities": {
295113
295134
  "type": "object",
295114
295135
  "additionalProperties": {
@@ -295177,6 +295198,7 @@ var state = {
295177
295198
  "required": [
295178
295199
  "id",
295179
295200
  "name",
295201
+ "version",
295180
295202
  "entities",
295181
295203
  "actions",
295182
295204
  "events",
@@ -2829,6 +2829,11 @@ export declare const state: {
2829
2829
  maxLength: number;
2830
2830
  description: string;
2831
2831
  };
2832
+ version: {
2833
+ type: "string";
2834
+ maxLength: number;
2835
+ description: string;
2836
+ };
2832
2837
  entities: {
2833
2838
  type: "object";
2834
2839
  additionalProperties: {
@@ -3420,6 +3425,11 @@ export declare const state: {
3420
3425
  maxLength: number;
3421
3426
  description: string;
3422
3427
  };
3428
+ version: {
3429
+ type: "string";
3430
+ maxLength: number;
3431
+ description: string;
3432
+ };
3423
3433
  entities: {
3424
3434
  type: "object";
3425
3435
  additionalProperties: {
@@ -9272,6 +9282,10 @@ export declare const state: {
9272
9282
  maximum: number;
9273
9283
  description: string;
9274
9284
  };
9285
+ smartCleanup: {
9286
+ type: "boolean";
9287
+ description: string;
9288
+ };
9275
9289
  };
9276
9290
  additionalProperties: false;
9277
9291
  };
@@ -11703,6 +11717,11 @@ export declare const state: {
11703
11717
  maxLength: number;
11704
11718
  description: string;
11705
11719
  };
11720
+ version: {
11721
+ type: "string";
11722
+ maxLength: number;
11723
+ description: string;
11724
+ };
11706
11725
  entities: {
11707
11726
  type: "object";
11708
11727
  additionalProperties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.50.1",
3
+ "version": "0.50.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {