@botpress/api 0.50.0 → 0.50.1

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/src/gen/state.ts CHANGED
@@ -10541,38 +10541,46 @@ export const state = {
10541
10541
  "type": "object",
10542
10542
  "properties": {
10543
10543
  "parsing": {
10544
- "default": {},
10545
10544
  "type": "object",
10546
10545
  "properties": {
10547
10546
  "minimumParagraphLength": {
10548
- "default": 500,
10549
10547
  "type": "integer",
10550
10548
  "minimum": 50,
10551
- "maximum": 2000
10549
+ "maximum": 2000,
10550
+ "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."
10552
10551
  }
10553
10552
  },
10554
10553
  "additionalProperties": false
10555
10554
  },
10556
10555
  "chunking": {
10557
- "default": {},
10558
10556
  "type": "object",
10559
10557
  "properties": {
10560
10558
  "maximumChunkLength": {
10561
- "default": 1250,
10562
10559
  "type": "integer",
10563
10560
  "minimum": 100,
10564
- "maximum": 5000
10561
+ "maximum": 5000,
10562
+ "description": "The maximum length of a chunk in characters."
10563
+ },
10564
+ "embeddedContextLevels": {
10565
+ "type": "integer",
10566
+ "minimum": 0,
10567
+ "maximum": 3,
10568
+ "description": "The number of surrounding context levels to include in the vector embedding of the chunk."
10569
+ },
10570
+ "embedBreadcrumb": {
10571
+ "type": "boolean",
10572
+ "description": "Include the breadcrumb of the chunk in the vector embedding."
10565
10573
  }
10566
10574
  },
10567
10575
  "additionalProperties": false
10568
10576
  },
10569
10577
  "summarization": {
10570
- "default": {},
10571
10578
  "type": "object",
10572
10579
  "properties": {
10573
10580
  "enable": {
10574
10581
  "default": false,
10575
- "type": "boolean"
10582
+ "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. Please note that this feature is only available in Team/Enterprise plans."
10576
10584
  },
10577
10585
  "modelType": {
10578
10586
  "default": "balanced",
@@ -10581,23 +10589,24 @@ export const state = {
10581
10589
  "inexpensive",
10582
10590
  "balanced",
10583
10591
  "accurate"
10584
- ]
10592
+ ],
10593
+ "description": "The model type to use for summarization."
10585
10594
  },
10586
10595
  "minimumInputLength": {
10587
- "default": 3000,
10588
10596
  "type": "integer",
10589
10597
  "minimum": 1000,
10590
- "maximum": 10000
10598
+ "maximum": 10000,
10599
+ "description": "The minimum length a section of the file should have to create a summary of it."
10591
10600
  },
10592
10601
  "outputTokenLimit": {
10593
- "default": 2000,
10594
10602
  "type": "integer",
10595
10603
  "minimum": 1000,
10596
- "maximum": 10000
10604
+ "maximum": 10000,
10605
+ "description": "The maximum length of a summary (in tokens)."
10597
10606
  },
10598
10607
  "generateMasterSummary": {
10599
- "default": true,
10600
- "type": "boolean"
10608
+ "type": "boolean",
10609
+ "description": "Generate a summary of the entire file and index it as a standalone vector."
10601
10610
  }
10602
10611
  },
10603
10612
  "additionalProperties": false
@@ -12418,7 +12427,7 @@ export const state = {
12418
12427
  "title": "Botpress API",
12419
12428
  "description": "API for Botpress Cloud",
12420
12429
  "server": "https://api.botpress.cloud",
12421
- "version": "0.50.0",
12430
+ "version": "0.50.1",
12422
12431
  "prefix": "v1"
12423
12432
  },
12424
12433
  "errors": [