@orq-ai/node 3.7.0-rc.1 → 3.7.0-rc.3

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 (252) hide show
  1. package/README.md +0 -2
  2. package/bin/mcp-server.js +3156 -1936
  3. package/bin/mcp-server.js.map +74 -77
  4. package/docs/sdks/datasets/README.md +0 -77
  5. package/docs/sdks/knowledge/README.md +1 -1
  6. package/funcs/contactsCreate.js +2 -0
  7. package/funcs/contactsCreate.js.map +1 -1
  8. package/funcs/datasetsClear.js +2 -0
  9. package/funcs/datasetsClear.js.map +1 -1
  10. package/funcs/datasetsCreate.js +2 -0
  11. package/funcs/datasetsCreate.js.map +1 -1
  12. package/funcs/datasetsCreateDatapoint.js +2 -0
  13. package/funcs/datasetsCreateDatapoint.js.map +1 -1
  14. package/funcs/datasetsCreateExperiment.js +2 -0
  15. package/funcs/datasetsCreateExperiment.js.map +1 -1
  16. package/funcs/datasetsDelete.js +2 -0
  17. package/funcs/datasetsDelete.js.map +1 -1
  18. package/funcs/datasetsDeleteDatapoint.js +2 -0
  19. package/funcs/datasetsDeleteDatapoint.js.map +1 -1
  20. package/funcs/datasetsList.js +2 -0
  21. package/funcs/datasetsList.js.map +1 -1
  22. package/funcs/datasetsListDatapoints.js +2 -0
  23. package/funcs/datasetsListDatapoints.js.map +1 -1
  24. package/funcs/datasetsRetrieve.js +2 -0
  25. package/funcs/datasetsRetrieve.js.map +1 -1
  26. package/funcs/datasetsRetrieveDatapoint.js +2 -0
  27. package/funcs/datasetsRetrieveDatapoint.js.map +1 -1
  28. package/funcs/datasetsUpdate.js +2 -0
  29. package/funcs/datasetsUpdate.js.map +1 -1
  30. package/funcs/datasetsUpdateDatapoint.js +2 -0
  31. package/funcs/datasetsUpdateDatapoint.js.map +1 -1
  32. package/funcs/deploymentsCreateExperiment.js +2 -0
  33. package/funcs/deploymentsCreateExperiment.js.map +1 -1
  34. package/funcs/deploymentsGetConfig.js +2 -0
  35. package/funcs/deploymentsGetConfig.js.map +1 -1
  36. package/funcs/deploymentsInvoke.js +2 -0
  37. package/funcs/deploymentsInvoke.js.map +1 -1
  38. package/funcs/deploymentsList.js +2 -0
  39. package/funcs/deploymentsList.js.map +1 -1
  40. package/funcs/deploymentsMetricsCreate.js +2 -0
  41. package/funcs/deploymentsMetricsCreate.js.map +1 -1
  42. package/funcs/deploymentsStream.js +2 -0
  43. package/funcs/deploymentsStream.js.map +1 -1
  44. package/funcs/feedbackCreate.js +2 -0
  45. package/funcs/feedbackCreate.js.map +1 -1
  46. package/funcs/filesCreate.js +2 -0
  47. package/funcs/filesCreate.js.map +1 -1
  48. package/funcs/filesDelete.js +2 -0
  49. package/funcs/filesDelete.js.map +1 -1
  50. package/funcs/filesGet.js +2 -0
  51. package/funcs/filesGet.js.map +1 -1
  52. package/funcs/filesList.js +2 -0
  53. package/funcs/filesList.js.map +1 -1
  54. package/funcs/knowledgeCreate.js +2 -0
  55. package/funcs/knowledgeCreate.js.map +1 -1
  56. package/funcs/knowledgeCreateChunks.d.ts +1 -1
  57. package/funcs/knowledgeCreateChunks.d.ts.map +1 -1
  58. package/funcs/knowledgeCreateChunks.js +3 -1
  59. package/funcs/knowledgeCreateChunks.js.map +1 -1
  60. package/funcs/knowledgeCreateDatasource.js +2 -0
  61. package/funcs/knowledgeCreateDatasource.js.map +1 -1
  62. package/funcs/knowledgeDelete.js +2 -0
  63. package/funcs/knowledgeDelete.js.map +1 -1
  64. package/funcs/knowledgeDeleteChunk.js +2 -0
  65. package/funcs/knowledgeDeleteChunk.js.map +1 -1
  66. package/funcs/knowledgeDeleteDatasource.js +2 -0
  67. package/funcs/knowledgeDeleteDatasource.js.map +1 -1
  68. package/funcs/knowledgeList.js +2 -0
  69. package/funcs/knowledgeList.js.map +1 -1
  70. package/funcs/knowledgeListChunks.js +2 -0
  71. package/funcs/knowledgeListChunks.js.map +1 -1
  72. package/funcs/knowledgeListDatasources.js +2 -0
  73. package/funcs/knowledgeListDatasources.js.map +1 -1
  74. package/funcs/knowledgeRetrieve.js +2 -0
  75. package/funcs/knowledgeRetrieve.js.map +1 -1
  76. package/funcs/knowledgeRetrieveChunk.js +2 -0
  77. package/funcs/knowledgeRetrieveChunk.js.map +1 -1
  78. package/funcs/knowledgeRetrieveDatasource.js +2 -0
  79. package/funcs/knowledgeRetrieveDatasource.js.map +1 -1
  80. package/funcs/knowledgeSearch.js +2 -0
  81. package/funcs/knowledgeSearch.js.map +1 -1
  82. package/funcs/knowledgeUpdate.js +2 -0
  83. package/funcs/knowledgeUpdate.js.map +1 -1
  84. package/funcs/knowledgeUpdateChunk.js +2 -0
  85. package/funcs/knowledgeUpdateChunk.js.map +1 -1
  86. package/funcs/knowledgeUpdateDatasource.js +2 -0
  87. package/funcs/knowledgeUpdateDatasource.js.map +1 -1
  88. package/funcs/modelsList.js +2 -0
  89. package/funcs/modelsList.js.map +1 -1
  90. package/funcs/promptsCreate.js +2 -0
  91. package/funcs/promptsCreate.js.map +1 -1
  92. package/funcs/promptsDelete.js +2 -0
  93. package/funcs/promptsDelete.js.map +1 -1
  94. package/funcs/promptsGetVersion.js +2 -0
  95. package/funcs/promptsGetVersion.js.map +1 -1
  96. package/funcs/promptsList.js +2 -0
  97. package/funcs/promptsList.js.map +1 -1
  98. package/funcs/promptsListVersions.js +2 -0
  99. package/funcs/promptsListVersions.js.map +1 -1
  100. package/funcs/promptsRetrieve.js +2 -0
  101. package/funcs/promptsRetrieve.js.map +1 -1
  102. package/funcs/promptsUpdate.js +2 -0
  103. package/funcs/promptsUpdate.js.map +1 -1
  104. package/funcs/remoteconfigsRetrieve.js +2 -0
  105. package/funcs/remoteconfigsRetrieve.js.map +1 -1
  106. package/hooks/types.d.ts +2 -0
  107. package/hooks/types.d.ts.map +1 -1
  108. package/jsr.json +1 -1
  109. package/lib/config.d.ts +7 -3
  110. package/lib/config.d.ts.map +1 -1
  111. package/lib/config.js +3 -3
  112. package/lib/config.js.map +1 -1
  113. package/lib/sdks.d.ts +1 -0
  114. package/lib/sdks.d.ts.map +1 -1
  115. package/lib/sdks.js +3 -3
  116. package/lib/sdks.js.map +1 -1
  117. package/mcp-server/mcp-server.js +1 -1
  118. package/mcp-server/server.d.ts.map +1 -1
  119. package/mcp-server/server.js +1 -3
  120. package/mcp-server/server.js.map +1 -1
  121. package/models/operations/createchunk.d.ts +13 -13
  122. package/models/operations/createchunk.d.ts.map +1 -1
  123. package/models/operations/createchunk.js +16 -16
  124. package/models/operations/createchunk.js.map +1 -1
  125. package/models/operations/createcontact.js +2 -2
  126. package/models/operations/createdataset.js +2 -2
  127. package/models/operations/createdatasetitem.d.ts +1805 -468
  128. package/models/operations/createdatasetitem.d.ts.map +1 -1
  129. package/models/operations/createdatasetitem.js +1635 -371
  130. package/models/operations/createdatasetitem.js.map +1 -1
  131. package/models/operations/createdatasource.js +2 -2
  132. package/models/operations/fileget.js +2 -2
  133. package/models/operations/filelist.js +2 -2
  134. package/models/operations/fileupload.js +2 -2
  135. package/models/operations/index.d.ts +0 -1
  136. package/models/operations/index.d.ts.map +1 -1
  137. package/models/operations/index.js +0 -1
  138. package/models/operations/index.js.map +1 -1
  139. package/models/operations/listdatasetdatapoints.d.ts +799 -133
  140. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  141. package/models/operations/listdatasetdatapoints.js +776 -146
  142. package/models/operations/listdatasetdatapoints.js.map +1 -1
  143. package/models/operations/listdatasets.js +2 -2
  144. package/models/operations/listdatasources.js +2 -2
  145. package/models/operations/retrievedatapoint.d.ts +799 -133
  146. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  147. package/models/operations/retrievedatapoint.js +776 -147
  148. package/models/operations/retrievedatapoint.js.map +1 -1
  149. package/models/operations/retrievedataset.js +2 -2
  150. package/models/operations/retrievedatasource.js +2 -2
  151. package/models/operations/updatedatapoint.d.ts +1806 -469
  152. package/models/operations/updatedatapoint.d.ts.map +1 -1
  153. package/models/operations/updatedatapoint.js +1764 -500
  154. package/models/operations/updatedatapoint.js.map +1 -1
  155. package/models/operations/updatedataset.js +2 -2
  156. package/models/operations/updatedatasource.js +2 -2
  157. package/package.json +1 -1
  158. package/sdk/datasets.d.ts +0 -7
  159. package/sdk/datasets.d.ts.map +1 -1
  160. package/sdk/datasets.js +0 -10
  161. package/sdk/datasets.js.map +1 -1
  162. package/sdk/knowledge.d.ts +1 -1
  163. package/sdk/knowledge.d.ts.map +1 -1
  164. package/src/funcs/contactsCreate.ts +2 -0
  165. package/src/funcs/datasetsClear.ts +2 -0
  166. package/src/funcs/datasetsCreate.ts +2 -0
  167. package/src/funcs/datasetsCreateDatapoint.ts +2 -0
  168. package/src/funcs/datasetsCreateExperiment.ts +2 -0
  169. package/src/funcs/datasetsDelete.ts +2 -0
  170. package/src/funcs/datasetsDeleteDatapoint.ts +2 -0
  171. package/src/funcs/datasetsList.ts +2 -0
  172. package/src/funcs/datasetsListDatapoints.ts +2 -0
  173. package/src/funcs/datasetsRetrieve.ts +2 -0
  174. package/src/funcs/datasetsRetrieveDatapoint.ts +2 -0
  175. package/src/funcs/datasetsUpdate.ts +2 -0
  176. package/src/funcs/datasetsUpdateDatapoint.ts +2 -0
  177. package/src/funcs/deploymentsCreateExperiment.ts +2 -0
  178. package/src/funcs/deploymentsGetConfig.ts +2 -0
  179. package/src/funcs/deploymentsInvoke.ts +2 -0
  180. package/src/funcs/deploymentsList.ts +2 -0
  181. package/src/funcs/deploymentsMetricsCreate.ts +2 -0
  182. package/src/funcs/deploymentsStream.ts +2 -0
  183. package/src/funcs/feedbackCreate.ts +2 -0
  184. package/src/funcs/filesCreate.ts +2 -0
  185. package/src/funcs/filesDelete.ts +2 -0
  186. package/src/funcs/filesGet.ts +2 -0
  187. package/src/funcs/filesList.ts +2 -0
  188. package/src/funcs/knowledgeCreate.ts +2 -0
  189. package/src/funcs/knowledgeCreateChunks.ts +6 -4
  190. package/src/funcs/knowledgeCreateDatasource.ts +2 -0
  191. package/src/funcs/knowledgeDelete.ts +2 -0
  192. package/src/funcs/knowledgeDeleteChunk.ts +2 -0
  193. package/src/funcs/knowledgeDeleteDatasource.ts +2 -0
  194. package/src/funcs/knowledgeList.ts +2 -0
  195. package/src/funcs/knowledgeListChunks.ts +2 -0
  196. package/src/funcs/knowledgeListDatasources.ts +2 -0
  197. package/src/funcs/knowledgeRetrieve.ts +2 -0
  198. package/src/funcs/knowledgeRetrieveChunk.ts +2 -0
  199. package/src/funcs/knowledgeRetrieveDatasource.ts +2 -0
  200. package/src/funcs/knowledgeSearch.ts +2 -0
  201. package/src/funcs/knowledgeUpdate.ts +2 -0
  202. package/src/funcs/knowledgeUpdateChunk.ts +2 -0
  203. package/src/funcs/knowledgeUpdateDatasource.ts +2 -0
  204. package/src/funcs/modelsList.ts +2 -0
  205. package/src/funcs/promptsCreate.ts +2 -0
  206. package/src/funcs/promptsDelete.ts +2 -0
  207. package/src/funcs/promptsGetVersion.ts +2 -0
  208. package/src/funcs/promptsList.ts +2 -0
  209. package/src/funcs/promptsListVersions.ts +2 -0
  210. package/src/funcs/promptsRetrieve.ts +2 -0
  211. package/src/funcs/promptsUpdate.ts +2 -0
  212. package/src/funcs/remoteconfigsRetrieve.ts +2 -0
  213. package/src/hooks/types.ts +2 -0
  214. package/src/lib/config.ts +7 -3
  215. package/src/lib/sdks.ts +10 -4
  216. package/src/mcp-server/mcp-server.ts +1 -1
  217. package/src/mcp-server/server.ts +1 -3
  218. package/src/models/operations/createchunk.ts +20 -24
  219. package/src/models/operations/createcontact.ts +2 -2
  220. package/src/models/operations/createdataset.ts +2 -2
  221. package/src/models/operations/createdatasetitem.ts +4045 -972
  222. package/src/models/operations/createdatasource.ts +2 -2
  223. package/src/models/operations/fileget.ts +2 -2
  224. package/src/models/operations/filelist.ts +2 -2
  225. package/src/models/operations/fileupload.ts +2 -2
  226. package/src/models/operations/index.ts +0 -1
  227. package/src/models/operations/listdatasetdatapoints.ts +1805 -301
  228. package/src/models/operations/listdatasets.ts +2 -2
  229. package/src/models/operations/listdatasources.ts +2 -2
  230. package/src/models/operations/retrievedatapoint.ts +1737 -277
  231. package/src/models/operations/retrievedataset.ts +2 -2
  232. package/src/models/operations/retrievedatasource.ts +2 -2
  233. package/src/models/operations/updatedatapoint.ts +3990 -976
  234. package/src/models/operations/updatedataset.ts +2 -2
  235. package/src/models/operations/updatedatasource.ts +2 -2
  236. package/src/sdk/datasets.ts +0 -18
  237. package/src/sdk/knowledge.ts +1 -1
  238. package/funcs/datasetsCreateDatapoints.d.ts +0 -16
  239. package/funcs/datasetsCreateDatapoints.d.ts.map +0 -1
  240. package/funcs/datasetsCreateDatapoints.js +0 -119
  241. package/funcs/datasetsCreateDatapoints.js.map +0 -1
  242. package/mcp-server/tools/datasetsCreateDatapoints.d.ts +0 -8
  243. package/mcp-server/tools/datasetsCreateDatapoints.d.ts.map +0 -1
  244. package/mcp-server/tools/datasetsCreateDatapoints.js +0 -64
  245. package/mcp-server/tools/datasetsCreateDatapoints.js.map +0 -1
  246. package/models/operations/bulkcreatedatapoints.d.ts +0 -1059
  247. package/models/operations/bulkcreatedatapoints.d.ts.map +0 -1
  248. package/models/operations/bulkcreatedatapoints.js +0 -1129
  249. package/models/operations/bulkcreatedatapoints.js.map +0 -1
  250. package/src/funcs/datasetsCreateDatapoints.ts +0 -165
  251. package/src/mcp-server/tools/datasetsCreateDatapoints.ts +0 -37
  252. package/src/models/operations/bulkcreatedatapoints.ts +0 -2232
@@ -1,1059 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- import { Result as SafeParseResult } from "../../types/fp.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- /**
6
- * The role of the prompt message
7
- */
8
- export declare const BulkCreateDatapointsRole: {
9
- readonly System: "system";
10
- readonly Assistant: "assistant";
11
- readonly User: "user";
12
- readonly Exception: "exception";
13
- readonly Tool: "tool";
14
- readonly Prompt: "prompt";
15
- readonly Correction: "correction";
16
- readonly ExpectedOutput: "expected_output";
17
- };
18
- /**
19
- * The role of the prompt message
20
- */
21
- export type BulkCreateDatapointsRole = ClosedEnum<typeof BulkCreateDatapointsRole>;
22
- /**
23
- * The type of the content part. Always `file`.
24
- */
25
- export declare const BulkCreateDatapoints2DatasetsRequestType: {
26
- readonly File: "file";
27
- };
28
- /**
29
- * The type of the content part. Always `file`.
30
- */
31
- export type BulkCreateDatapoints2DatasetsRequestType = ClosedEnum<typeof BulkCreateDatapoints2DatasetsRequestType>;
32
- export type BulkCreateDatapoints2File = {
33
- /**
34
- * The base64 encoded file data, used when passing the file to the model as a string.
35
- */
36
- fileData: string;
37
- /**
38
- * The name of the file, used when passing the file to the model as a string.
39
- */
40
- filename?: string | undefined;
41
- };
42
- export type BulkCreateDatapoints23 = {
43
- /**
44
- * The type of the content part. Always `file`.
45
- */
46
- type: BulkCreateDatapoints2DatasetsRequestType;
47
- file: BulkCreateDatapoints2File;
48
- };
49
- export declare const BulkCreateDatapoints2DatasetsType: {
50
- readonly ImageUrl: "image_url";
51
- };
52
- export type BulkCreateDatapoints2DatasetsType = ClosedEnum<typeof BulkCreateDatapoints2DatasetsType>;
53
- export type BulkCreateDatapoints2ImageUrl = {
54
- /**
55
- * Either a URL of the image or the base64 encoded data URI.
56
- */
57
- url: string;
58
- /**
59
- * Specifies the detail level of the image. Currently only supported with OpenAI models
60
- */
61
- detail?: string | undefined;
62
- };
63
- /**
64
- * The image part of the prompt message. Only supported with vision models.
65
- */
66
- export type BulkCreateDatapoints22 = {
67
- type: BulkCreateDatapoints2DatasetsType;
68
- imageUrl: BulkCreateDatapoints2ImageUrl;
69
- };
70
- export declare const BulkCreateDatapoints2Type: {
71
- readonly Text: "text";
72
- };
73
- export type BulkCreateDatapoints2Type = ClosedEnum<typeof BulkCreateDatapoints2Type>;
74
- /**
75
- * Text content part of a prompt message
76
- */
77
- export type BulkCreateDatapoints21 = {
78
- type: BulkCreateDatapoints2Type;
79
- text: string;
80
- };
81
- export type BulkCreateDatapointsContent2 = BulkCreateDatapoints21 | BulkCreateDatapoints22 | BulkCreateDatapoints23;
82
- /**
83
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
84
- */
85
- export type BulkCreateDatapointsContent = string | Array<BulkCreateDatapoints21 | BulkCreateDatapoints22 | BulkCreateDatapoints23>;
86
- export declare const BulkCreateDatapointsType: {
87
- readonly Function: "function";
88
- };
89
- export type BulkCreateDatapointsType = ClosedEnum<typeof BulkCreateDatapointsType>;
90
- export type BulkCreateDatapointsFunction = {
91
- name: string;
92
- /**
93
- * JSON string arguments for the functions
94
- */
95
- arguments: string;
96
- };
97
- export type BulkCreateDatapointsToolCalls = {
98
- id?: string | undefined;
99
- index?: number | undefined;
100
- type: BulkCreateDatapointsType;
101
- function: BulkCreateDatapointsFunction;
102
- };
103
- export type BulkCreateDatapointsMessages = {
104
- /**
105
- * The role of the prompt message
106
- */
107
- role: BulkCreateDatapointsRole;
108
- /**
109
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
110
- */
111
- content: string | Array<BulkCreateDatapoints21 | BulkCreateDatapoints22 | BulkCreateDatapoints23>;
112
- toolCalls?: Array<BulkCreateDatapointsToolCalls> | undefined;
113
- toolCallId?: string | undefined;
114
- };
115
- export type Items = {
116
- /**
117
- * The inputs of the dataset. Key value pairs where the key is the input name and the value is the input value. Nested objects are not supported.
118
- */
119
- inputs?: {
120
- [k: string]: any;
121
- } | undefined;
122
- /**
123
- * The prompt template messages
124
- */
125
- messages?: Array<BulkCreateDatapointsMessages> | undefined;
126
- expectedOutput?: string | undefined;
127
- };
128
- export type BulkCreateDatapointsRequestBody = {
129
- items: Array<Items>;
130
- };
131
- export type BulkCreateDatapointsRequest = {
132
- datasetId: string;
133
- requestBody?: BulkCreateDatapointsRequestBody | undefined;
134
- };
135
- /**
136
- * The role of the prompt message
137
- */
138
- export declare const BulkCreateDatapointsDatasetsRole: {
139
- readonly System: "system";
140
- readonly Assistant: "assistant";
141
- readonly User: "user";
142
- readonly Exception: "exception";
143
- readonly Tool: "tool";
144
- readonly Prompt: "prompt";
145
- readonly Correction: "correction";
146
- readonly ExpectedOutput: "expected_output";
147
- };
148
- /**
149
- * The role of the prompt message
150
- */
151
- export type BulkCreateDatapointsDatasetsRole = ClosedEnum<typeof BulkCreateDatapointsDatasetsRole>;
152
- /**
153
- * The type of the content part. Always `file`.
154
- */
155
- export declare const BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType: {
156
- readonly File: "file";
157
- };
158
- /**
159
- * The type of the content part. Always `file`.
160
- */
161
- export type BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType = ClosedEnum<typeof BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType>;
162
- export type BulkCreateDatapoints2DatasetsFile = {
163
- /**
164
- * The base64 encoded file data, used when passing the file to the model as a string.
165
- */
166
- fileData: string;
167
- /**
168
- * The name of the file, used when passing the file to the model as a string.
169
- */
170
- filename?: string | undefined;
171
- };
172
- export type BulkCreateDatapoints2Datasets3 = {
173
- /**
174
- * The type of the content part. Always `file`.
175
- */
176
- type: BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType;
177
- file: BulkCreateDatapoints2DatasetsFile;
178
- };
179
- export declare const BulkCreateDatapoints2DatasetsResponse200Type: {
180
- readonly ImageUrl: "image_url";
181
- };
182
- export type BulkCreateDatapoints2DatasetsResponse200Type = ClosedEnum<typeof BulkCreateDatapoints2DatasetsResponse200Type>;
183
- export type BulkCreateDatapoints2DatasetsImageUrl = {
184
- /**
185
- * The orq.ai id of the image
186
- */
187
- id?: string | undefined;
188
- /**
189
- * Either a URL of the image or the base64 encoded data URI.
190
- */
191
- url: string;
192
- /**
193
- * Specifies the detail level of the image. Currently only supported with OpenAI models
194
- */
195
- detail?: string | undefined;
196
- };
197
- /**
198
- * The image part of the prompt message. Only supported with vision models.
199
- */
200
- export type BulkCreateDatapoints2Datasets2 = {
201
- type: BulkCreateDatapoints2DatasetsResponse200Type;
202
- imageUrl: BulkCreateDatapoints2DatasetsImageUrl;
203
- };
204
- export declare const BulkCreateDatapoints2DatasetsResponseType: {
205
- readonly Text: "text";
206
- };
207
- export type BulkCreateDatapoints2DatasetsResponseType = ClosedEnum<typeof BulkCreateDatapoints2DatasetsResponseType>;
208
- /**
209
- * Text content part of a prompt message
210
- */
211
- export type BulkCreateDatapoints2Datasets1 = {
212
- type: BulkCreateDatapoints2DatasetsResponseType;
213
- text: string;
214
- };
215
- export type BulkCreateDatapointsContentDatasets2 = BulkCreateDatapoints2Datasets1 | BulkCreateDatapoints2Datasets2 | BulkCreateDatapoints2Datasets3;
216
- /**
217
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
218
- */
219
- export type BulkCreateDatapointsDatasetsContent = string | Array<BulkCreateDatapoints2Datasets1 | BulkCreateDatapoints2Datasets2 | BulkCreateDatapoints2Datasets3>;
220
- export declare const BulkCreateDatapointsDatasetsType: {
221
- readonly Function: "function";
222
- };
223
- export type BulkCreateDatapointsDatasetsType = ClosedEnum<typeof BulkCreateDatapointsDatasetsType>;
224
- export type BulkCreateDatapointsDatasetsFunction = {
225
- name: string;
226
- /**
227
- * JSON string arguments for the functions
228
- */
229
- arguments: string;
230
- };
231
- export type BulkCreateDatapointsDatasetsToolCalls = {
232
- id?: string | undefined;
233
- index?: number | undefined;
234
- type: BulkCreateDatapointsDatasetsType;
235
- function: BulkCreateDatapointsDatasetsFunction;
236
- };
237
- export type BulkCreateDatapointsDatasetsMessages = {
238
- /**
239
- * The role of the prompt message
240
- */
241
- role: BulkCreateDatapointsDatasetsRole;
242
- /**
243
- * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
244
- */
245
- content: string | Array<BulkCreateDatapoints2Datasets1 | BulkCreateDatapoints2Datasets2 | BulkCreateDatapoints2Datasets3>;
246
- toolCalls?: Array<BulkCreateDatapointsDatasetsToolCalls> | undefined;
247
- toolCallId?: string | undefined;
248
- };
249
- export type ResponseBody = {
250
- /**
251
- * The unique identifier of the dataset item
252
- */
253
- id: string;
254
- /**
255
- * The unique identifier of the workspace it belongs to
256
- */
257
- workspaceId: string;
258
- /**
259
- * The inputs of the dataset. Key value pairs where the key is the input name and the value is the input value. Nested objects are not supported.
260
- */
261
- inputs?: {
262
- [k: string]: any;
263
- } | undefined;
264
- /**
265
- * The prompt template messages
266
- */
267
- messages?: Array<BulkCreateDatapointsDatasetsMessages> | undefined;
268
- expectedOutput?: string | undefined;
269
- /**
270
- * The unique identifier of the dataset
271
- */
272
- datasetId: string;
273
- /**
274
- * The unique identifier of the user who created the dataset
275
- */
276
- createdById?: string | undefined;
277
- /**
278
- * The unique identifier of the user who last updated the dataset
279
- */
280
- updatedById?: string | undefined;
281
- /**
282
- * The date and time the resource was created
283
- */
284
- created?: Date | undefined;
285
- /**
286
- * The date and time the resource was last updated
287
- */
288
- updated?: Date | undefined;
289
- };
290
- /** @internal */
291
- export declare const BulkCreateDatapointsRole$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsRole>;
292
- /** @internal */
293
- export declare const BulkCreateDatapointsRole$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsRole>;
294
- /**
295
- * @internal
296
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
297
- */
298
- export declare namespace BulkCreateDatapointsRole$ {
299
- /** @deprecated use `BulkCreateDatapointsRole$inboundSchema` instead. */
300
- const inboundSchema: z.ZodNativeEnum<{
301
- readonly System: "system";
302
- readonly Assistant: "assistant";
303
- readonly User: "user";
304
- readonly Exception: "exception";
305
- readonly Tool: "tool";
306
- readonly Prompt: "prompt";
307
- readonly Correction: "correction";
308
- readonly ExpectedOutput: "expected_output";
309
- }>;
310
- /** @deprecated use `BulkCreateDatapointsRole$outboundSchema` instead. */
311
- const outboundSchema: z.ZodNativeEnum<{
312
- readonly System: "system";
313
- readonly Assistant: "assistant";
314
- readonly User: "user";
315
- readonly Exception: "exception";
316
- readonly Tool: "tool";
317
- readonly Prompt: "prompt";
318
- readonly Correction: "correction";
319
- readonly ExpectedOutput: "expected_output";
320
- }>;
321
- }
322
- /** @internal */
323
- export declare const BulkCreateDatapoints2DatasetsRequestType$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsRequestType>;
324
- /** @internal */
325
- export declare const BulkCreateDatapoints2DatasetsRequestType$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsRequestType>;
326
- /**
327
- * @internal
328
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
329
- */
330
- export declare namespace BulkCreateDatapoints2DatasetsRequestType$ {
331
- /** @deprecated use `BulkCreateDatapoints2DatasetsRequestType$inboundSchema` instead. */
332
- const inboundSchema: z.ZodNativeEnum<{
333
- readonly File: "file";
334
- }>;
335
- /** @deprecated use `BulkCreateDatapoints2DatasetsRequestType$outboundSchema` instead. */
336
- const outboundSchema: z.ZodNativeEnum<{
337
- readonly File: "file";
338
- }>;
339
- }
340
- /** @internal */
341
- export declare const BulkCreateDatapoints2File$inboundSchema: z.ZodType<BulkCreateDatapoints2File, z.ZodTypeDef, unknown>;
342
- /** @internal */
343
- export type BulkCreateDatapoints2File$Outbound = {
344
- file_data: string;
345
- filename?: string | undefined;
346
- };
347
- /** @internal */
348
- export declare const BulkCreateDatapoints2File$outboundSchema: z.ZodType<BulkCreateDatapoints2File$Outbound, z.ZodTypeDef, BulkCreateDatapoints2File>;
349
- /**
350
- * @internal
351
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
352
- */
353
- export declare namespace BulkCreateDatapoints2File$ {
354
- /** @deprecated use `BulkCreateDatapoints2File$inboundSchema` instead. */
355
- const inboundSchema: z.ZodType<BulkCreateDatapoints2File, z.ZodTypeDef, unknown>;
356
- /** @deprecated use `BulkCreateDatapoints2File$outboundSchema` instead. */
357
- const outboundSchema: z.ZodType<BulkCreateDatapoints2File$Outbound, z.ZodTypeDef, BulkCreateDatapoints2File>;
358
- /** @deprecated use `BulkCreateDatapoints2File$Outbound` instead. */
359
- type Outbound = BulkCreateDatapoints2File$Outbound;
360
- }
361
- export declare function bulkCreateDatapoints2FileToJSON(bulkCreateDatapoints2File: BulkCreateDatapoints2File): string;
362
- export declare function bulkCreateDatapoints2FileFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2File, SDKValidationError>;
363
- /** @internal */
364
- export declare const BulkCreateDatapoints23$inboundSchema: z.ZodType<BulkCreateDatapoints23, z.ZodTypeDef, unknown>;
365
- /** @internal */
366
- export type BulkCreateDatapoints23$Outbound = {
367
- type: string;
368
- file: BulkCreateDatapoints2File$Outbound;
369
- };
370
- /** @internal */
371
- export declare const BulkCreateDatapoints23$outboundSchema: z.ZodType<BulkCreateDatapoints23$Outbound, z.ZodTypeDef, BulkCreateDatapoints23>;
372
- /**
373
- * @internal
374
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
375
- */
376
- export declare namespace BulkCreateDatapoints23$ {
377
- /** @deprecated use `BulkCreateDatapoints23$inboundSchema` instead. */
378
- const inboundSchema: z.ZodType<BulkCreateDatapoints23, z.ZodTypeDef, unknown>;
379
- /** @deprecated use `BulkCreateDatapoints23$outboundSchema` instead. */
380
- const outboundSchema: z.ZodType<BulkCreateDatapoints23$Outbound, z.ZodTypeDef, BulkCreateDatapoints23>;
381
- /** @deprecated use `BulkCreateDatapoints23$Outbound` instead. */
382
- type Outbound = BulkCreateDatapoints23$Outbound;
383
- }
384
- export declare function bulkCreateDatapoints23ToJSON(bulkCreateDatapoints23: BulkCreateDatapoints23): string;
385
- export declare function bulkCreateDatapoints23FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints23, SDKValidationError>;
386
- /** @internal */
387
- export declare const BulkCreateDatapoints2DatasetsType$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsType>;
388
- /** @internal */
389
- export declare const BulkCreateDatapoints2DatasetsType$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsType>;
390
- /**
391
- * @internal
392
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
393
- */
394
- export declare namespace BulkCreateDatapoints2DatasetsType$ {
395
- /** @deprecated use `BulkCreateDatapoints2DatasetsType$inboundSchema` instead. */
396
- const inboundSchema: z.ZodNativeEnum<{
397
- readonly ImageUrl: "image_url";
398
- }>;
399
- /** @deprecated use `BulkCreateDatapoints2DatasetsType$outboundSchema` instead. */
400
- const outboundSchema: z.ZodNativeEnum<{
401
- readonly ImageUrl: "image_url";
402
- }>;
403
- }
404
- /** @internal */
405
- export declare const BulkCreateDatapoints2ImageUrl$inboundSchema: z.ZodType<BulkCreateDatapoints2ImageUrl, z.ZodTypeDef, unknown>;
406
- /** @internal */
407
- export type BulkCreateDatapoints2ImageUrl$Outbound = {
408
- url: string;
409
- detail?: string | undefined;
410
- };
411
- /** @internal */
412
- export declare const BulkCreateDatapoints2ImageUrl$outboundSchema: z.ZodType<BulkCreateDatapoints2ImageUrl$Outbound, z.ZodTypeDef, BulkCreateDatapoints2ImageUrl>;
413
- /**
414
- * @internal
415
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
416
- */
417
- export declare namespace BulkCreateDatapoints2ImageUrl$ {
418
- /** @deprecated use `BulkCreateDatapoints2ImageUrl$inboundSchema` instead. */
419
- const inboundSchema: z.ZodType<BulkCreateDatapoints2ImageUrl, z.ZodTypeDef, unknown>;
420
- /** @deprecated use `BulkCreateDatapoints2ImageUrl$outboundSchema` instead. */
421
- const outboundSchema: z.ZodType<BulkCreateDatapoints2ImageUrl$Outbound, z.ZodTypeDef, BulkCreateDatapoints2ImageUrl>;
422
- /** @deprecated use `BulkCreateDatapoints2ImageUrl$Outbound` instead. */
423
- type Outbound = BulkCreateDatapoints2ImageUrl$Outbound;
424
- }
425
- export declare function bulkCreateDatapoints2ImageUrlToJSON(bulkCreateDatapoints2ImageUrl: BulkCreateDatapoints2ImageUrl): string;
426
- export declare function bulkCreateDatapoints2ImageUrlFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2ImageUrl, SDKValidationError>;
427
- /** @internal */
428
- export declare const BulkCreateDatapoints22$inboundSchema: z.ZodType<BulkCreateDatapoints22, z.ZodTypeDef, unknown>;
429
- /** @internal */
430
- export type BulkCreateDatapoints22$Outbound = {
431
- type: string;
432
- image_url: BulkCreateDatapoints2ImageUrl$Outbound;
433
- };
434
- /** @internal */
435
- export declare const BulkCreateDatapoints22$outboundSchema: z.ZodType<BulkCreateDatapoints22$Outbound, z.ZodTypeDef, BulkCreateDatapoints22>;
436
- /**
437
- * @internal
438
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
439
- */
440
- export declare namespace BulkCreateDatapoints22$ {
441
- /** @deprecated use `BulkCreateDatapoints22$inboundSchema` instead. */
442
- const inboundSchema: z.ZodType<BulkCreateDatapoints22, z.ZodTypeDef, unknown>;
443
- /** @deprecated use `BulkCreateDatapoints22$outboundSchema` instead. */
444
- const outboundSchema: z.ZodType<BulkCreateDatapoints22$Outbound, z.ZodTypeDef, BulkCreateDatapoints22>;
445
- /** @deprecated use `BulkCreateDatapoints22$Outbound` instead. */
446
- type Outbound = BulkCreateDatapoints22$Outbound;
447
- }
448
- export declare function bulkCreateDatapoints22ToJSON(bulkCreateDatapoints22: BulkCreateDatapoints22): string;
449
- export declare function bulkCreateDatapoints22FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints22, SDKValidationError>;
450
- /** @internal */
451
- export declare const BulkCreateDatapoints2Type$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2Type>;
452
- /** @internal */
453
- export declare const BulkCreateDatapoints2Type$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2Type>;
454
- /**
455
- * @internal
456
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
457
- */
458
- export declare namespace BulkCreateDatapoints2Type$ {
459
- /** @deprecated use `BulkCreateDatapoints2Type$inboundSchema` instead. */
460
- const inboundSchema: z.ZodNativeEnum<{
461
- readonly Text: "text";
462
- }>;
463
- /** @deprecated use `BulkCreateDatapoints2Type$outboundSchema` instead. */
464
- const outboundSchema: z.ZodNativeEnum<{
465
- readonly Text: "text";
466
- }>;
467
- }
468
- /** @internal */
469
- export declare const BulkCreateDatapoints21$inboundSchema: z.ZodType<BulkCreateDatapoints21, z.ZodTypeDef, unknown>;
470
- /** @internal */
471
- export type BulkCreateDatapoints21$Outbound = {
472
- type: string;
473
- text: string;
474
- };
475
- /** @internal */
476
- export declare const BulkCreateDatapoints21$outboundSchema: z.ZodType<BulkCreateDatapoints21$Outbound, z.ZodTypeDef, BulkCreateDatapoints21>;
477
- /**
478
- * @internal
479
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
480
- */
481
- export declare namespace BulkCreateDatapoints21$ {
482
- /** @deprecated use `BulkCreateDatapoints21$inboundSchema` instead. */
483
- const inboundSchema: z.ZodType<BulkCreateDatapoints21, z.ZodTypeDef, unknown>;
484
- /** @deprecated use `BulkCreateDatapoints21$outboundSchema` instead. */
485
- const outboundSchema: z.ZodType<BulkCreateDatapoints21$Outbound, z.ZodTypeDef, BulkCreateDatapoints21>;
486
- /** @deprecated use `BulkCreateDatapoints21$Outbound` instead. */
487
- type Outbound = BulkCreateDatapoints21$Outbound;
488
- }
489
- export declare function bulkCreateDatapoints21ToJSON(bulkCreateDatapoints21: BulkCreateDatapoints21): string;
490
- export declare function bulkCreateDatapoints21FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints21, SDKValidationError>;
491
- /** @internal */
492
- export declare const BulkCreateDatapointsContent2$inboundSchema: z.ZodType<BulkCreateDatapointsContent2, z.ZodTypeDef, unknown>;
493
- /** @internal */
494
- export type BulkCreateDatapointsContent2$Outbound = BulkCreateDatapoints21$Outbound | BulkCreateDatapoints22$Outbound | BulkCreateDatapoints23$Outbound;
495
- /** @internal */
496
- export declare const BulkCreateDatapointsContent2$outboundSchema: z.ZodType<BulkCreateDatapointsContent2$Outbound, z.ZodTypeDef, BulkCreateDatapointsContent2>;
497
- /**
498
- * @internal
499
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
500
- */
501
- export declare namespace BulkCreateDatapointsContent2$ {
502
- /** @deprecated use `BulkCreateDatapointsContent2$inboundSchema` instead. */
503
- const inboundSchema: z.ZodType<BulkCreateDatapointsContent2, z.ZodTypeDef, unknown>;
504
- /** @deprecated use `BulkCreateDatapointsContent2$outboundSchema` instead. */
505
- const outboundSchema: z.ZodType<BulkCreateDatapointsContent2$Outbound, z.ZodTypeDef, BulkCreateDatapointsContent2>;
506
- /** @deprecated use `BulkCreateDatapointsContent2$Outbound` instead. */
507
- type Outbound = BulkCreateDatapointsContent2$Outbound;
508
- }
509
- export declare function bulkCreateDatapointsContent2ToJSON(bulkCreateDatapointsContent2: BulkCreateDatapointsContent2): string;
510
- export declare function bulkCreateDatapointsContent2FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsContent2, SDKValidationError>;
511
- /** @internal */
512
- export declare const BulkCreateDatapointsContent$inboundSchema: z.ZodType<BulkCreateDatapointsContent, z.ZodTypeDef, unknown>;
513
- /** @internal */
514
- export type BulkCreateDatapointsContent$Outbound = string | Array<BulkCreateDatapoints21$Outbound | BulkCreateDatapoints22$Outbound | BulkCreateDatapoints23$Outbound>;
515
- /** @internal */
516
- export declare const BulkCreateDatapointsContent$outboundSchema: z.ZodType<BulkCreateDatapointsContent$Outbound, z.ZodTypeDef, BulkCreateDatapointsContent>;
517
- /**
518
- * @internal
519
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
520
- */
521
- export declare namespace BulkCreateDatapointsContent$ {
522
- /** @deprecated use `BulkCreateDatapointsContent$inboundSchema` instead. */
523
- const inboundSchema: z.ZodType<BulkCreateDatapointsContent, z.ZodTypeDef, unknown>;
524
- /** @deprecated use `BulkCreateDatapointsContent$outboundSchema` instead. */
525
- const outboundSchema: z.ZodType<BulkCreateDatapointsContent$Outbound, z.ZodTypeDef, BulkCreateDatapointsContent>;
526
- /** @deprecated use `BulkCreateDatapointsContent$Outbound` instead. */
527
- type Outbound = BulkCreateDatapointsContent$Outbound;
528
- }
529
- export declare function bulkCreateDatapointsContentToJSON(bulkCreateDatapointsContent: BulkCreateDatapointsContent): string;
530
- export declare function bulkCreateDatapointsContentFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsContent, SDKValidationError>;
531
- /** @internal */
532
- export declare const BulkCreateDatapointsType$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsType>;
533
- /** @internal */
534
- export declare const BulkCreateDatapointsType$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsType>;
535
- /**
536
- * @internal
537
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
538
- */
539
- export declare namespace BulkCreateDatapointsType$ {
540
- /** @deprecated use `BulkCreateDatapointsType$inboundSchema` instead. */
541
- const inboundSchema: z.ZodNativeEnum<{
542
- readonly Function: "function";
543
- }>;
544
- /** @deprecated use `BulkCreateDatapointsType$outboundSchema` instead. */
545
- const outboundSchema: z.ZodNativeEnum<{
546
- readonly Function: "function";
547
- }>;
548
- }
549
- /** @internal */
550
- export declare const BulkCreateDatapointsFunction$inboundSchema: z.ZodType<BulkCreateDatapointsFunction, z.ZodTypeDef, unknown>;
551
- /** @internal */
552
- export type BulkCreateDatapointsFunction$Outbound = {
553
- name: string;
554
- arguments: string;
555
- };
556
- /** @internal */
557
- export declare const BulkCreateDatapointsFunction$outboundSchema: z.ZodType<BulkCreateDatapointsFunction$Outbound, z.ZodTypeDef, BulkCreateDatapointsFunction>;
558
- /**
559
- * @internal
560
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
561
- */
562
- export declare namespace BulkCreateDatapointsFunction$ {
563
- /** @deprecated use `BulkCreateDatapointsFunction$inboundSchema` instead. */
564
- const inboundSchema: z.ZodType<BulkCreateDatapointsFunction, z.ZodTypeDef, unknown>;
565
- /** @deprecated use `BulkCreateDatapointsFunction$outboundSchema` instead. */
566
- const outboundSchema: z.ZodType<BulkCreateDatapointsFunction$Outbound, z.ZodTypeDef, BulkCreateDatapointsFunction>;
567
- /** @deprecated use `BulkCreateDatapointsFunction$Outbound` instead. */
568
- type Outbound = BulkCreateDatapointsFunction$Outbound;
569
- }
570
- export declare function bulkCreateDatapointsFunctionToJSON(bulkCreateDatapointsFunction: BulkCreateDatapointsFunction): string;
571
- export declare function bulkCreateDatapointsFunctionFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsFunction, SDKValidationError>;
572
- /** @internal */
573
- export declare const BulkCreateDatapointsToolCalls$inboundSchema: z.ZodType<BulkCreateDatapointsToolCalls, z.ZodTypeDef, unknown>;
574
- /** @internal */
575
- export type BulkCreateDatapointsToolCalls$Outbound = {
576
- id?: string | undefined;
577
- index?: number | undefined;
578
- type: string;
579
- function: BulkCreateDatapointsFunction$Outbound;
580
- };
581
- /** @internal */
582
- export declare const BulkCreateDatapointsToolCalls$outboundSchema: z.ZodType<BulkCreateDatapointsToolCalls$Outbound, z.ZodTypeDef, BulkCreateDatapointsToolCalls>;
583
- /**
584
- * @internal
585
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
586
- */
587
- export declare namespace BulkCreateDatapointsToolCalls$ {
588
- /** @deprecated use `BulkCreateDatapointsToolCalls$inboundSchema` instead. */
589
- const inboundSchema: z.ZodType<BulkCreateDatapointsToolCalls, z.ZodTypeDef, unknown>;
590
- /** @deprecated use `BulkCreateDatapointsToolCalls$outboundSchema` instead. */
591
- const outboundSchema: z.ZodType<BulkCreateDatapointsToolCalls$Outbound, z.ZodTypeDef, BulkCreateDatapointsToolCalls>;
592
- /** @deprecated use `BulkCreateDatapointsToolCalls$Outbound` instead. */
593
- type Outbound = BulkCreateDatapointsToolCalls$Outbound;
594
- }
595
- export declare function bulkCreateDatapointsToolCallsToJSON(bulkCreateDatapointsToolCalls: BulkCreateDatapointsToolCalls): string;
596
- export declare function bulkCreateDatapointsToolCallsFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsToolCalls, SDKValidationError>;
597
- /** @internal */
598
- export declare const BulkCreateDatapointsMessages$inboundSchema: z.ZodType<BulkCreateDatapointsMessages, z.ZodTypeDef, unknown>;
599
- /** @internal */
600
- export type BulkCreateDatapointsMessages$Outbound = {
601
- role: string;
602
- content: string | Array<BulkCreateDatapoints21$Outbound | BulkCreateDatapoints22$Outbound | BulkCreateDatapoints23$Outbound>;
603
- tool_calls?: Array<BulkCreateDatapointsToolCalls$Outbound> | undefined;
604
- tool_call_id?: string | undefined;
605
- };
606
- /** @internal */
607
- export declare const BulkCreateDatapointsMessages$outboundSchema: z.ZodType<BulkCreateDatapointsMessages$Outbound, z.ZodTypeDef, BulkCreateDatapointsMessages>;
608
- /**
609
- * @internal
610
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
611
- */
612
- export declare namespace BulkCreateDatapointsMessages$ {
613
- /** @deprecated use `BulkCreateDatapointsMessages$inboundSchema` instead. */
614
- const inboundSchema: z.ZodType<BulkCreateDatapointsMessages, z.ZodTypeDef, unknown>;
615
- /** @deprecated use `BulkCreateDatapointsMessages$outboundSchema` instead. */
616
- const outboundSchema: z.ZodType<BulkCreateDatapointsMessages$Outbound, z.ZodTypeDef, BulkCreateDatapointsMessages>;
617
- /** @deprecated use `BulkCreateDatapointsMessages$Outbound` instead. */
618
- type Outbound = BulkCreateDatapointsMessages$Outbound;
619
- }
620
- export declare function bulkCreateDatapointsMessagesToJSON(bulkCreateDatapointsMessages: BulkCreateDatapointsMessages): string;
621
- export declare function bulkCreateDatapointsMessagesFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsMessages, SDKValidationError>;
622
- /** @internal */
623
- export declare const Items$inboundSchema: z.ZodType<Items, z.ZodTypeDef, unknown>;
624
- /** @internal */
625
- export type Items$Outbound = {
626
- inputs?: {
627
- [k: string]: any;
628
- } | undefined;
629
- messages?: Array<BulkCreateDatapointsMessages$Outbound> | undefined;
630
- expected_output?: string | undefined;
631
- };
632
- /** @internal */
633
- export declare const Items$outboundSchema: z.ZodType<Items$Outbound, z.ZodTypeDef, Items>;
634
- /**
635
- * @internal
636
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
637
- */
638
- export declare namespace Items$ {
639
- /** @deprecated use `Items$inboundSchema` instead. */
640
- const inboundSchema: z.ZodType<Items, z.ZodTypeDef, unknown>;
641
- /** @deprecated use `Items$outboundSchema` instead. */
642
- const outboundSchema: z.ZodType<Items$Outbound, z.ZodTypeDef, Items>;
643
- /** @deprecated use `Items$Outbound` instead. */
644
- type Outbound = Items$Outbound;
645
- }
646
- export declare function itemsToJSON(items: Items): string;
647
- export declare function itemsFromJSON(jsonString: string): SafeParseResult<Items, SDKValidationError>;
648
- /** @internal */
649
- export declare const BulkCreateDatapointsRequestBody$inboundSchema: z.ZodType<BulkCreateDatapointsRequestBody, z.ZodTypeDef, unknown>;
650
- /** @internal */
651
- export type BulkCreateDatapointsRequestBody$Outbound = {
652
- items: Array<Items$Outbound>;
653
- };
654
- /** @internal */
655
- export declare const BulkCreateDatapointsRequestBody$outboundSchema: z.ZodType<BulkCreateDatapointsRequestBody$Outbound, z.ZodTypeDef, BulkCreateDatapointsRequestBody>;
656
- /**
657
- * @internal
658
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
659
- */
660
- export declare namespace BulkCreateDatapointsRequestBody$ {
661
- /** @deprecated use `BulkCreateDatapointsRequestBody$inboundSchema` instead. */
662
- const inboundSchema: z.ZodType<BulkCreateDatapointsRequestBody, z.ZodTypeDef, unknown>;
663
- /** @deprecated use `BulkCreateDatapointsRequestBody$outboundSchema` instead. */
664
- const outboundSchema: z.ZodType<BulkCreateDatapointsRequestBody$Outbound, z.ZodTypeDef, BulkCreateDatapointsRequestBody>;
665
- /** @deprecated use `BulkCreateDatapointsRequestBody$Outbound` instead. */
666
- type Outbound = BulkCreateDatapointsRequestBody$Outbound;
667
- }
668
- export declare function bulkCreateDatapointsRequestBodyToJSON(bulkCreateDatapointsRequestBody: BulkCreateDatapointsRequestBody): string;
669
- export declare function bulkCreateDatapointsRequestBodyFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsRequestBody, SDKValidationError>;
670
- /** @internal */
671
- export declare const BulkCreateDatapointsRequest$inboundSchema: z.ZodType<BulkCreateDatapointsRequest, z.ZodTypeDef, unknown>;
672
- /** @internal */
673
- export type BulkCreateDatapointsRequest$Outbound = {
674
- dataset_id: string;
675
- RequestBody?: BulkCreateDatapointsRequestBody$Outbound | undefined;
676
- };
677
- /** @internal */
678
- export declare const BulkCreateDatapointsRequest$outboundSchema: z.ZodType<BulkCreateDatapointsRequest$Outbound, z.ZodTypeDef, BulkCreateDatapointsRequest>;
679
- /**
680
- * @internal
681
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
682
- */
683
- export declare namespace BulkCreateDatapointsRequest$ {
684
- /** @deprecated use `BulkCreateDatapointsRequest$inboundSchema` instead. */
685
- const inboundSchema: z.ZodType<BulkCreateDatapointsRequest, z.ZodTypeDef, unknown>;
686
- /** @deprecated use `BulkCreateDatapointsRequest$outboundSchema` instead. */
687
- const outboundSchema: z.ZodType<BulkCreateDatapointsRequest$Outbound, z.ZodTypeDef, BulkCreateDatapointsRequest>;
688
- /** @deprecated use `BulkCreateDatapointsRequest$Outbound` instead. */
689
- type Outbound = BulkCreateDatapointsRequest$Outbound;
690
- }
691
- export declare function bulkCreateDatapointsRequestToJSON(bulkCreateDatapointsRequest: BulkCreateDatapointsRequest): string;
692
- export declare function bulkCreateDatapointsRequestFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsRequest, SDKValidationError>;
693
- /** @internal */
694
- export declare const BulkCreateDatapointsDatasetsRole$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsDatasetsRole>;
695
- /** @internal */
696
- export declare const BulkCreateDatapointsDatasetsRole$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsDatasetsRole>;
697
- /**
698
- * @internal
699
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
700
- */
701
- export declare namespace BulkCreateDatapointsDatasetsRole$ {
702
- /** @deprecated use `BulkCreateDatapointsDatasetsRole$inboundSchema` instead. */
703
- const inboundSchema: z.ZodNativeEnum<{
704
- readonly System: "system";
705
- readonly Assistant: "assistant";
706
- readonly User: "user";
707
- readonly Exception: "exception";
708
- readonly Tool: "tool";
709
- readonly Prompt: "prompt";
710
- readonly Correction: "correction";
711
- readonly ExpectedOutput: "expected_output";
712
- }>;
713
- /** @deprecated use `BulkCreateDatapointsDatasetsRole$outboundSchema` instead. */
714
- const outboundSchema: z.ZodNativeEnum<{
715
- readonly System: "system";
716
- readonly Assistant: "assistant";
717
- readonly User: "user";
718
- readonly Exception: "exception";
719
- readonly Tool: "tool";
720
- readonly Prompt: "prompt";
721
- readonly Correction: "correction";
722
- readonly ExpectedOutput: "expected_output";
723
- }>;
724
- }
725
- /** @internal */
726
- export declare const BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType>;
727
- /** @internal */
728
- export declare const BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType>;
729
- /**
730
- * @internal
731
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
732
- */
733
- export declare namespace BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$ {
734
- /** @deprecated use `BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$inboundSchema` instead. */
735
- const inboundSchema: z.ZodNativeEnum<{
736
- readonly File: "file";
737
- }>;
738
- /** @deprecated use `BulkCreateDatapoints2DatasetsResponse200ApplicationJSONType$outboundSchema` instead. */
739
- const outboundSchema: z.ZodNativeEnum<{
740
- readonly File: "file";
741
- }>;
742
- }
743
- /** @internal */
744
- export declare const BulkCreateDatapoints2DatasetsFile$inboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsFile, z.ZodTypeDef, unknown>;
745
- /** @internal */
746
- export type BulkCreateDatapoints2DatasetsFile$Outbound = {
747
- file_data: string;
748
- filename?: string | undefined;
749
- };
750
- /** @internal */
751
- export declare const BulkCreateDatapoints2DatasetsFile$outboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsFile$Outbound, z.ZodTypeDef, BulkCreateDatapoints2DatasetsFile>;
752
- /**
753
- * @internal
754
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
755
- */
756
- export declare namespace BulkCreateDatapoints2DatasetsFile$ {
757
- /** @deprecated use `BulkCreateDatapoints2DatasetsFile$inboundSchema` instead. */
758
- const inboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsFile, z.ZodTypeDef, unknown>;
759
- /** @deprecated use `BulkCreateDatapoints2DatasetsFile$outboundSchema` instead. */
760
- const outboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsFile$Outbound, z.ZodTypeDef, BulkCreateDatapoints2DatasetsFile>;
761
- /** @deprecated use `BulkCreateDatapoints2DatasetsFile$Outbound` instead. */
762
- type Outbound = BulkCreateDatapoints2DatasetsFile$Outbound;
763
- }
764
- export declare function bulkCreateDatapoints2DatasetsFileToJSON(bulkCreateDatapoints2DatasetsFile: BulkCreateDatapoints2DatasetsFile): string;
765
- export declare function bulkCreateDatapoints2DatasetsFileFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2DatasetsFile, SDKValidationError>;
766
- /** @internal */
767
- export declare const BulkCreateDatapoints2Datasets3$inboundSchema: z.ZodType<BulkCreateDatapoints2Datasets3, z.ZodTypeDef, unknown>;
768
- /** @internal */
769
- export type BulkCreateDatapoints2Datasets3$Outbound = {
770
- type: string;
771
- file: BulkCreateDatapoints2DatasetsFile$Outbound;
772
- };
773
- /** @internal */
774
- export declare const BulkCreateDatapoints2Datasets3$outboundSchema: z.ZodType<BulkCreateDatapoints2Datasets3$Outbound, z.ZodTypeDef, BulkCreateDatapoints2Datasets3>;
775
- /**
776
- * @internal
777
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
778
- */
779
- export declare namespace BulkCreateDatapoints2Datasets3$ {
780
- /** @deprecated use `BulkCreateDatapoints2Datasets3$inboundSchema` instead. */
781
- const inboundSchema: z.ZodType<BulkCreateDatapoints2Datasets3, z.ZodTypeDef, unknown>;
782
- /** @deprecated use `BulkCreateDatapoints2Datasets3$outboundSchema` instead. */
783
- const outboundSchema: z.ZodType<BulkCreateDatapoints2Datasets3$Outbound, z.ZodTypeDef, BulkCreateDatapoints2Datasets3>;
784
- /** @deprecated use `BulkCreateDatapoints2Datasets3$Outbound` instead. */
785
- type Outbound = BulkCreateDatapoints2Datasets3$Outbound;
786
- }
787
- export declare function bulkCreateDatapoints2Datasets3ToJSON(bulkCreateDatapoints2Datasets3: BulkCreateDatapoints2Datasets3): string;
788
- export declare function bulkCreateDatapoints2Datasets3FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2Datasets3, SDKValidationError>;
789
- /** @internal */
790
- export declare const BulkCreateDatapoints2DatasetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponse200Type>;
791
- /** @internal */
792
- export declare const BulkCreateDatapoints2DatasetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponse200Type>;
793
- /**
794
- * @internal
795
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
796
- */
797
- export declare namespace BulkCreateDatapoints2DatasetsResponse200Type$ {
798
- /** @deprecated use `BulkCreateDatapoints2DatasetsResponse200Type$inboundSchema` instead. */
799
- const inboundSchema: z.ZodNativeEnum<{
800
- readonly ImageUrl: "image_url";
801
- }>;
802
- /** @deprecated use `BulkCreateDatapoints2DatasetsResponse200Type$outboundSchema` instead. */
803
- const outboundSchema: z.ZodNativeEnum<{
804
- readonly ImageUrl: "image_url";
805
- }>;
806
- }
807
- /** @internal */
808
- export declare const BulkCreateDatapoints2DatasetsImageUrl$inboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsImageUrl, z.ZodTypeDef, unknown>;
809
- /** @internal */
810
- export type BulkCreateDatapoints2DatasetsImageUrl$Outbound = {
811
- id?: string | undefined;
812
- url: string;
813
- detail?: string | undefined;
814
- };
815
- /** @internal */
816
- export declare const BulkCreateDatapoints2DatasetsImageUrl$outboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsImageUrl$Outbound, z.ZodTypeDef, BulkCreateDatapoints2DatasetsImageUrl>;
817
- /**
818
- * @internal
819
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
820
- */
821
- export declare namespace BulkCreateDatapoints2DatasetsImageUrl$ {
822
- /** @deprecated use `BulkCreateDatapoints2DatasetsImageUrl$inboundSchema` instead. */
823
- const inboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsImageUrl, z.ZodTypeDef, unknown>;
824
- /** @deprecated use `BulkCreateDatapoints2DatasetsImageUrl$outboundSchema` instead. */
825
- const outboundSchema: z.ZodType<BulkCreateDatapoints2DatasetsImageUrl$Outbound, z.ZodTypeDef, BulkCreateDatapoints2DatasetsImageUrl>;
826
- /** @deprecated use `BulkCreateDatapoints2DatasetsImageUrl$Outbound` instead. */
827
- type Outbound = BulkCreateDatapoints2DatasetsImageUrl$Outbound;
828
- }
829
- export declare function bulkCreateDatapoints2DatasetsImageUrlToJSON(bulkCreateDatapoints2DatasetsImageUrl: BulkCreateDatapoints2DatasetsImageUrl): string;
830
- export declare function bulkCreateDatapoints2DatasetsImageUrlFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2DatasetsImageUrl, SDKValidationError>;
831
- /** @internal */
832
- export declare const BulkCreateDatapoints2Datasets2$inboundSchema: z.ZodType<BulkCreateDatapoints2Datasets2, z.ZodTypeDef, unknown>;
833
- /** @internal */
834
- export type BulkCreateDatapoints2Datasets2$Outbound = {
835
- type: string;
836
- image_url: BulkCreateDatapoints2DatasetsImageUrl$Outbound;
837
- };
838
- /** @internal */
839
- export declare const BulkCreateDatapoints2Datasets2$outboundSchema: z.ZodType<BulkCreateDatapoints2Datasets2$Outbound, z.ZodTypeDef, BulkCreateDatapoints2Datasets2>;
840
- /**
841
- * @internal
842
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
843
- */
844
- export declare namespace BulkCreateDatapoints2Datasets2$ {
845
- /** @deprecated use `BulkCreateDatapoints2Datasets2$inboundSchema` instead. */
846
- const inboundSchema: z.ZodType<BulkCreateDatapoints2Datasets2, z.ZodTypeDef, unknown>;
847
- /** @deprecated use `BulkCreateDatapoints2Datasets2$outboundSchema` instead. */
848
- const outboundSchema: z.ZodType<BulkCreateDatapoints2Datasets2$Outbound, z.ZodTypeDef, BulkCreateDatapoints2Datasets2>;
849
- /** @deprecated use `BulkCreateDatapoints2Datasets2$Outbound` instead. */
850
- type Outbound = BulkCreateDatapoints2Datasets2$Outbound;
851
- }
852
- export declare function bulkCreateDatapoints2Datasets2ToJSON(bulkCreateDatapoints2Datasets2: BulkCreateDatapoints2Datasets2): string;
853
- export declare function bulkCreateDatapoints2Datasets2FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2Datasets2, SDKValidationError>;
854
- /** @internal */
855
- export declare const BulkCreateDatapoints2DatasetsResponseType$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponseType>;
856
- /** @internal */
857
- export declare const BulkCreateDatapoints2DatasetsResponseType$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapoints2DatasetsResponseType>;
858
- /**
859
- * @internal
860
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
861
- */
862
- export declare namespace BulkCreateDatapoints2DatasetsResponseType$ {
863
- /** @deprecated use `BulkCreateDatapoints2DatasetsResponseType$inboundSchema` instead. */
864
- const inboundSchema: z.ZodNativeEnum<{
865
- readonly Text: "text";
866
- }>;
867
- /** @deprecated use `BulkCreateDatapoints2DatasetsResponseType$outboundSchema` instead. */
868
- const outboundSchema: z.ZodNativeEnum<{
869
- readonly Text: "text";
870
- }>;
871
- }
872
- /** @internal */
873
- export declare const BulkCreateDatapoints2Datasets1$inboundSchema: z.ZodType<BulkCreateDatapoints2Datasets1, z.ZodTypeDef, unknown>;
874
- /** @internal */
875
- export type BulkCreateDatapoints2Datasets1$Outbound = {
876
- type: string;
877
- text: string;
878
- };
879
- /** @internal */
880
- export declare const BulkCreateDatapoints2Datasets1$outboundSchema: z.ZodType<BulkCreateDatapoints2Datasets1$Outbound, z.ZodTypeDef, BulkCreateDatapoints2Datasets1>;
881
- /**
882
- * @internal
883
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
884
- */
885
- export declare namespace BulkCreateDatapoints2Datasets1$ {
886
- /** @deprecated use `BulkCreateDatapoints2Datasets1$inboundSchema` instead. */
887
- const inboundSchema: z.ZodType<BulkCreateDatapoints2Datasets1, z.ZodTypeDef, unknown>;
888
- /** @deprecated use `BulkCreateDatapoints2Datasets1$outboundSchema` instead. */
889
- const outboundSchema: z.ZodType<BulkCreateDatapoints2Datasets1$Outbound, z.ZodTypeDef, BulkCreateDatapoints2Datasets1>;
890
- /** @deprecated use `BulkCreateDatapoints2Datasets1$Outbound` instead. */
891
- type Outbound = BulkCreateDatapoints2Datasets1$Outbound;
892
- }
893
- export declare function bulkCreateDatapoints2Datasets1ToJSON(bulkCreateDatapoints2Datasets1: BulkCreateDatapoints2Datasets1): string;
894
- export declare function bulkCreateDatapoints2Datasets1FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapoints2Datasets1, SDKValidationError>;
895
- /** @internal */
896
- export declare const BulkCreateDatapointsContentDatasets2$inboundSchema: z.ZodType<BulkCreateDatapointsContentDatasets2, z.ZodTypeDef, unknown>;
897
- /** @internal */
898
- export type BulkCreateDatapointsContentDatasets2$Outbound = BulkCreateDatapoints2Datasets1$Outbound | BulkCreateDatapoints2Datasets2$Outbound | BulkCreateDatapoints2Datasets3$Outbound;
899
- /** @internal */
900
- export declare const BulkCreateDatapointsContentDatasets2$outboundSchema: z.ZodType<BulkCreateDatapointsContentDatasets2$Outbound, z.ZodTypeDef, BulkCreateDatapointsContentDatasets2>;
901
- /**
902
- * @internal
903
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
904
- */
905
- export declare namespace BulkCreateDatapointsContentDatasets2$ {
906
- /** @deprecated use `BulkCreateDatapointsContentDatasets2$inboundSchema` instead. */
907
- const inboundSchema: z.ZodType<BulkCreateDatapointsContentDatasets2, z.ZodTypeDef, unknown>;
908
- /** @deprecated use `BulkCreateDatapointsContentDatasets2$outboundSchema` instead. */
909
- const outboundSchema: z.ZodType<BulkCreateDatapointsContentDatasets2$Outbound, z.ZodTypeDef, BulkCreateDatapointsContentDatasets2>;
910
- /** @deprecated use `BulkCreateDatapointsContentDatasets2$Outbound` instead. */
911
- type Outbound = BulkCreateDatapointsContentDatasets2$Outbound;
912
- }
913
- export declare function bulkCreateDatapointsContentDatasets2ToJSON(bulkCreateDatapointsContentDatasets2: BulkCreateDatapointsContentDatasets2): string;
914
- export declare function bulkCreateDatapointsContentDatasets2FromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsContentDatasets2, SDKValidationError>;
915
- /** @internal */
916
- export declare const BulkCreateDatapointsDatasetsContent$inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsContent, z.ZodTypeDef, unknown>;
917
- /** @internal */
918
- export type BulkCreateDatapointsDatasetsContent$Outbound = string | Array<BulkCreateDatapoints2Datasets1$Outbound | BulkCreateDatapoints2Datasets2$Outbound | BulkCreateDatapoints2Datasets3$Outbound>;
919
- /** @internal */
920
- export declare const BulkCreateDatapointsDatasetsContent$outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsContent$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsContent>;
921
- /**
922
- * @internal
923
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
924
- */
925
- export declare namespace BulkCreateDatapointsDatasetsContent$ {
926
- /** @deprecated use `BulkCreateDatapointsDatasetsContent$inboundSchema` instead. */
927
- const inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsContent, z.ZodTypeDef, unknown>;
928
- /** @deprecated use `BulkCreateDatapointsDatasetsContent$outboundSchema` instead. */
929
- const outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsContent$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsContent>;
930
- /** @deprecated use `BulkCreateDatapointsDatasetsContent$Outbound` instead. */
931
- type Outbound = BulkCreateDatapointsDatasetsContent$Outbound;
932
- }
933
- export declare function bulkCreateDatapointsDatasetsContentToJSON(bulkCreateDatapointsDatasetsContent: BulkCreateDatapointsDatasetsContent): string;
934
- export declare function bulkCreateDatapointsDatasetsContentFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsDatasetsContent, SDKValidationError>;
935
- /** @internal */
936
- export declare const BulkCreateDatapointsDatasetsType$inboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsDatasetsType>;
937
- /** @internal */
938
- export declare const BulkCreateDatapointsDatasetsType$outboundSchema: z.ZodNativeEnum<typeof BulkCreateDatapointsDatasetsType>;
939
- /**
940
- * @internal
941
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
942
- */
943
- export declare namespace BulkCreateDatapointsDatasetsType$ {
944
- /** @deprecated use `BulkCreateDatapointsDatasetsType$inboundSchema` instead. */
945
- const inboundSchema: z.ZodNativeEnum<{
946
- readonly Function: "function";
947
- }>;
948
- /** @deprecated use `BulkCreateDatapointsDatasetsType$outboundSchema` instead. */
949
- const outboundSchema: z.ZodNativeEnum<{
950
- readonly Function: "function";
951
- }>;
952
- }
953
- /** @internal */
954
- export declare const BulkCreateDatapointsDatasetsFunction$inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsFunction, z.ZodTypeDef, unknown>;
955
- /** @internal */
956
- export type BulkCreateDatapointsDatasetsFunction$Outbound = {
957
- name: string;
958
- arguments: string;
959
- };
960
- /** @internal */
961
- export declare const BulkCreateDatapointsDatasetsFunction$outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsFunction$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsFunction>;
962
- /**
963
- * @internal
964
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
965
- */
966
- export declare namespace BulkCreateDatapointsDatasetsFunction$ {
967
- /** @deprecated use `BulkCreateDatapointsDatasetsFunction$inboundSchema` instead. */
968
- const inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsFunction, z.ZodTypeDef, unknown>;
969
- /** @deprecated use `BulkCreateDatapointsDatasetsFunction$outboundSchema` instead. */
970
- const outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsFunction$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsFunction>;
971
- /** @deprecated use `BulkCreateDatapointsDatasetsFunction$Outbound` instead. */
972
- type Outbound = BulkCreateDatapointsDatasetsFunction$Outbound;
973
- }
974
- export declare function bulkCreateDatapointsDatasetsFunctionToJSON(bulkCreateDatapointsDatasetsFunction: BulkCreateDatapointsDatasetsFunction): string;
975
- export declare function bulkCreateDatapointsDatasetsFunctionFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsDatasetsFunction, SDKValidationError>;
976
- /** @internal */
977
- export declare const BulkCreateDatapointsDatasetsToolCalls$inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsToolCalls, z.ZodTypeDef, unknown>;
978
- /** @internal */
979
- export type BulkCreateDatapointsDatasetsToolCalls$Outbound = {
980
- id?: string | undefined;
981
- index?: number | undefined;
982
- type: string;
983
- function: BulkCreateDatapointsDatasetsFunction$Outbound;
984
- };
985
- /** @internal */
986
- export declare const BulkCreateDatapointsDatasetsToolCalls$outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsToolCalls$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsToolCalls>;
987
- /**
988
- * @internal
989
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
990
- */
991
- export declare namespace BulkCreateDatapointsDatasetsToolCalls$ {
992
- /** @deprecated use `BulkCreateDatapointsDatasetsToolCalls$inboundSchema` instead. */
993
- const inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsToolCalls, z.ZodTypeDef, unknown>;
994
- /** @deprecated use `BulkCreateDatapointsDatasetsToolCalls$outboundSchema` instead. */
995
- const outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsToolCalls$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsToolCalls>;
996
- /** @deprecated use `BulkCreateDatapointsDatasetsToolCalls$Outbound` instead. */
997
- type Outbound = BulkCreateDatapointsDatasetsToolCalls$Outbound;
998
- }
999
- export declare function bulkCreateDatapointsDatasetsToolCallsToJSON(bulkCreateDatapointsDatasetsToolCalls: BulkCreateDatapointsDatasetsToolCalls): string;
1000
- export declare function bulkCreateDatapointsDatasetsToolCallsFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsDatasetsToolCalls, SDKValidationError>;
1001
- /** @internal */
1002
- export declare const BulkCreateDatapointsDatasetsMessages$inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsMessages, z.ZodTypeDef, unknown>;
1003
- /** @internal */
1004
- export type BulkCreateDatapointsDatasetsMessages$Outbound = {
1005
- role: string;
1006
- content: string | Array<BulkCreateDatapoints2Datasets1$Outbound | BulkCreateDatapoints2Datasets2$Outbound | BulkCreateDatapoints2Datasets3$Outbound>;
1007
- tool_calls?: Array<BulkCreateDatapointsDatasetsToolCalls$Outbound> | undefined;
1008
- tool_call_id?: string | undefined;
1009
- };
1010
- /** @internal */
1011
- export declare const BulkCreateDatapointsDatasetsMessages$outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsMessages$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsMessages>;
1012
- /**
1013
- * @internal
1014
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1015
- */
1016
- export declare namespace BulkCreateDatapointsDatasetsMessages$ {
1017
- /** @deprecated use `BulkCreateDatapointsDatasetsMessages$inboundSchema` instead. */
1018
- const inboundSchema: z.ZodType<BulkCreateDatapointsDatasetsMessages, z.ZodTypeDef, unknown>;
1019
- /** @deprecated use `BulkCreateDatapointsDatasetsMessages$outboundSchema` instead. */
1020
- const outboundSchema: z.ZodType<BulkCreateDatapointsDatasetsMessages$Outbound, z.ZodTypeDef, BulkCreateDatapointsDatasetsMessages>;
1021
- /** @deprecated use `BulkCreateDatapointsDatasetsMessages$Outbound` instead. */
1022
- type Outbound = BulkCreateDatapointsDatasetsMessages$Outbound;
1023
- }
1024
- export declare function bulkCreateDatapointsDatasetsMessagesToJSON(bulkCreateDatapointsDatasetsMessages: BulkCreateDatapointsDatasetsMessages): string;
1025
- export declare function bulkCreateDatapointsDatasetsMessagesFromJSON(jsonString: string): SafeParseResult<BulkCreateDatapointsDatasetsMessages, SDKValidationError>;
1026
- /** @internal */
1027
- export declare const ResponseBody$inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
1028
- /** @internal */
1029
- export type ResponseBody$Outbound = {
1030
- _id: string;
1031
- workspace_id: string;
1032
- inputs?: {
1033
- [k: string]: any;
1034
- } | undefined;
1035
- messages?: Array<BulkCreateDatapointsDatasetsMessages$Outbound> | undefined;
1036
- expected_output?: string | undefined;
1037
- dataset_id: string;
1038
- created_by_id?: string | undefined;
1039
- updated_by_id?: string | undefined;
1040
- created?: string | undefined;
1041
- updated: string;
1042
- };
1043
- /** @internal */
1044
- export declare const ResponseBody$outboundSchema: z.ZodType<ResponseBody$Outbound, z.ZodTypeDef, ResponseBody>;
1045
- /**
1046
- * @internal
1047
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1048
- */
1049
- export declare namespace ResponseBody$ {
1050
- /** @deprecated use `ResponseBody$inboundSchema` instead. */
1051
- const inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
1052
- /** @deprecated use `ResponseBody$outboundSchema` instead. */
1053
- const outboundSchema: z.ZodType<ResponseBody$Outbound, z.ZodTypeDef, ResponseBody>;
1054
- /** @deprecated use `ResponseBody$Outbound` instead. */
1055
- type Outbound = ResponseBody$Outbound;
1056
- }
1057
- export declare function responseBodyToJSON(responseBody: ResponseBody): string;
1058
- export declare function responseBodyFromJSON(jsonString: string): SafeParseResult<ResponseBody, SDKValidationError>;
1059
- //# sourceMappingURL=bulkcreatedatapoints.d.ts.map