@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 +24 -2
- package/dist/src/gen/state.d.ts +19 -0
- package/package.json +1 -1
- package/src/gen/openapi.json +1 -1
- package/src/gen/state.ts +24 -2
package/src/gen/state.ts
CHANGED
|
@@ -3123,6 +3123,11 @@ export const state = {
|
|
|
3123
3123
|
"maxLength": 200,
|
|
3124
3124
|
"description": "Name of the interface"
|
|
3125
3125
|
},
|
|
3126
|
+
"version": {
|
|
3127
|
+
"type": "string",
|
|
3128
|
+
"maxLength": 200,
|
|
3129
|
+
"description": "Version of the interface"
|
|
3130
|
+
},
|
|
3126
3131
|
"entities": {
|
|
3127
3132
|
"type": "object",
|
|
3128
3133
|
"additionalProperties": {
|
|
@@ -3191,6 +3196,7 @@ export const state = {
|
|
|
3191
3196
|
"required": [
|
|
3192
3197
|
"id",
|
|
3193
3198
|
"name",
|
|
3199
|
+
"version",
|
|
3194
3200
|
"entities",
|
|
3195
3201
|
"actions",
|
|
3196
3202
|
"events",
|
|
@@ -3818,6 +3824,11 @@ export const state = {
|
|
|
3818
3824
|
"maxLength": 200,
|
|
3819
3825
|
"description": "Name of the interface"
|
|
3820
3826
|
},
|
|
3827
|
+
"version": {
|
|
3828
|
+
"type": "string",
|
|
3829
|
+
"maxLength": 200,
|
|
3830
|
+
"description": "Version of the interface"
|
|
3831
|
+
},
|
|
3821
3832
|
"entities": {
|
|
3822
3833
|
"type": "object",
|
|
3823
3834
|
"additionalProperties": {
|
|
@@ -3886,6 +3897,7 @@ export const state = {
|
|
|
3886
3897
|
"required": [
|
|
3887
3898
|
"id",
|
|
3888
3899
|
"name",
|
|
3900
|
+
"version",
|
|
3889
3901
|
"entities",
|
|
3890
3902
|
"actions",
|
|
3891
3903
|
"events",
|
|
@@ -10548,6 +10560,10 @@ export const state = {
|
|
|
10548
10560
|
"minimum": 50,
|
|
10549
10561
|
"maximum": 2000,
|
|
10550
10562
|
"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."
|
|
10563
|
+
},
|
|
10564
|
+
"smartCleanup": {
|
|
10565
|
+
"type": "boolean",
|
|
10566
|
+
"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."
|
|
10551
10567
|
}
|
|
10552
10568
|
},
|
|
10553
10569
|
"additionalProperties": false
|
|
@@ -10580,7 +10596,7 @@ export const state = {
|
|
|
10580
10596
|
"enable": {
|
|
10581
10597
|
"default": false,
|
|
10582
10598
|
"type": "boolean",
|
|
10583
|
-
"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
|
|
10599
|
+
"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."
|
|
10584
10600
|
},
|
|
10585
10601
|
"modelType": {
|
|
10586
10602
|
"default": "balanced",
|
|
@@ -12427,7 +12443,7 @@ export const state = {
|
|
|
12427
12443
|
"title": "Botpress API",
|
|
12428
12444
|
"description": "API for Botpress Cloud",
|
|
12429
12445
|
"server": "https://api.botpress.cloud",
|
|
12430
|
-
"version": "0.50.
|
|
12446
|
+
"version": "0.50.3",
|
|
12431
12447
|
"prefix": "v1"
|
|
12432
12448
|
},
|
|
12433
12449
|
"errors": [
|
|
@@ -13372,6 +13388,11 @@ export const state = {
|
|
|
13372
13388
|
"maxLength": 200,
|
|
13373
13389
|
"description": "Name of the interface"
|
|
13374
13390
|
},
|
|
13391
|
+
"version": {
|
|
13392
|
+
"type": "string",
|
|
13393
|
+
"maxLength": 200,
|
|
13394
|
+
"description": "Version of the interface"
|
|
13395
|
+
},
|
|
13375
13396
|
"entities": {
|
|
13376
13397
|
"type": "object",
|
|
13377
13398
|
"additionalProperties": {
|
|
@@ -13440,6 +13461,7 @@ export const state = {
|
|
|
13440
13461
|
"required": [
|
|
13441
13462
|
"id",
|
|
13442
13463
|
"name",
|
|
13464
|
+
"version",
|
|
13443
13465
|
"entities",
|
|
13444
13466
|
"actions",
|
|
13445
13467
|
"events",
|