honeyhive 0.3.13 → 0.3.14

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.
Files changed (195) hide show
  1. package/README.md +35 -47
  2. package/dist/models/components/configuration.d.ts +17 -73
  3. package/dist/models/components/configuration.js +22 -115
  4. package/dist/models/components/createdatapointrequest.d.ts +2 -12
  5. package/dist/models/components/createdatapointrequest.js +3 -27
  6. package/dist/models/components/createdatasetrequest.d.ts +1 -6
  7. package/dist/models/components/createdatasetrequest.js +2 -14
  8. package/dist/models/components/createeventrequest.d.ts +15 -42
  9. package/dist/models/components/createeventrequest.js +18 -92
  10. package/dist/models/components/createprojectrequest.d.ts +0 -5
  11. package/dist/models/components/createprojectrequest.js +1 -11
  12. package/dist/models/components/createtoolrequest.d.ts +18 -0
  13. package/dist/models/components/createtoolrequest.js +70 -0
  14. package/dist/models/components/datapoint.d.ts +1 -3
  15. package/dist/models/components/datapoint.js +2 -11
  16. package/dist/models/components/datasetupdate.d.ts +1 -6
  17. package/dist/models/components/datasetupdate.js +2 -14
  18. package/dist/models/components/event.d.ts +7 -42
  19. package/dist/models/components/event.js +8 -92
  20. package/dist/models/components/index.d.ts +3 -1
  21. package/dist/models/components/index.js +3 -1
  22. package/dist/models/components/metric.d.ts +8 -3
  23. package/dist/models/components/metric.js +7 -1
  24. package/dist/models/components/metricedit.d.ts +9 -4
  25. package/dist/models/components/metricedit.js +7 -1
  26. package/dist/models/components/project.d.ts +0 -5
  27. package/dist/models/components/project.js +1 -11
  28. package/dist/models/components/sessionstartrequest.d.ts +7 -42
  29. package/dist/models/components/sessionstartrequest.js +8 -92
  30. package/dist/models/components/tool.d.ts +2 -7
  31. package/dist/models/components/tool.js +4 -16
  32. package/dist/models/components/updatedatapointrequest.d.ts +2 -12
  33. package/dist/models/components/updatedatapointrequest.js +3 -27
  34. package/dist/models/components/updateprojectrequest.d.ts +6 -0
  35. package/dist/models/components/updateprojectrequest.js +55 -0
  36. package/dist/models/components/updatetoolrequest.d.ts +7 -0
  37. package/dist/models/components/updatetoolrequest.js +60 -0
  38. package/dist/models/operations/createdataset.d.ts +12 -3
  39. package/dist/models/operations/createdataset.js +39 -27
  40. package/dist/models/operations/createevent.d.ts +31 -0
  41. package/dist/models/operations/createevent.js +115 -0
  42. package/dist/models/operations/createmetric.d.ts +16 -0
  43. package/dist/models/operations/createmetric.js +51 -0
  44. package/dist/models/operations/createtool.d.ts +12 -2
  45. package/dist/models/operations/createtool.js +31 -10
  46. package/dist/models/operations/deletedataset.d.ts +4 -11
  47. package/dist/models/operations/deletedataset.js +3 -24
  48. package/dist/models/operations/deleteevent.d.ts +20 -0
  49. package/dist/models/operations/deleteevent.js +67 -0
  50. package/dist/models/operations/deletemetric.d.ts +19 -0
  51. package/dist/models/operations/deletemetric.js +63 -0
  52. package/dist/models/operations/getconfigurations.d.ts +19 -3
  53. package/dist/models/operations/getconfigurations.js +19 -2
  54. package/dist/models/operations/getdatapoint.d.ts +7 -1
  55. package/dist/models/operations/getdatapoint.js +21 -3
  56. package/dist/models/operations/getdatasets.d.ts +1 -1
  57. package/dist/models/operations/getdatasets.js +2 -2
  58. package/dist/models/operations/gettools.d.ts +0 -3
  59. package/dist/models/operations/gettools.js +1 -15
  60. package/dist/models/operations/index.d.ts +9 -9
  61. package/dist/models/operations/index.js +9 -9
  62. package/dist/models/operations/updatedataset.d.ts +0 -9
  63. package/dist/models/operations/updatedataset.js +1 -45
  64. package/dist/models/operations/updateevent.d.ts +23 -0
  65. package/dist/models/operations/updateevent.js +85 -0
  66. package/dist/models/operations/updatemetric.d.ts +16 -0
  67. package/dist/models/operations/updatemetric.js +51 -0
  68. package/dist/models/operations/updateproject.d.ts +0 -5
  69. package/dist/models/operations/updateproject.js +0 -28
  70. package/dist/models/operations/updatetool.d.ts +0 -3
  71. package/dist/models/operations/updatetool.js +1 -15
  72. package/dist/sdk/configurations.d.ts +1 -1
  73. package/dist/sdk/configurations.js +3 -1
  74. package/dist/sdk/datapoints.js +1 -1
  75. package/dist/sdk/datasets.d.ts +3 -3
  76. package/dist/sdk/datasets.js +8 -8
  77. package/dist/sdk/events.d.ts +3 -3
  78. package/dist/sdk/events.js +10 -10
  79. package/dist/sdk/metrics.d.ts +3 -3
  80. package/dist/sdk/metrics.js +7 -7
  81. package/dist/sdk/projects.d.ts +1 -1
  82. package/dist/sdk/projects.js +4 -11
  83. package/dist/sdk/sdk.js +3 -3
  84. package/dist/sdk/tools.d.ts +3 -3
  85. package/dist/sdk/tools.js +50 -22
  86. package/dist/sdk/tracer.d.ts +18 -1
  87. package/dist/sdk/tracer.js +176 -16
  88. package/docs/models/components/configuration.md +10 -8
  89. package/docs/models/components/createdatapointrequest.md +11 -11
  90. package/docs/models/components/createdatasetrequest.md +11 -11
  91. package/docs/models/components/createeventrequest.md +21 -19
  92. package/docs/models/components/createprojectrequest.md +4 -5
  93. package/docs/models/components/createtoolrequest.md +12 -0
  94. package/docs/models/components/createtoolrequesttype.md +9 -0
  95. package/docs/models/components/datapoint.md +1 -1
  96. package/docs/models/components/datasetupdate.md +10 -10
  97. package/docs/models/components/env.md +10 -0
  98. package/docs/models/components/event.md +21 -21
  99. package/docs/models/components/metric.md +2 -1
  100. package/docs/models/components/metricedit.md +3 -2
  101. package/docs/models/components/metricedittype.md +3 -2
  102. package/docs/models/components/metrictype.md +3 -2
  103. package/docs/models/components/project.md +5 -6
  104. package/docs/models/components/sessionstartrequest.md +18 -18
  105. package/docs/models/components/tool.md +8 -8
  106. package/docs/models/components/updatedatapointrequest.md +2 -2
  107. package/docs/models/components/updateprojectrequest.md +10 -0
  108. package/docs/models/components/updatetoolrequest.md +11 -0
  109. package/docs/models/operations/createdatasetresponse.md +11 -0
  110. package/docs/models/operations/createdatasetresponsebody.md +11 -0
  111. package/docs/models/operations/{createtoolsecurity.md → createdatasetresult.md} +2 -2
  112. package/docs/models/operations/{posteventsrequestbody.md → createeventrequestbody.md} +1 -1
  113. package/docs/models/operations/createeventresponse.md +11 -0
  114. package/docs/models/operations/{posteventsresponsebody.md → createeventresponsebody.md} +1 -1
  115. package/docs/models/operations/{postmetricsresponse.md → createmetricresponse.md} +1 -1
  116. package/docs/models/operations/createtoolresponse.md +6 -5
  117. package/docs/models/operations/createtoolresponsebody.md +10 -0
  118. package/docs/models/operations/{postdatasetsresult.md → createtoolresult.md} +1 -1
  119. package/docs/models/operations/{deletedatasetsrequest.md → deletedatasetrequest.md} +1 -1
  120. package/docs/models/operations/{deletemetricsresponse.md → deletedatasetresponse.md} +1 -1
  121. package/docs/models/operations/{deleteeventseventidrequest.md → deleteeventrequest.md} +1 -1
  122. package/docs/models/operations/{putmetricsresponse.md → deleteeventresponse.md} +1 -1
  123. package/docs/models/operations/{deletemetricsrequest.md → deletemetricrequest.md} +1 -1
  124. package/docs/models/operations/{puteventsresponse.md → deletemetricresponse.md} +1 -1
  125. package/docs/models/operations/env.md +12 -0
  126. package/docs/models/operations/getconfigurationsrequest.md +6 -4
  127. package/docs/models/operations/getdatapointresponse.md +6 -6
  128. package/docs/models/operations/getdatapointresponsebody.md +10 -0
  129. package/docs/models/operations/getdatasetsresponsebody.md +1 -1
  130. package/docs/models/operations/typet.md +1 -1
  131. package/docs/models/operations/updatedatasetresponse.md +10 -0
  132. package/docs/models/operations/updateeventrequestbody.md +12 -0
  133. package/docs/models/operations/{putdatasetsresponse.md → updateeventresponse.md} +1 -1
  134. package/docs/models/operations/updatemetricresponse.md +10 -0
  135. package/docs/models/operations/updateprojectresponse.md +5 -6
  136. package/docs/sdks/configurations/README.md +35 -52
  137. package/docs/sdks/datapoints/README.md +23 -20
  138. package/docs/sdks/datasets/README.md +25 -21
  139. package/docs/sdks/events/README.md +59 -37
  140. package/docs/sdks/metrics/README.md +24 -23
  141. package/docs/sdks/projects/README.md +11 -15
  142. package/docs/sdks/session/README.md +28 -14
  143. package/docs/sdks/tools/README.md +37 -35
  144. package/package.json +1 -1
  145. package/docs/models/components/calltype.md +0 -11
  146. package/docs/models/components/config.md +0 -9
  147. package/docs/models/components/createdatapointrequestinputs.md +0 -9
  148. package/docs/models/components/createdatapointrequestmetadata.md +0 -9
  149. package/docs/models/components/createdatasetrequestmetadata.md +0 -9
  150. package/docs/models/components/createeventrequestinputs.md +0 -9
  151. package/docs/models/components/createeventrequestmetadata.md +0 -9
  152. package/docs/models/components/createeventrequestuserproperties.md +0 -9
  153. package/docs/models/components/createprojectrequesttype.md +0 -9
  154. package/docs/models/components/datasetupdatemetadata.md +0 -9
  155. package/docs/models/components/eventconfig.md +0 -9
  156. package/docs/models/components/eventfeedback.md +0 -9
  157. package/docs/models/components/eventinputs.md +0 -9
  158. package/docs/models/components/eventmetadata.md +0 -9
  159. package/docs/models/components/eventmetrics.md +0 -9
  160. package/docs/models/components/eventoutputs.md +0 -9
  161. package/docs/models/components/eventuserproperties.md +0 -9
  162. package/docs/models/components/feedback.md +0 -9
  163. package/docs/models/components/functioncallparams.md +0 -12
  164. package/docs/models/components/hyperparameters.md +0 -9
  165. package/docs/models/components/metadata.md +0 -7
  166. package/docs/models/components/metrics.md +0 -9
  167. package/docs/models/components/outputs.md +0 -9
  168. package/docs/models/components/parameterst.md +0 -13
  169. package/docs/models/components/projecttype.md +0 -9
  170. package/docs/models/components/selectedfunctions.md +0 -11
  171. package/docs/models/components/sessionstartrequestconfig.md +0 -9
  172. package/docs/models/components/sessionstartrequestfeedback.md +0 -9
  173. package/docs/models/components/sessionstartrequestinputs.md +0 -9
  174. package/docs/models/components/sessionstartrequestmetadata.md +0 -9
  175. package/docs/models/components/sessionstartrequestmetrics.md +0 -9
  176. package/docs/models/components/sessionstartrequestoutputs.md +0 -9
  177. package/docs/models/components/sessionstartrequestuserproperties.md +0 -9
  178. package/docs/models/components/toolparameters.md +0 -9
  179. package/docs/models/components/toolupdate.md +0 -11
  180. package/docs/models/components/toolupdateparameters.md +0 -7
  181. package/docs/models/components/updatedatapointrequestinputs.md +0 -9
  182. package/docs/models/components/updatedatapointrequestmetadata.md +0 -9
  183. package/docs/models/components/userproperties.md +0 -9
  184. package/docs/models/operations/deletedatasetsresponse.md +0 -10
  185. package/docs/models/operations/deleteeventseventidresponse.md +0 -10
  186. package/docs/models/operations/feedback.md +0 -7
  187. package/docs/models/operations/gettoolssecurity.md +0 -8
  188. package/docs/models/operations/metadata.md +0 -7
  189. package/docs/models/operations/metrics.md +0 -7
  190. package/docs/models/operations/outputs.md +0 -7
  191. package/docs/models/operations/postdatasetsresponse.md +0 -11
  192. package/docs/models/operations/postdatasetsresponsebody.md +0 -11
  193. package/docs/models/operations/posteventsresponse.md +0 -11
  194. package/docs/models/operations/puteventsrequestbody.md +0 -12
  195. package/docs/models/operations/updatetoolsecurity.md +0 -8
@@ -15,8 +15,8 @@ Delete a tool
15
15
  ### Example Usage
16
16
 
17
17
  ```typescript
18
- import { HoneyHive } from "HoneyHive";
19
- import { DeleteToolRequest } from "HoneyHive/dist/models/operations";
18
+ import { HoneyHive } from "honeyhive";
19
+ import { DeleteToolRequest } from "honeyhive/dist/models/operations";
20
20
 
21
21
  async function run() {
22
22
  const sdk = new HoneyHive({
@@ -58,14 +58,14 @@ Retrieve a list of tools
58
58
  ### Example Usage
59
59
 
60
60
  ```typescript
61
- import { HoneyHive } from "HoneyHive";
62
- import { GetToolsSecurity } from "HoneyHive/dist/models/operations";
61
+ import { HoneyHive } from "honeyhive";
63
62
 
64
63
  async function run() {
65
- const sdk = new HoneyHive();
66
- const operationSecurity: GetToolsSecurity = "<YOUR_BEARER_TOKEN_HERE>";
64
+ const sdk = new HoneyHive({
65
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
66
+ });
67
67
 
68
- const res = await sdk.tools.getTools(operationSecurity);
68
+ const res = await sdk.tools.getTools();
69
69
 
70
70
  if (res.statusCode == 200) {
71
71
  // handle response
@@ -77,10 +77,9 @@ run();
77
77
 
78
78
  ### Parameters
79
79
 
80
- | Parameter | Type | Required | Description |
81
- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
82
- | `security` | [operations.GetToolsSecurity](../../models/operations/gettoolssecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
83
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
80
+ | Parameter | Type | Required | Description |
81
+ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
82
+ | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
84
83
 
85
84
 
86
85
  ### Response
@@ -99,20 +98,22 @@ Create a new tool
99
98
  ### Example Usage
100
99
 
101
100
  ```typescript
102
- import { HoneyHive } from "HoneyHive";
103
- import { ToolType } from "HoneyHive/dist/models/components";
104
- import { CreateToolSecurity } from "HoneyHive/dist/models/operations";
101
+ import { HoneyHive } from "honeyhive";
102
+ import { CreateToolRequestType } from "honeyhive/dist/models/components";
105
103
 
106
104
  async function run() {
107
- const sdk = new HoneyHive();
108
- const operationSecurity: CreateToolSecurity = "<YOUR_BEARER_TOKEN_HERE>";
105
+ const sdk = new HoneyHive({
106
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
107
+ });
109
108
 
110
109
  const res = await sdk.tools.createTool({
111
110
  name: "<value>",
112
- parameters: {},
111
+ parameters: {
112
+ "key": "<value>",
113
+ },
113
114
  task: "<value>",
114
- type: ToolType.Tool,
115
- }, operationSecurity);
115
+ type: CreateToolRequestType.Tool,
116
+ });
116
117
 
117
118
  if (res.statusCode == 200) {
118
119
  // handle response
@@ -124,11 +125,10 @@ run();
124
125
 
125
126
  ### Parameters
126
127
 
127
- | Parameter | Type | Required | Description |
128
- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
129
- | `request` | [components.Tool](../../models/components/tool.md) | :heavy_check_mark: | The request object to use for the request. |
130
- | `security` | [operations.CreateToolSecurity](../../models/operations/createtoolsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
131
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
128
+ | Parameter | Type | Required | Description |
129
+ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
130
+ | `request` | [components.CreateToolRequest](../../models/components/createtoolrequest.md) | :heavy_check_mark: | The request object to use for the request. |
131
+ | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
132
132
 
133
133
 
134
134
  ### Response
@@ -147,17 +147,20 @@ Update an existing tool
147
147
  ### Example Usage
148
148
 
149
149
  ```typescript
150
- import { HoneyHive } from "HoneyHive";
151
- import { UpdateToolSecurity } from "HoneyHive/dist/models/operations";
150
+ import { HoneyHive } from "honeyhive";
152
151
 
153
152
  async function run() {
154
- const sdk = new HoneyHive();
155
- const operationSecurity: UpdateToolSecurity = "<YOUR_BEARER_TOKEN_HERE>";
153
+ const sdk = new HoneyHive({
154
+ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
155
+ });
156
156
 
157
157
  const res = await sdk.tools.updateTool({
158
158
  id: "<id>",
159
- parameters: {},
160
- }, operationSecurity);
159
+ name: "<value>",
160
+ parameters: {
161
+ "key": "<value>",
162
+ },
163
+ });
161
164
 
162
165
  if (res.statusCode == 200) {
163
166
  // handle response
@@ -169,11 +172,10 @@ run();
169
172
 
170
173
  ### Parameters
171
174
 
172
- | Parameter | Type | Required | Description |
173
- | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
174
- | `request` | [components.ToolUpdate](../../models/components/toolupdate.md) | :heavy_check_mark: | The request object to use for the request. |
175
- | `security` | [operations.UpdateToolSecurity](../../models/operations/updatetoolsecurity.md) | :heavy_check_mark: | The security requirements to use for the request. |
176
- | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
175
+ | Parameter | Type | Required | Description |
176
+ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
177
+ | `request` | [components.UpdateToolRequest](../../models/components/updatetoolrequest.md) | :heavy_check_mark: | The request object to use for the request. |
178
+ | `config` | [AxiosRequestConfig](https://axios-http.com/docs/req_config) | :heavy_minus_sign: | Available config options for making requests. |
177
179
 
178
180
 
179
181
  ### Response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "honeyhive",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "author": "HoneyHive",
5
5
  "scripts": {
6
6
  "prepare": "tsc --build",
@@ -1,11 +0,0 @@
1
- # CallType
2
-
3
- Type of API calling - "chat" or "completion"
4
-
5
-
6
- ## Values
7
-
8
- | Name | Value |
9
- | ------------ | ------------ |
10
- | `Chat` | chat |
11
- | `Completion` | completion |
@@ -1,9 +0,0 @@
1
- # Config
2
-
3
- Associated configuration JSON for the event - model name, vector index name, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateDatapointRequestInputs
2
-
3
- Arbitrary JSON object containing the inputs for the datapoint
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateDatapointRequestMetadata
2
-
3
- Any additional metadata for the datapoint
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateDatasetRequestMetadata
2
-
3
- Any helpful metadata to track for the dataset
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateEventRequestInputs
2
-
3
- Input JSON given to the event - prompt, chunks, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateEventRequestMetadata
2
-
3
- Any system or application metadata associated with the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateEventRequestUserProperties
2
-
3
- Any user properties associated with the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # CreateProjectRequestType
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | ------------- | ------------- |
8
- | `Completions` | completions |
9
- | `Chat` | chat |
@@ -1,9 +0,0 @@
1
- # DatasetUpdateMetadata
2
-
3
- Updated metadata to track for the dataset
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventConfig
2
-
3
- Associated configuration for the event - model, provider, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventFeedback
2
-
3
- Any user feedback provided for the event output
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventInputs
2
-
3
- Input object passed to the event - user query, text blob, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventMetadata
2
-
3
- Any system or application metadata associated with the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventMetrics
2
-
3
- Any values computed over the output of the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventOutputs
2
-
3
- Final output of the event - completion, chunks, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # EventUserProperties
2
-
3
- Any user properties associated with the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # Feedback
2
-
3
- Any user feedback provided for the event output
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,12 +0,0 @@
1
- # FunctionCallParams
2
-
3
- Function calling mode - "none", "auto" or "force"
4
-
5
-
6
- ## Values
7
-
8
- | Name | Value |
9
- | ------- | ------- |
10
- | `None` | none |
11
- | `Auto` | auto |
12
- | `Force` | force |
@@ -1,9 +0,0 @@
1
- # Hyperparameters
2
-
3
- Model-specific hyperparameters
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,7 +0,0 @@
1
- # Metadata
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # Metrics
2
-
3
- Any values computed over the output of the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # Outputs
2
-
3
- Final output JSON of the event
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,13 +0,0 @@
1
- # ParametersT
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
8
- | `callType` | [components.CallType](../../models/components/calltype.md) | :heavy_check_mark: | Type of API calling - "chat" or "completion" |
9
- | `model` | *string* | :heavy_check_mark: | Model unique name |
10
- | `hyperparameters` | [components.Hyperparameters](../../models/components/hyperparameters.md) | :heavy_minus_sign: | Model-specific hyperparameters |
11
- | `selectedFunctions` | [components.SelectedFunctions](../../models/components/selectedfunctions.md)[] | :heavy_minus_sign: | List of functions to be called by the model, refer to OpenAI schema for more details |
12
- | `functionCallParams` | [components.FunctionCallParams](../../models/components/functioncallparams.md) | :heavy_minus_sign: | Function calling mode - "none", "auto" or "force" |
13
- | `forceFunction` | Record<string, *any*> | :heavy_minus_sign: | Force function-specific parameters |
@@ -1,9 +0,0 @@
1
- # ProjectType
2
-
3
-
4
- ## Values
5
-
6
- | Name | Value |
7
- | ------------- | ------------- |
8
- | `Completions` | completions |
9
- | `Chat` | chat |
@@ -1,11 +0,0 @@
1
- # SelectedFunctions
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | --------------------------- | --------------------------- | --------------------------- | --------------------------- |
8
- | `id` | *string* | :heavy_minus_sign: | UUID of the function |
9
- | `name` | *string* | :heavy_minus_sign: | Name of the function |
10
- | `description` | *string* | :heavy_minus_sign: | Description of the function |
11
- | `parameters` | Record<string, *any*> | :heavy_minus_sign: | Parameters for the function |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestConfig
2
-
3
- Associated configuration for the session
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestFeedback
2
-
3
- Any user feedback provided for the session output
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestInputs
2
-
3
- Input object passed to the session - user query, text blob, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestMetadata
2
-
3
- Any system or application metadata associated with the session
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestMetrics
2
-
3
- Any values computed over the output of the session
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestOutputs
2
-
3
- Final output of the session - completion, chunks, etc
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # SessionStartRequestUserProperties
2
-
3
- Any user properties associated with the session
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # ToolParameters
2
-
3
- These can be function call params or plugin call params
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,11 +0,0 @@
1
- # ToolUpdate
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
8
- | `description` | *string* | :heavy_minus_sign: | N/A |
9
- | `id` | *string* | :heavy_check_mark: | N/A |
10
- | `name` | *string* | :heavy_minus_sign: | N/A |
11
- | `parameters` | [components.ToolUpdateParameters](../../models/components/toolupdateparameters.md) | :heavy_minus_sign: | N/A |
@@ -1,7 +0,0 @@
1
- # ToolUpdateParameters
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # UpdateDatapointRequestInputs
2
-
3
- Arbitrary JSON object containing the inputs for the datapoint
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # UpdateDatapointRequestMetadata
2
-
3
- Any additional metadata for the datapoint
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,9 +0,0 @@
1
- # UserProperties
2
-
3
- Details of user who created the configuration
4
-
5
-
6
- ## Fields
7
-
8
- | Field | Type | Required | Description |
9
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,10 +0,0 @@
1
- # DeleteDatasetsResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
10
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,10 +0,0 @@
1
- # DeleteEventsEventIdResponse
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
8
- | `contentType` | *string* | :heavy_check_mark: | HTTP response content type for this operation |
9
- | `statusCode` | *number* | :heavy_check_mark: | HTTP response status code for this operation |
10
- | `rawResponse` | [AxiosResponse](https://axios-http.com/docs/res_schema) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
@@ -1,7 +0,0 @@
1
- # Feedback
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------- | ----------- | ----------- | ----------- |
@@ -1,8 +0,0 @@
1
- # GetToolsSecurity
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ------------------ | ------------------ | ------------------ | ------------------ |
8
- | `bearerAuth` | *string* | :heavy_check_mark: | N/A |
@@ -1,7 +0,0 @@
1
- # Metadata
2
-
3
-
4
- ## Fields
5
-
6
- | Field | Type | Required | Description |
7
- | ----------- | ----------- | ----------- | ----------- |