@botpress/api 1.1.0 → 1.3.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.
@@ -117,6 +117,13 @@ export const state = {
117
117
  },
118
118
  "additionalProperties": false
119
119
  },
120
+ "stack": {
121
+ "type": "string",
122
+ "enum": [
123
+ "realtime-v1"
124
+ ],
125
+ "description": "Internal setting, cannot be set manually."
126
+ },
120
127
  "vision": {
121
128
  "type": "object",
122
129
  "properties": {
@@ -1104,6 +1111,39 @@ export const state = {
1104
1111
  "createdAt",
1105
1112
  "updatedAt"
1106
1113
  ]
1114
+ },
1115
+ "context": {
1116
+ "type": "array",
1117
+ "items": {
1118
+ "type": "object",
1119
+ "properties": {
1120
+ "id": {
1121
+ "type": "string",
1122
+ "format": "uuid"
1123
+ },
1124
+ "text": {
1125
+ "type": "string"
1126
+ },
1127
+ "offset": {
1128
+ "type": "integer",
1129
+ "description": "Position of the context passage relative to the current passage. Negative for preceding passages, positive for subsequent, ommited for breadcrumbs."
1130
+ },
1131
+ "type": {
1132
+ "type": "string",
1133
+ "enum": [
1134
+ "preceding",
1135
+ "subsequent",
1136
+ "breadcrumb"
1137
+ ],
1138
+ "description": "The type of context passage"
1139
+ }
1140
+ },
1141
+ "required": [
1142
+ "id",
1143
+ "text",
1144
+ "type"
1145
+ ]
1146
+ }
1107
1147
  }
1108
1148
  },
1109
1149
  "required": [
@@ -1539,7 +1579,7 @@ export const state = {
1539
1579
  "title": "Botpress API",
1540
1580
  "description": "API for Botpress Cloud",
1541
1581
  "server": "https://api.botpress.cloud",
1542
- "version": "1.1.0",
1582
+ "version": "1.3.0",
1543
1583
  "prefix": "v1"
1544
1584
  },
1545
1585
  "errors": [