@botpress/api 0.44.1 → 0.45.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.
@@ -2007,6 +2007,10 @@ export declare const state: {
2007
2007
  type: "string";
2008
2008
  description: string;
2009
2009
  };
2010
+ eventId: {
2011
+ type: "string";
2012
+ description: string;
2013
+ };
2010
2014
  };
2011
2015
  title: string;
2012
2016
  additionalProperties: false;
@@ -4873,6 +4877,84 @@ export declare const state: {
4873
4877
  type: "number";
4874
4878
  };
4875
4879
  };
4880
+ llm: {
4881
+ type: "object";
4882
+ properties: {
4883
+ calls: {
4884
+ type: "integer";
4885
+ };
4886
+ errors: {
4887
+ type: "integer";
4888
+ };
4889
+ inputTokens: {
4890
+ type: "integer";
4891
+ };
4892
+ outputTokens: {
4893
+ type: "integer";
4894
+ };
4895
+ latency: {
4896
+ type: "object";
4897
+ properties: {
4898
+ mean: {
4899
+ type: "number";
4900
+ };
4901
+ sd: {
4902
+ type: "number";
4903
+ };
4904
+ min: {
4905
+ type: "number";
4906
+ };
4907
+ max: {
4908
+ type: "number";
4909
+ };
4910
+ };
4911
+ required: string[];
4912
+ description: string;
4913
+ };
4914
+ tokensPerSecond: {
4915
+ type: "object";
4916
+ properties: {
4917
+ mean: {
4918
+ type: "number";
4919
+ };
4920
+ sd: {
4921
+ type: "number";
4922
+ };
4923
+ min: {
4924
+ type: "number";
4925
+ };
4926
+ max: {
4927
+ type: "number";
4928
+ };
4929
+ };
4930
+ required: string[];
4931
+ description: string;
4932
+ };
4933
+ cost: {
4934
+ type: "object";
4935
+ properties: {
4936
+ sum: {
4937
+ type: "number";
4938
+ };
4939
+ mean: {
4940
+ type: "number";
4941
+ };
4942
+ sd: {
4943
+ type: "number";
4944
+ };
4945
+ min: {
4946
+ type: "number";
4947
+ };
4948
+ max: {
4949
+ type: "number";
4950
+ };
4951
+ };
4952
+ required: string[];
4953
+ description: string;
4954
+ };
4955
+ };
4956
+ required: string[];
4957
+ };
4876
4958
  };
4877
4959
  required: string[];
4878
4960
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/api",
3
- "version": "0.44.1",
3
+ "version": "0.45.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {