@botpress/api 0.33.1 → 0.34.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/src/gen/state.ts CHANGED
@@ -9943,6 +9943,34 @@ export const state = {
9943
9943
  "type": "number",
9944
9944
  "description": "The score indicating the similarity of the passage to the query. A higher score indicates higher similarity."
9945
9945
  },
9946
+ "meta": {
9947
+ "type": "object",
9948
+ "properties": {
9949
+ "type": {
9950
+ "type": "string",
9951
+ "enum": [
9952
+ "chunk"
9953
+ ],
9954
+ "description": "The type of passage"
9955
+ },
9956
+ "subtype": {
9957
+ "type": "string",
9958
+ "enum": [
9959
+ "title",
9960
+ "subtitle",
9961
+ "paragraph",
9962
+ "list",
9963
+ "note"
9964
+ ],
9965
+ "description": "The subtype of passage, if any."
9966
+ },
9967
+ "pageNumber": {
9968
+ "type": "integer",
9969
+ "description": "Page number the passage is located on, if any. Only applicable if the passage was extracted from a multi-page document (e.g. PDF)."
9970
+ }
9971
+ },
9972
+ "description": "The passage metadata"
9973
+ },
9946
9974
  "file": {
9947
9975
  "type": "object",
9948
9976
  "properties": {
@@ -9978,6 +10006,7 @@ export const state = {
9978
10006
  "required": [
9979
10007
  "content",
9980
10008
  "score",
10009
+ "meta",
9981
10010
  "file"
9982
10011
  ]
9983
10012
  }
@@ -10892,7 +10921,7 @@ export const state = {
10892
10921
  "title": "Botpress API",
10893
10922
  "description": "API for Botpress Cloud",
10894
10923
  "server": "https://api.botpress.cloud",
10895
- "version": "0.33.1",
10924
+ "version": "0.34.0",
10896
10925
  "prefix": "v1"
10897
10926
  },
10898
10927
  "errors": [