openai-mcp-test 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1367) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +487 -0
  3. package/api-promise.d.mts +2 -0
  4. package/api-promise.d.mts.map +1 -0
  5. package/api-promise.d.ts +2 -0
  6. package/api-promise.d.ts.map +1 -0
  7. package/api-promise.js +6 -0
  8. package/api-promise.js.map +1 -0
  9. package/api-promise.mjs +2 -0
  10. package/api-promise.mjs.map +1 -0
  11. package/bin/cli +46 -0
  12. package/bin/migration-config.json +1043 -0
  13. package/client.d.mts +293 -0
  14. package/client.d.mts.map +1 -0
  15. package/client.d.ts +293 -0
  16. package/client.d.ts.map +1 -0
  17. package/client.js +557 -0
  18. package/client.js.map +1 -0
  19. package/client.mjs +553 -0
  20. package/client.mjs.map +1 -0
  21. package/core/api-promise.d.mts +46 -0
  22. package/core/api-promise.d.mts.map +1 -0
  23. package/core/api-promise.d.ts +46 -0
  24. package/core/api-promise.d.ts.map +1 -0
  25. package/core/api-promise.js +74 -0
  26. package/core/api-promise.js.map +1 -0
  27. package/core/api-promise.mjs +70 -0
  28. package/core/api-promise.mjs.map +1 -0
  29. package/core/error.d.mts +50 -0
  30. package/core/error.d.mts.map +1 -0
  31. package/core/error.d.ts +50 -0
  32. package/core/error.d.ts.map +1 -0
  33. package/core/error.js +118 -0
  34. package/core/error.js.map +1 -0
  35. package/core/error.mjs +102 -0
  36. package/core/error.mjs.map +1 -0
  37. package/core/pagination.d.mts +89 -0
  38. package/core/pagination.d.mts.map +1 -0
  39. package/core/pagination.d.ts +89 -0
  40. package/core/pagination.d.ts.map +1 -0
  41. package/core/pagination.js +156 -0
  42. package/core/pagination.js.map +1 -0
  43. package/core/pagination.mjs +148 -0
  44. package/core/pagination.mjs.map +1 -0
  45. package/core/resource.d.mts +6 -0
  46. package/core/resource.d.mts.map +1 -0
  47. package/core/resource.d.ts +6 -0
  48. package/core/resource.d.ts.map +1 -0
  49. package/core/resource.js +11 -0
  50. package/core/resource.js.map +1 -0
  51. package/core/resource.mjs +7 -0
  52. package/core/resource.mjs.map +1 -0
  53. package/core/streaming.d.mts +33 -0
  54. package/core/streaming.d.mts.map +1 -0
  55. package/core/streaming.d.ts +33 -0
  56. package/core/streaming.d.ts.map +1 -0
  57. package/core/streaming.js +277 -0
  58. package/core/streaming.js.map +1 -0
  59. package/core/streaming.mjs +272 -0
  60. package/core/streaming.mjs.map +1 -0
  61. package/core/uploads.d.mts +3 -0
  62. package/core/uploads.d.mts.map +1 -0
  63. package/core/uploads.d.ts +3 -0
  64. package/core/uploads.d.ts.map +1 -0
  65. package/core/uploads.js +6 -0
  66. package/core/uploads.js.map +1 -0
  67. package/core/uploads.mjs +2 -0
  68. package/core/uploads.mjs.map +1 -0
  69. package/error.d.mts +2 -0
  70. package/error.d.mts.map +1 -0
  71. package/error.d.ts +2 -0
  72. package/error.d.ts.map +1 -0
  73. package/error.js +6 -0
  74. package/error.js.map +1 -0
  75. package/error.mjs +2 -0
  76. package/error.mjs.map +1 -0
  77. package/index.d.mts +7 -0
  78. package/index.d.mts.map +1 -0
  79. package/index.d.ts +7 -0
  80. package/index.d.ts.map +1 -0
  81. package/index.js +32 -0
  82. package/index.js.map +1 -0
  83. package/index.mjs +8 -0
  84. package/index.mjs.map +1 -0
  85. package/internal/builtin-types.d.mts +73 -0
  86. package/internal/builtin-types.d.mts.map +1 -0
  87. package/internal/builtin-types.d.ts +73 -0
  88. package/internal/builtin-types.d.ts.map +1 -0
  89. package/internal/builtin-types.js +4 -0
  90. package/internal/builtin-types.js.map +1 -0
  91. package/internal/builtin-types.mjs +3 -0
  92. package/internal/builtin-types.mjs.map +1 -0
  93. package/internal/decoders/line.d.mts +17 -0
  94. package/internal/decoders/line.d.mts.map +1 -0
  95. package/internal/decoders/line.d.ts +17 -0
  96. package/internal/decoders/line.d.ts.map +1 -0
  97. package/internal/decoders/line.js +113 -0
  98. package/internal/decoders/line.js.map +1 -0
  99. package/internal/decoders/line.mjs +108 -0
  100. package/internal/decoders/line.mjs.map +1 -0
  101. package/internal/detect-platform.d.mts +15 -0
  102. package/internal/detect-platform.d.mts.map +1 -0
  103. package/internal/detect-platform.d.ts +15 -0
  104. package/internal/detect-platform.d.ts.map +1 -0
  105. package/internal/detect-platform.js +162 -0
  106. package/internal/detect-platform.js.map +1 -0
  107. package/internal/detect-platform.mjs +157 -0
  108. package/internal/detect-platform.mjs.map +1 -0
  109. package/internal/errors.d.mts +3 -0
  110. package/internal/errors.d.mts.map +1 -0
  111. package/internal/errors.d.ts +3 -0
  112. package/internal/errors.d.ts.map +1 -0
  113. package/internal/errors.js +41 -0
  114. package/internal/errors.js.map +1 -0
  115. package/internal/errors.mjs +36 -0
  116. package/internal/errors.mjs.map +1 -0
  117. package/internal/headers.d.mts +20 -0
  118. package/internal/headers.d.mts.map +1 -0
  119. package/internal/headers.d.ts +20 -0
  120. package/internal/headers.d.ts.map +1 -0
  121. package/internal/headers.js +79 -0
  122. package/internal/headers.js.map +1 -0
  123. package/internal/headers.mjs +74 -0
  124. package/internal/headers.mjs.map +1 -0
  125. package/internal/parse.d.mts +12 -0
  126. package/internal/parse.d.mts.map +1 -0
  127. package/internal/parse.d.ts +12 -0
  128. package/internal/parse.d.ts.map +1 -0
  129. package/internal/parse.js +50 -0
  130. package/internal/parse.js.map +1 -0
  131. package/internal/parse.mjs +47 -0
  132. package/internal/parse.mjs.map +1 -0
  133. package/internal/qs/formats.d.mts +7 -0
  134. package/internal/qs/formats.d.mts.map +1 -0
  135. package/internal/qs/formats.d.ts +7 -0
  136. package/internal/qs/formats.d.ts.map +1 -0
  137. package/internal/qs/formats.js +13 -0
  138. package/internal/qs/formats.js.map +1 -0
  139. package/internal/qs/formats.mjs +9 -0
  140. package/internal/qs/formats.mjs.map +1 -0
  141. package/internal/qs/index.d.mts +10 -0
  142. package/internal/qs/index.d.mts.map +1 -0
  143. package/internal/qs/index.d.ts +10 -0
  144. package/internal/qs/index.d.ts.map +1 -0
  145. package/internal/qs/index.js +14 -0
  146. package/internal/qs/index.js.map +1 -0
  147. package/internal/qs/index.mjs +10 -0
  148. package/internal/qs/index.mjs.map +1 -0
  149. package/internal/qs/stringify.d.mts +3 -0
  150. package/internal/qs/stringify.d.mts.map +1 -0
  151. package/internal/qs/stringify.d.ts +3 -0
  152. package/internal/qs/stringify.d.ts.map +1 -0
  153. package/internal/qs/stringify.js +277 -0
  154. package/internal/qs/stringify.js.map +1 -0
  155. package/internal/qs/stringify.mjs +274 -0
  156. package/internal/qs/stringify.mjs.map +1 -0
  157. package/internal/qs/types.d.mts +57 -0
  158. package/internal/qs/types.d.mts.map +1 -0
  159. package/internal/qs/types.d.ts +57 -0
  160. package/internal/qs/types.d.ts.map +1 -0
  161. package/internal/qs/types.js +3 -0
  162. package/internal/qs/types.js.map +1 -0
  163. package/internal/qs/types.mjs +2 -0
  164. package/internal/qs/types.mjs.map +1 -0
  165. package/internal/qs/utils.d.mts +15 -0
  166. package/internal/qs/utils.d.mts.map +1 -0
  167. package/internal/qs/utils.d.ts +15 -0
  168. package/internal/qs/utils.d.ts.map +1 -0
  169. package/internal/qs/utils.js +230 -0
  170. package/internal/qs/utils.js.map +1 -0
  171. package/internal/qs/utils.mjs +217 -0
  172. package/internal/qs/utils.mjs.map +1 -0
  173. package/internal/request-options.d.mts +77 -0
  174. package/internal/request-options.d.mts.map +1 -0
  175. package/internal/request-options.d.ts +77 -0
  176. package/internal/request-options.d.ts.map +1 -0
  177. package/internal/request-options.js +14 -0
  178. package/internal/request-options.js.map +1 -0
  179. package/internal/request-options.mjs +10 -0
  180. package/internal/request-options.mjs.map +1 -0
  181. package/internal/shim-types.d.mts +17 -0
  182. package/internal/shim-types.d.mts.map +1 -0
  183. package/internal/shim-types.d.ts +17 -0
  184. package/internal/shim-types.d.ts.map +1 -0
  185. package/internal/shim-types.js +4 -0
  186. package/internal/shim-types.js.map +1 -0
  187. package/internal/shim-types.mjs +3 -0
  188. package/internal/shim-types.mjs.map +1 -0
  189. package/internal/shims.d.mts +20 -0
  190. package/internal/shims.d.mts.map +1 -0
  191. package/internal/shims.d.ts +20 -0
  192. package/internal/shims.d.ts.map +1 -0
  193. package/internal/shims.js +92 -0
  194. package/internal/shims.js.map +1 -0
  195. package/internal/shims.mjs +85 -0
  196. package/internal/shims.mjs.map +1 -0
  197. package/internal/to-file.d.mts +45 -0
  198. package/internal/to-file.d.mts.map +1 -0
  199. package/internal/to-file.d.ts +45 -0
  200. package/internal/to-file.d.ts.map +1 -0
  201. package/internal/to-file.js +91 -0
  202. package/internal/to-file.js.map +1 -0
  203. package/internal/to-file.mjs +88 -0
  204. package/internal/to-file.mjs.map +1 -0
  205. package/internal/tslib.js +81 -0
  206. package/internal/tslib.mjs +17 -0
  207. package/internal/types.d.mts +69 -0
  208. package/internal/types.d.mts.map +1 -0
  209. package/internal/types.d.ts +69 -0
  210. package/internal/types.d.ts.map +1 -0
  211. package/internal/types.js +4 -0
  212. package/internal/types.js.map +1 -0
  213. package/internal/types.mjs +3 -0
  214. package/internal/types.mjs.map +1 -0
  215. package/internal/uploads.d.mts +42 -0
  216. package/internal/uploads.d.mts.map +1 -0
  217. package/internal/uploads.d.ts +42 -0
  218. package/internal/uploads.d.ts.map +1 -0
  219. package/internal/uploads.js +141 -0
  220. package/internal/uploads.js.map +1 -0
  221. package/internal/uploads.mjs +131 -0
  222. package/internal/uploads.mjs.map +1 -0
  223. package/internal/utils/base64.d.mts +3 -0
  224. package/internal/utils/base64.d.mts.map +1 -0
  225. package/internal/utils/base64.d.ts +3 -0
  226. package/internal/utils/base64.d.ts.map +1 -0
  227. package/internal/utils/base64.js +38 -0
  228. package/internal/utils/base64.js.map +1 -0
  229. package/internal/utils/base64.mjs +33 -0
  230. package/internal/utils/base64.mjs.map +1 -0
  231. package/internal/utils/bytes.d.mts +4 -0
  232. package/internal/utils/bytes.d.mts.map +1 -0
  233. package/internal/utils/bytes.d.ts +4 -0
  234. package/internal/utils/bytes.d.ts.map +1 -0
  235. package/internal/utils/bytes.js +31 -0
  236. package/internal/utils/bytes.js.map +1 -0
  237. package/internal/utils/bytes.mjs +26 -0
  238. package/internal/utils/bytes.mjs.map +1 -0
  239. package/internal/utils/env.d.mts +9 -0
  240. package/internal/utils/env.d.mts.map +1 -0
  241. package/internal/utils/env.d.ts +9 -0
  242. package/internal/utils/env.d.ts.map +1 -0
  243. package/internal/utils/env.js +22 -0
  244. package/internal/utils/env.js.map +1 -0
  245. package/internal/utils/env.mjs +18 -0
  246. package/internal/utils/env.mjs.map +1 -0
  247. package/internal/utils/log.d.mts +37 -0
  248. package/internal/utils/log.d.mts.map +1 -0
  249. package/internal/utils/log.d.ts +37 -0
  250. package/internal/utils/log.d.ts.map +1 -0
  251. package/internal/utils/log.js +85 -0
  252. package/internal/utils/log.js.map +1 -0
  253. package/internal/utils/log.mjs +79 -0
  254. package/internal/utils/log.mjs.map +1 -0
  255. package/internal/utils/path.d.mts +15 -0
  256. package/internal/utils/path.d.mts.map +1 -0
  257. package/internal/utils/path.d.ts +15 -0
  258. package/internal/utils/path.d.ts.map +1 -0
  259. package/internal/utils/path.js +79 -0
  260. package/internal/utils/path.js.map +1 -0
  261. package/internal/utils/path.mjs +74 -0
  262. package/internal/utils/path.mjs.map +1 -0
  263. package/internal/utils/sleep.d.mts +2 -0
  264. package/internal/utils/sleep.d.mts.map +1 -0
  265. package/internal/utils/sleep.d.ts +2 -0
  266. package/internal/utils/sleep.d.ts.map +1 -0
  267. package/internal/utils/sleep.js +7 -0
  268. package/internal/utils/sleep.js.map +1 -0
  269. package/internal/utils/sleep.mjs +3 -0
  270. package/internal/utils/sleep.mjs.map +1 -0
  271. package/internal/utils/uuid.d.mts +5 -0
  272. package/internal/utils/uuid.d.mts.map +1 -0
  273. package/internal/utils/uuid.d.ts +5 -0
  274. package/internal/utils/uuid.d.ts.map +1 -0
  275. package/internal/utils/uuid.js +19 -0
  276. package/internal/utils/uuid.js.map +1 -0
  277. package/internal/utils/uuid.mjs +15 -0
  278. package/internal/utils/uuid.mjs.map +1 -0
  279. package/internal/utils/values.d.mts +18 -0
  280. package/internal/utils/values.d.mts.map +1 -0
  281. package/internal/utils/values.d.ts +18 -0
  282. package/internal/utils/values.d.ts.map +1 -0
  283. package/internal/utils/values.js +112 -0
  284. package/internal/utils/values.js.map +1 -0
  285. package/internal/utils/values.mjs +94 -0
  286. package/internal/utils/values.mjs.map +1 -0
  287. package/internal/utils.d.mts +7 -0
  288. package/internal/utils.d.mts.map +1 -0
  289. package/internal/utils.d.ts +7 -0
  290. package/internal/utils.d.ts.map +1 -0
  291. package/internal/utils.js +11 -0
  292. package/internal/utils.js.map +1 -0
  293. package/internal/utils.mjs +8 -0
  294. package/internal/utils.mjs.map +1 -0
  295. package/package.json +161 -0
  296. package/pagination.d.mts +2 -0
  297. package/pagination.d.mts.map +1 -0
  298. package/pagination.d.ts +2 -0
  299. package/pagination.d.ts.map +1 -0
  300. package/pagination.js +6 -0
  301. package/pagination.js.map +1 -0
  302. package/pagination.mjs +2 -0
  303. package/pagination.mjs.map +1 -0
  304. package/resource.d.mts +2 -0
  305. package/resource.d.mts.map +1 -0
  306. package/resource.d.ts +2 -0
  307. package/resource.d.ts.map +1 -0
  308. package/resource.js +6 -0
  309. package/resource.js.map +1 -0
  310. package/resource.mjs +2 -0
  311. package/resource.mjs.map +1 -0
  312. package/resources/audio/audio.d.mts +28 -0
  313. package/resources/audio/audio.d.mts.map +1 -0
  314. package/resources/audio/audio.d.ts +28 -0
  315. package/resources/audio/audio.d.ts.map +1 -0
  316. package/resources/audio/audio.js +25 -0
  317. package/resources/audio/audio.js.map +1 -0
  318. package/resources/audio/audio.mjs +20 -0
  319. package/resources/audio/audio.mjs.map +1 -0
  320. package/resources/audio/index.d.mts +5 -0
  321. package/resources/audio/index.d.mts.map +1 -0
  322. package/resources/audio/index.d.ts +5 -0
  323. package/resources/audio/index.d.ts.map +1 -0
  324. package/resources/audio/index.js +13 -0
  325. package/resources/audio/index.js.map +1 -0
  326. package/resources/audio/index.mjs +6 -0
  327. package/resources/audio/index.mjs.map +1 -0
  328. package/resources/audio/speech.d.mts +67 -0
  329. package/resources/audio/speech.d.mts.map +1 -0
  330. package/resources/audio/speech.d.ts +67 -0
  331. package/resources/audio/speech.d.ts.map +1 -0
  332. package/resources/audio/speech.js +35 -0
  333. package/resources/audio/speech.js.map +1 -0
  334. package/resources/audio/speech.mjs +31 -0
  335. package/resources/audio/speech.mjs.map +1 -0
  336. package/resources/audio/transcriptions.d.mts +656 -0
  337. package/resources/audio/transcriptions.d.mts.map +1 -0
  338. package/resources/audio/transcriptions.d.ts +656 -0
  339. package/resources/audio/transcriptions.d.ts.map +1 -0
  340. package/resources/audio/transcriptions.js +13 -0
  341. package/resources/audio/transcriptions.js.map +1 -0
  342. package/resources/audio/transcriptions.mjs +9 -0
  343. package/resources/audio/transcriptions.mjs.map +1 -0
  344. package/resources/audio/translations.d.mts +78 -0
  345. package/resources/audio/translations.d.mts.map +1 -0
  346. package/resources/audio/translations.d.ts +78 -0
  347. package/resources/audio/translations.d.ts.map +1 -0
  348. package/resources/audio/translations.js +24 -0
  349. package/resources/audio/translations.js.map +1 -0
  350. package/resources/audio/translations.mjs +20 -0
  351. package/resources/audio/translations.mjs.map +1 -0
  352. package/resources/audio.d.mts +2 -0
  353. package/resources/audio.d.mts.map +1 -0
  354. package/resources/audio.d.ts +2 -0
  355. package/resources/audio.d.ts.map +1 -0
  356. package/resources/audio.js +6 -0
  357. package/resources/audio.js.map +1 -0
  358. package/resources/audio.mjs +3 -0
  359. package/resources/audio.mjs.map +1 -0
  360. package/resources/batches.d.mts +280 -0
  361. package/resources/batches.d.mts.map +1 -0
  362. package/resources/batches.d.ts +280 -0
  363. package/resources/batches.d.ts.map +1 -0
  364. package/resources/batches.js +37 -0
  365. package/resources/batches.js.map +1 -0
  366. package/resources/batches.mjs +33 -0
  367. package/resources/batches.mjs.map +1 -0
  368. package/resources/beta/assistants.d.mts +1221 -0
  369. package/resources/beta/assistants.d.mts.map +1 -0
  370. package/resources/beta/assistants.d.ts +1221 -0
  371. package/resources/beta/assistants.d.ts.map +1 -0
  372. package/resources/beta/assistants.js +70 -0
  373. package/resources/beta/assistants.js.map +1 -0
  374. package/resources/beta/assistants.mjs +66 -0
  375. package/resources/beta/assistants.mjs.map +1 -0
  376. package/resources/beta/beta.d.mts +18 -0
  377. package/resources/beta/beta.d.mts.map +1 -0
  378. package/resources/beta/beta.d.ts +18 -0
  379. package/resources/beta/beta.d.ts.map +1 -0
  380. package/resources/beta/beta.js +25 -0
  381. package/resources/beta/beta.js.map +1 -0
  382. package/resources/beta/beta.mjs +20 -0
  383. package/resources/beta/beta.mjs.map +1 -0
  384. package/resources/beta/chatkit/chatkit.d.mts +51 -0
  385. package/resources/beta/chatkit/chatkit.d.mts.map +1 -0
  386. package/resources/beta/chatkit/chatkit.d.ts +51 -0
  387. package/resources/beta/chatkit/chatkit.d.ts.map +1 -0
  388. package/resources/beta/chatkit/chatkit.js +21 -0
  389. package/resources/beta/chatkit/chatkit.js.map +1 -0
  390. package/resources/beta/chatkit/chatkit.mjs +16 -0
  391. package/resources/beta/chatkit/chatkit.mjs.map +1 -0
  392. package/resources/beta/chatkit/index.d.mts +4 -0
  393. package/resources/beta/chatkit/index.d.mts.map +1 -0
  394. package/resources/beta/chatkit/index.d.ts +4 -0
  395. package/resources/beta/chatkit/index.d.ts.map +1 -0
  396. package/resources/beta/chatkit/index.js +11 -0
  397. package/resources/beta/chatkit/index.js.map +1 -0
  398. package/resources/beta/chatkit/index.mjs +5 -0
  399. package/resources/beta/chatkit/index.mjs.map +1 -0
  400. package/resources/beta/chatkit/sessions.d.mts +59 -0
  401. package/resources/beta/chatkit/sessions.d.mts.map +1 -0
  402. package/resources/beta/chatkit/sessions.d.ts +59 -0
  403. package/resources/beta/chatkit/sessions.d.ts.map +1 -0
  404. package/resources/beta/chatkit/sessions.js +47 -0
  405. package/resources/beta/chatkit/sessions.js.map +1 -0
  406. package/resources/beta/chatkit/sessions.mjs +43 -0
  407. package/resources/beta/chatkit/sessions.mjs.map +1 -0
  408. package/resources/beta/chatkit/threads.d.mts +811 -0
  409. package/resources/beta/chatkit/threads.d.mts.map +1 -0
  410. package/resources/beta/chatkit/threads.d.ts +811 -0
  411. package/resources/beta/chatkit/threads.d.ts.map +1 -0
  412. package/resources/beta/chatkit/threads.js +77 -0
  413. package/resources/beta/chatkit/threads.js.map +1 -0
  414. package/resources/beta/chatkit/threads.mjs +73 -0
  415. package/resources/beta/chatkit/threads.mjs.map +1 -0
  416. package/resources/beta/chatkit.d.mts +2 -0
  417. package/resources/beta/chatkit.d.mts.map +1 -0
  418. package/resources/beta/chatkit.d.ts +2 -0
  419. package/resources/beta/chatkit.d.ts.map +1 -0
  420. package/resources/beta/chatkit.js +6 -0
  421. package/resources/beta/chatkit.js.map +1 -0
  422. package/resources/beta/chatkit.mjs +3 -0
  423. package/resources/beta/chatkit.mjs.map +1 -0
  424. package/resources/beta/index.d.mts +5 -0
  425. package/resources/beta/index.d.mts.map +1 -0
  426. package/resources/beta/index.d.ts +5 -0
  427. package/resources/beta/index.d.ts.map +1 -0
  428. package/resources/beta/index.js +13 -0
  429. package/resources/beta/index.js.map +1 -0
  430. package/resources/beta/index.mjs +6 -0
  431. package/resources/beta/index.mjs.map +1 -0
  432. package/resources/beta/threads/index.d.mts +4 -0
  433. package/resources/beta/threads/index.d.mts.map +1 -0
  434. package/resources/beta/threads/index.d.ts +4 -0
  435. package/resources/beta/threads/index.d.ts.map +1 -0
  436. package/resources/beta/threads/index.js +11 -0
  437. package/resources/beta/threads/index.js.map +1 -0
  438. package/resources/beta/threads/index.mjs +5 -0
  439. package/resources/beta/threads/index.mjs.map +1 -0
  440. package/resources/beta/threads/messages.d.mts +594 -0
  441. package/resources/beta/threads/messages.d.mts.map +1 -0
  442. package/resources/beta/threads/messages.d.ts +594 -0
  443. package/resources/beta/threads/messages.d.ts.map +1 -0
  444. package/resources/beta/threads/messages.js +76 -0
  445. package/resources/beta/threads/messages.js.map +1 -0
  446. package/resources/beta/threads/messages.mjs +72 -0
  447. package/resources/beta/threads/messages.mjs.map +1 -0
  448. package/resources/beta/threads/runs/index.d.mts +3 -0
  449. package/resources/beta/threads/runs/index.d.mts.map +1 -0
  450. package/resources/beta/threads/runs/index.d.ts +3 -0
  451. package/resources/beta/threads/runs/index.d.ts.map +1 -0
  452. package/resources/beta/threads/runs/index.js +9 -0
  453. package/resources/beta/threads/runs/index.js.map +1 -0
  454. package/resources/beta/threads/runs/index.mjs +4 -0
  455. package/resources/beta/threads/runs/index.mjs.map +1 -0
  456. package/resources/beta/threads/runs/runs.d.mts +694 -0
  457. package/resources/beta/threads/runs/runs.d.mts.map +1 -0
  458. package/resources/beta/threads/runs/runs.d.ts +694 -0
  459. package/resources/beta/threads/runs/runs.d.ts.map +1 -0
  460. package/resources/beta/threads/runs/runs.js +91 -0
  461. package/resources/beta/threads/runs/runs.js.map +1 -0
  462. package/resources/beta/threads/runs/runs.mjs +86 -0
  463. package/resources/beta/threads/runs/runs.mjs.map +1 -0
  464. package/resources/beta/threads/runs/steps.d.mts +615 -0
  465. package/resources/beta/threads/runs/steps.d.mts.map +1 -0
  466. package/resources/beta/threads/runs/steps.d.ts +615 -0
  467. package/resources/beta/threads/runs/steps.d.ts.map +1 -0
  468. package/resources/beta/threads/runs/steps.js +41 -0
  469. package/resources/beta/threads/runs/steps.js.map +1 -0
  470. package/resources/beta/threads/runs/steps.mjs +37 -0
  471. package/resources/beta/threads/runs/steps.mjs.map +1 -0
  472. package/resources/beta/threads/runs.d.mts +2 -0
  473. package/resources/beta/threads/runs.d.mts.map +1 -0
  474. package/resources/beta/threads/runs.d.ts +2 -0
  475. package/resources/beta/threads/runs.d.ts.map +1 -0
  476. package/resources/beta/threads/runs.js +6 -0
  477. package/resources/beta/threads/runs.js.map +1 -0
  478. package/resources/beta/threads/runs.mjs +3 -0
  479. package/resources/beta/threads/runs.mjs.map +1 -0
  480. package/resources/beta/threads/threads.d.mts +757 -0
  481. package/resources/beta/threads/threads.d.mts.map +1 -0
  482. package/resources/beta/threads/threads.d.ts +757 -0
  483. package/resources/beta/threads/threads.d.ts.map +1 -0
  484. package/resources/beta/threads/threads.js +80 -0
  485. package/resources/beta/threads/threads.js.map +1 -0
  486. package/resources/beta/threads/threads.mjs +75 -0
  487. package/resources/beta/threads/threads.mjs.map +1 -0
  488. package/resources/beta/threads.d.mts +2 -0
  489. package/resources/beta/threads.d.mts.map +1 -0
  490. package/resources/beta/threads.d.ts +2 -0
  491. package/resources/beta/threads.d.ts.map +1 -0
  492. package/resources/beta/threads.js +6 -0
  493. package/resources/beta/threads.js.map +1 -0
  494. package/resources/beta/threads.mjs +3 -0
  495. package/resources/beta/threads.mjs.map +1 -0
  496. package/resources/beta.d.mts +2 -0
  497. package/resources/beta.d.mts.map +1 -0
  498. package/resources/beta.d.ts +2 -0
  499. package/resources/beta.d.ts.map +1 -0
  500. package/resources/beta.js +6 -0
  501. package/resources/beta.js.map +1 -0
  502. package/resources/beta.mjs +3 -0
  503. package/resources/beta.mjs.map +1 -0
  504. package/resources/chat/chat.d.mts +13 -0
  505. package/resources/chat/chat.d.mts.map +1 -0
  506. package/resources/chat/chat.d.ts +13 -0
  507. package/resources/chat/chat.d.ts.map +1 -0
  508. package/resources/chat/chat.js +17 -0
  509. package/resources/chat/chat.js.map +1 -0
  510. package/resources/chat/chat.mjs +12 -0
  511. package/resources/chat/chat.mjs.map +1 -0
  512. package/resources/chat/completions/completions.d.mts +1598 -0
  513. package/resources/chat/completions/completions.d.mts.map +1 -0
  514. package/resources/chat/completions/completions.d.ts +1598 -0
  515. package/resources/chat/completions/completions.d.ts.map +1 -0
  516. package/resources/chat/completions/completions.js +79 -0
  517. package/resources/chat/completions/completions.js.map +1 -0
  518. package/resources/chat/completions/completions.mjs +74 -0
  519. package/resources/chat/completions/completions.mjs.map +1 -0
  520. package/resources/chat/completions/index.d.mts +3 -0
  521. package/resources/chat/completions/index.d.mts.map +1 -0
  522. package/resources/chat/completions/index.d.ts +3 -0
  523. package/resources/chat/completions/index.d.ts.map +1 -0
  524. package/resources/chat/completions/index.js +9 -0
  525. package/resources/chat/completions/index.js.map +1 -0
  526. package/resources/chat/completions/index.mjs +4 -0
  527. package/resources/chat/completions/index.mjs.map +1 -0
  528. package/resources/chat/completions/messages.d.mts +34 -0
  529. package/resources/chat/completions/messages.d.mts.map +1 -0
  530. package/resources/chat/completions/messages.d.ts +34 -0
  531. package/resources/chat/completions/messages.d.ts.map +1 -0
  532. package/resources/chat/completions/messages.js +28 -0
  533. package/resources/chat/completions/messages.js.map +1 -0
  534. package/resources/chat/completions/messages.mjs +24 -0
  535. package/resources/chat/completions/messages.mjs.map +1 -0
  536. package/resources/chat/completions.d.mts +2 -0
  537. package/resources/chat/completions.d.mts.map +1 -0
  538. package/resources/chat/completions.d.ts +2 -0
  539. package/resources/chat/completions.d.ts.map +1 -0
  540. package/resources/chat/completions.js +6 -0
  541. package/resources/chat/completions.js.map +1 -0
  542. package/resources/chat/completions.mjs +3 -0
  543. package/resources/chat/completions.mjs.map +1 -0
  544. package/resources/chat/index.d.mts +3 -0
  545. package/resources/chat/index.d.mts.map +1 -0
  546. package/resources/chat/index.d.ts +3 -0
  547. package/resources/chat/index.d.ts.map +1 -0
  548. package/resources/chat/index.js +9 -0
  549. package/resources/chat/index.js.map +1 -0
  550. package/resources/chat/index.mjs +4 -0
  551. package/resources/chat/index.mjs.map +1 -0
  552. package/resources/chat.d.mts +2 -0
  553. package/resources/chat.d.mts.map +1 -0
  554. package/resources/chat.d.ts +2 -0
  555. package/resources/chat.d.ts.map +1 -0
  556. package/resources/chat.js +6 -0
  557. package/resources/chat.js.map +1 -0
  558. package/resources/chat.mjs +3 -0
  559. package/resources/chat.mjs.map +1 -0
  560. package/resources/completions.d.mts +332 -0
  561. package/resources/completions.d.mts.map +1 -0
  562. package/resources/completions.d.ts +332 -0
  563. package/resources/completions.d.ts.map +1 -0
  564. package/resources/completions.js +12 -0
  565. package/resources/completions.js.map +1 -0
  566. package/resources/completions.mjs +8 -0
  567. package/resources/completions.mjs.map +1 -0
  568. package/resources/containers/containers.d.mts +292 -0
  569. package/resources/containers/containers.d.mts.map +1 -0
  570. package/resources/containers/containers.d.ts +292 -0
  571. package/resources/containers/containers.d.ts.map +1 -0
  572. package/resources/containers/containers.js +47 -0
  573. package/resources/containers/containers.js.map +1 -0
  574. package/resources/containers/containers.mjs +42 -0
  575. package/resources/containers/containers.mjs.map +1 -0
  576. package/resources/containers/files/content.d.mts +16 -0
  577. package/resources/containers/files/content.d.mts.map +1 -0
  578. package/resources/containers/files/content.d.ts +16 -0
  579. package/resources/containers/files/content.d.ts.map +1 -0
  580. package/resources/containers/files/content.js +22 -0
  581. package/resources/containers/files/content.js.map +1 -0
  582. package/resources/containers/files/content.mjs +18 -0
  583. package/resources/containers/files/content.mjs.map +1 -0
  584. package/resources/containers/files/files.d.mts +148 -0
  585. package/resources/containers/files/files.d.mts.map +1 -0
  586. package/resources/containers/files/files.d.ts +148 -0
  587. package/resources/containers/files/files.d.ts.map +1 -0
  588. package/resources/containers/files/files.js +56 -0
  589. package/resources/containers/files/files.js.map +1 -0
  590. package/resources/containers/files/files.mjs +51 -0
  591. package/resources/containers/files/files.mjs.map +1 -0
  592. package/resources/containers/files/index.d.mts +3 -0
  593. package/resources/containers/files/index.d.mts.map +1 -0
  594. package/resources/containers/files/index.d.ts +3 -0
  595. package/resources/containers/files/index.d.ts.map +1 -0
  596. package/resources/containers/files/index.js +9 -0
  597. package/resources/containers/files/index.js.map +1 -0
  598. package/resources/containers/files/index.mjs +4 -0
  599. package/resources/containers/files/index.mjs.map +1 -0
  600. package/resources/containers/files.d.mts +2 -0
  601. package/resources/containers/files.d.mts.map +1 -0
  602. package/resources/containers/files.d.ts +2 -0
  603. package/resources/containers/files.d.ts.map +1 -0
  604. package/resources/containers/files.js +6 -0
  605. package/resources/containers/files.js.map +1 -0
  606. package/resources/containers/files.mjs +3 -0
  607. package/resources/containers/files.mjs.map +1 -0
  608. package/resources/containers/index.d.mts +3 -0
  609. package/resources/containers/index.d.mts.map +1 -0
  610. package/resources/containers/index.d.ts +3 -0
  611. package/resources/containers/index.d.ts.map +1 -0
  612. package/resources/containers/index.js +9 -0
  613. package/resources/containers/index.js.map +1 -0
  614. package/resources/containers/index.mjs +4 -0
  615. package/resources/containers/index.mjs.map +1 -0
  616. package/resources/containers.d.mts +2 -0
  617. package/resources/containers.d.mts.map +1 -0
  618. package/resources/containers.d.ts +2 -0
  619. package/resources/containers.d.ts.map +1 -0
  620. package/resources/containers.js +6 -0
  621. package/resources/containers.js.map +1 -0
  622. package/resources/containers.mjs +3 -0
  623. package/resources/containers.mjs.map +1 -0
  624. package/resources/conversations/conversations.d.mts +176 -0
  625. package/resources/conversations/conversations.d.mts.map +1 -0
  626. package/resources/conversations/conversations.d.ts +176 -0
  627. package/resources/conversations/conversations.d.ts.map +1 -0
  628. package/resources/conversations/conversations.js +42 -0
  629. package/resources/conversations/conversations.js.map +1 -0
  630. package/resources/conversations/conversations.mjs +37 -0
  631. package/resources/conversations/conversations.mjs.map +1 -0
  632. package/resources/conversations/index.d.mts +3 -0
  633. package/resources/conversations/index.d.mts.map +1 -0
  634. package/resources/conversations/index.d.ts +3 -0
  635. package/resources/conversations/index.d.ts.map +1 -0
  636. package/resources/conversations/index.js +9 -0
  637. package/resources/conversations/index.js.map +1 -0
  638. package/resources/conversations/index.mjs +4 -0
  639. package/resources/conversations/index.mjs.map +1 -0
  640. package/resources/conversations/items.d.mts +367 -0
  641. package/resources/conversations/items.d.mts.map +1 -0
  642. package/resources/conversations/items.d.ts +367 -0
  643. package/resources/conversations/items.d.ts.map +1 -0
  644. package/resources/conversations/items.js +42 -0
  645. package/resources/conversations/items.js.map +1 -0
  646. package/resources/conversations/items.mjs +38 -0
  647. package/resources/conversations/items.mjs.map +1 -0
  648. package/resources/conversations.d.mts +2 -0
  649. package/resources/conversations.d.mts.map +1 -0
  650. package/resources/conversations.d.ts +2 -0
  651. package/resources/conversations.d.ts.map +1 -0
  652. package/resources/conversations.js +6 -0
  653. package/resources/conversations.js.map +1 -0
  654. package/resources/conversations.mjs +3 -0
  655. package/resources/conversations.mjs.map +1 -0
  656. package/resources/embeddings.d.mts +113 -0
  657. package/resources/embeddings.d.mts.map +1 -0
  658. package/resources/embeddings.d.ts +113 -0
  659. package/resources/embeddings.d.ts.map +1 -0
  660. package/resources/embeddings.js +24 -0
  661. package/resources/embeddings.js.map +1 -0
  662. package/resources/embeddings.mjs +20 -0
  663. package/resources/embeddings.mjs.map +1 -0
  664. package/resources/evals/evals.d.mts +736 -0
  665. package/resources/evals/evals.d.mts.map +1 -0
  666. package/resources/evals/evals.d.ts +736 -0
  667. package/resources/evals/evals.d.ts.map +1 -0
  668. package/resources/evals/evals.js +54 -0
  669. package/resources/evals/evals.js.map +1 -0
  670. package/resources/evals/evals.mjs +49 -0
  671. package/resources/evals/evals.mjs.map +1 -0
  672. package/resources/evals/index.d.mts +3 -0
  673. package/resources/evals/index.d.mts.map +1 -0
  674. package/resources/evals/index.d.ts +3 -0
  675. package/resources/evals/index.d.ts.map +1 -0
  676. package/resources/evals/index.js +9 -0
  677. package/resources/evals/index.js.map +1 -0
  678. package/resources/evals/index.mjs +4 -0
  679. package/resources/evals/index.mjs.map +1 -0
  680. package/resources/evals/runs/index.d.mts +3 -0
  681. package/resources/evals/runs/index.d.mts.map +1 -0
  682. package/resources/evals/runs/index.d.ts +3 -0
  683. package/resources/evals/runs/index.d.ts.map +1 -0
  684. package/resources/evals/runs/index.js +9 -0
  685. package/resources/evals/runs/index.js.map +1 -0
  686. package/resources/evals/runs/index.mjs +4 -0
  687. package/resources/evals/runs/index.mjs.map +1 -0
  688. package/resources/evals/runs/output-items.d.mts +382 -0
  689. package/resources/evals/runs/output-items.d.mts.map +1 -0
  690. package/resources/evals/runs/output-items.d.ts +382 -0
  691. package/resources/evals/runs/output-items.d.ts.map +1 -0
  692. package/resources/evals/runs/output-items.js +25 -0
  693. package/resources/evals/runs/output-items.js.map +1 -0
  694. package/resources/evals/runs/output-items.mjs +21 -0
  695. package/resources/evals/runs/output-items.mjs.map +1 -0
  696. package/resources/evals/runs/runs.d.mts +2385 -0
  697. package/resources/evals/runs/runs.d.mts.map +1 -0
  698. package/resources/evals/runs/runs.d.ts +2385 -0
  699. package/resources/evals/runs/runs.d.ts.map +1 -0
  700. package/resources/evals/runs/runs.js +57 -0
  701. package/resources/evals/runs/runs.js.map +1 -0
  702. package/resources/evals/runs/runs.mjs +52 -0
  703. package/resources/evals/runs/runs.mjs.map +1 -0
  704. package/resources/evals/runs.d.mts +2 -0
  705. package/resources/evals/runs.d.mts.map +1 -0
  706. package/resources/evals/runs.d.ts +2 -0
  707. package/resources/evals/runs.d.ts.map +1 -0
  708. package/resources/evals/runs.js +6 -0
  709. package/resources/evals/runs.js.map +1 -0
  710. package/resources/evals/runs.mjs +3 -0
  711. package/resources/evals/runs.mjs.map +1 -0
  712. package/resources/evals.d.mts +2 -0
  713. package/resources/evals.d.mts.map +1 -0
  714. package/resources/evals.d.ts +2 -0
  715. package/resources/evals.d.ts.map +1 -0
  716. package/resources/evals.js +6 -0
  717. package/resources/evals.js.map +1 -0
  718. package/resources/evals.mjs +3 -0
  719. package/resources/evals.mjs.map +1 -0
  720. package/resources/files.d.mts +164 -0
  721. package/resources/files.d.mts.map +1 -0
  722. package/resources/files.d.ts +164 -0
  723. package/resources/files.d.ts.map +1 -0
  724. package/resources/files.js +66 -0
  725. package/resources/files.js.map +1 -0
  726. package/resources/files.mjs +62 -0
  727. package/resources/files.mjs.map +1 -0
  728. package/resources/fine-tuning/alpha/alpha.d.mts +10 -0
  729. package/resources/fine-tuning/alpha/alpha.d.mts.map +1 -0
  730. package/resources/fine-tuning/alpha/alpha.d.ts +10 -0
  731. package/resources/fine-tuning/alpha/alpha.d.ts.map +1 -0
  732. package/resources/fine-tuning/alpha/alpha.js +17 -0
  733. package/resources/fine-tuning/alpha/alpha.js.map +1 -0
  734. package/resources/fine-tuning/alpha/alpha.mjs +12 -0
  735. package/resources/fine-tuning/alpha/alpha.mjs.map +1 -0
  736. package/resources/fine-tuning/alpha/graders.d.mts +119 -0
  737. package/resources/fine-tuning/alpha/graders.d.mts.map +1 -0
  738. package/resources/fine-tuning/alpha/graders.d.ts +119 -0
  739. package/resources/fine-tuning/alpha/graders.d.ts.map +1 -0
  740. package/resources/fine-tuning/alpha/graders.js +49 -0
  741. package/resources/fine-tuning/alpha/graders.js.map +1 -0
  742. package/resources/fine-tuning/alpha/graders.mjs +45 -0
  743. package/resources/fine-tuning/alpha/graders.mjs.map +1 -0
  744. package/resources/fine-tuning/alpha/index.d.mts +3 -0
  745. package/resources/fine-tuning/alpha/index.d.mts.map +1 -0
  746. package/resources/fine-tuning/alpha/index.d.ts +3 -0
  747. package/resources/fine-tuning/alpha/index.d.ts.map +1 -0
  748. package/resources/fine-tuning/alpha/index.js +9 -0
  749. package/resources/fine-tuning/alpha/index.js.map +1 -0
  750. package/resources/fine-tuning/alpha/index.mjs +4 -0
  751. package/resources/fine-tuning/alpha/index.mjs.map +1 -0
  752. package/resources/fine-tuning/alpha.d.mts +2 -0
  753. package/resources/fine-tuning/alpha.d.mts.map +1 -0
  754. package/resources/fine-tuning/alpha.d.ts +2 -0
  755. package/resources/fine-tuning/alpha.d.ts.map +1 -0
  756. package/resources/fine-tuning/alpha.js +6 -0
  757. package/resources/fine-tuning/alpha.js.map +1 -0
  758. package/resources/fine-tuning/alpha.mjs +3 -0
  759. package/resources/fine-tuning/alpha.mjs.map +1 -0
  760. package/resources/fine-tuning/checkpoints/checkpoints.d.mts +10 -0
  761. package/resources/fine-tuning/checkpoints/checkpoints.d.mts.map +1 -0
  762. package/resources/fine-tuning/checkpoints/checkpoints.d.ts +10 -0
  763. package/resources/fine-tuning/checkpoints/checkpoints.d.ts.map +1 -0
  764. package/resources/fine-tuning/checkpoints/checkpoints.js +17 -0
  765. package/resources/fine-tuning/checkpoints/checkpoints.js.map +1 -0
  766. package/resources/fine-tuning/checkpoints/checkpoints.mjs +12 -0
  767. package/resources/fine-tuning/checkpoints/checkpoints.mjs.map +1 -0
  768. package/resources/fine-tuning/checkpoints/index.d.mts +3 -0
  769. package/resources/fine-tuning/checkpoints/index.d.mts.map +1 -0
  770. package/resources/fine-tuning/checkpoints/index.d.ts +3 -0
  771. package/resources/fine-tuning/checkpoints/index.d.ts.map +1 -0
  772. package/resources/fine-tuning/checkpoints/index.js +9 -0
  773. package/resources/fine-tuning/checkpoints/index.js.map +1 -0
  774. package/resources/fine-tuning/checkpoints/index.mjs +4 -0
  775. package/resources/fine-tuning/checkpoints/index.mjs.map +1 -0
  776. package/resources/fine-tuning/checkpoints/permissions.d.mts +160 -0
  777. package/resources/fine-tuning/checkpoints/permissions.d.mts.map +1 -0
  778. package/resources/fine-tuning/checkpoints/permissions.d.ts +160 -0
  779. package/resources/fine-tuning/checkpoints/permissions.d.ts.map +1 -0
  780. package/resources/fine-tuning/checkpoints/permissions.js +73 -0
  781. package/resources/fine-tuning/checkpoints/permissions.js.map +1 -0
  782. package/resources/fine-tuning/checkpoints/permissions.mjs +69 -0
  783. package/resources/fine-tuning/checkpoints/permissions.mjs.map +1 -0
  784. package/resources/fine-tuning/checkpoints.d.mts +2 -0
  785. package/resources/fine-tuning/checkpoints.d.mts.map +1 -0
  786. package/resources/fine-tuning/checkpoints.d.ts +2 -0
  787. package/resources/fine-tuning/checkpoints.d.ts.map +1 -0
  788. package/resources/fine-tuning/checkpoints.js +6 -0
  789. package/resources/fine-tuning/checkpoints.js.map +1 -0
  790. package/resources/fine-tuning/checkpoints.mjs +3 -0
  791. package/resources/fine-tuning/checkpoints.mjs.map +1 -0
  792. package/resources/fine-tuning/fine-tuning.d.mts +22 -0
  793. package/resources/fine-tuning/fine-tuning.d.mts.map +1 -0
  794. package/resources/fine-tuning/fine-tuning.d.ts +22 -0
  795. package/resources/fine-tuning/fine-tuning.d.ts.map +1 -0
  796. package/resources/fine-tuning/fine-tuning.js +29 -0
  797. package/resources/fine-tuning/fine-tuning.js.map +1 -0
  798. package/resources/fine-tuning/fine-tuning.mjs +24 -0
  799. package/resources/fine-tuning/fine-tuning.mjs.map +1 -0
  800. package/resources/fine-tuning/index.d.mts +6 -0
  801. package/resources/fine-tuning/index.d.mts.map +1 -0
  802. package/resources/fine-tuning/index.d.ts +6 -0
  803. package/resources/fine-tuning/index.d.ts.map +1 -0
  804. package/resources/fine-tuning/index.js +15 -0
  805. package/resources/fine-tuning/index.js.map +1 -0
  806. package/resources/fine-tuning/index.mjs +7 -0
  807. package/resources/fine-tuning/index.mjs.map +1 -0
  808. package/resources/fine-tuning/jobs/checkpoints.d.mts +74 -0
  809. package/resources/fine-tuning/jobs/checkpoints.d.mts.map +1 -0
  810. package/resources/fine-tuning/jobs/checkpoints.d.ts +74 -0
  811. package/resources/fine-tuning/jobs/checkpoints.d.ts.map +1 -0
  812. package/resources/fine-tuning/jobs/checkpoints.js +27 -0
  813. package/resources/fine-tuning/jobs/checkpoints.js.map +1 -0
  814. package/resources/fine-tuning/jobs/checkpoints.mjs +23 -0
  815. package/resources/fine-tuning/jobs/checkpoints.mjs.map +1 -0
  816. package/resources/fine-tuning/jobs/index.d.mts +3 -0
  817. package/resources/fine-tuning/jobs/index.d.mts.map +1 -0
  818. package/resources/fine-tuning/jobs/index.d.ts +3 -0
  819. package/resources/fine-tuning/jobs/index.d.ts.map +1 -0
  820. package/resources/fine-tuning/jobs/index.js +9 -0
  821. package/resources/fine-tuning/jobs/index.js.map +1 -0
  822. package/resources/fine-tuning/jobs/index.mjs +4 -0
  823. package/resources/fine-tuning/jobs/index.mjs.map +1 -0
  824. package/resources/fine-tuning/jobs/jobs.d.mts +528 -0
  825. package/resources/fine-tuning/jobs/jobs.d.mts.map +1 -0
  826. package/resources/fine-tuning/jobs/jobs.d.ts +528 -0
  827. package/resources/fine-tuning/jobs/jobs.d.ts.map +1 -0
  828. package/resources/fine-tuning/jobs/jobs.js +123 -0
  829. package/resources/fine-tuning/jobs/jobs.js.map +1 -0
  830. package/resources/fine-tuning/jobs/jobs.mjs +118 -0
  831. package/resources/fine-tuning/jobs/jobs.mjs.map +1 -0
  832. package/resources/fine-tuning/jobs.d.mts +2 -0
  833. package/resources/fine-tuning/jobs.d.mts.map +1 -0
  834. package/resources/fine-tuning/jobs.d.ts +2 -0
  835. package/resources/fine-tuning/jobs.d.ts.map +1 -0
  836. package/resources/fine-tuning/jobs.js +6 -0
  837. package/resources/fine-tuning/jobs.js.map +1 -0
  838. package/resources/fine-tuning/jobs.mjs +3 -0
  839. package/resources/fine-tuning/jobs.mjs.map +1 -0
  840. package/resources/fine-tuning/methods.d.mts +120 -0
  841. package/resources/fine-tuning/methods.d.mts.map +1 -0
  842. package/resources/fine-tuning/methods.d.ts +120 -0
  843. package/resources/fine-tuning/methods.d.ts.map +1 -0
  844. package/resources/fine-tuning/methods.js +9 -0
  845. package/resources/fine-tuning/methods.js.map +1 -0
  846. package/resources/fine-tuning/methods.mjs +5 -0
  847. package/resources/fine-tuning/methods.mjs.map +1 -0
  848. package/resources/fine-tuning.d.mts +2 -0
  849. package/resources/fine-tuning.d.mts.map +1 -0
  850. package/resources/fine-tuning.d.ts +2 -0
  851. package/resources/fine-tuning.d.ts.map +1 -0
  852. package/resources/fine-tuning.js +6 -0
  853. package/resources/fine-tuning.js.map +1 -0
  854. package/resources/fine-tuning.mjs +3 -0
  855. package/resources/fine-tuning.mjs.map +1 -0
  856. package/resources/graders/grader-models.d.mts +354 -0
  857. package/resources/graders/grader-models.d.mts.map +1 -0
  858. package/resources/graders/grader-models.d.ts +354 -0
  859. package/resources/graders/grader-models.d.ts.map +1 -0
  860. package/resources/graders/grader-models.js +9 -0
  861. package/resources/graders/grader-models.js.map +1 -0
  862. package/resources/graders/grader-models.mjs +5 -0
  863. package/resources/graders/grader-models.mjs.map +1 -0
  864. package/resources/graders/graders.d.mts +10 -0
  865. package/resources/graders/graders.d.mts.map +1 -0
  866. package/resources/graders/graders.d.ts +10 -0
  867. package/resources/graders/graders.d.ts.map +1 -0
  868. package/resources/graders/graders.js +17 -0
  869. package/resources/graders/graders.js.map +1 -0
  870. package/resources/graders/graders.mjs +12 -0
  871. package/resources/graders/graders.mjs.map +1 -0
  872. package/resources/graders/index.d.mts +3 -0
  873. package/resources/graders/index.d.mts.map +1 -0
  874. package/resources/graders/index.d.ts +3 -0
  875. package/resources/graders/index.d.ts.map +1 -0
  876. package/resources/graders/index.js +9 -0
  877. package/resources/graders/index.js.map +1 -0
  878. package/resources/graders/index.mjs +4 -0
  879. package/resources/graders/index.mjs.map +1 -0
  880. package/resources/graders.d.mts +2 -0
  881. package/resources/graders.d.mts.map +1 -0
  882. package/resources/graders.d.ts +2 -0
  883. package/resources/graders.d.ts.map +1 -0
  884. package/resources/graders.js +6 -0
  885. package/resources/graders.js.map +1 -0
  886. package/resources/graders.mjs +3 -0
  887. package/resources/graders.mjs.map +1 -0
  888. package/resources/images.d.mts +676 -0
  889. package/resources/images.d.mts.map +1 -0
  890. package/resources/images.d.ts +676 -0
  891. package/resources/images.d.ts.map +1 -0
  892. package/resources/images.js +29 -0
  893. package/resources/images.js.map +1 -0
  894. package/resources/images.mjs +25 -0
  895. package/resources/images.mjs.map +1 -0
  896. package/resources/index.d.mts +24 -0
  897. package/resources/index.d.mts.map +1 -0
  898. package/resources/index.d.ts +24 -0
  899. package/resources/index.d.ts.map +1 -0
  900. package/resources/index.js +50 -0
  901. package/resources/index.js.map +1 -0
  902. package/resources/index.mjs +25 -0
  903. package/resources/index.mjs.map +1 -0
  904. package/resources/models.d.mts +52 -0
  905. package/resources/models.d.mts.map +1 -0
  906. package/resources/models.d.ts +52 -0
  907. package/resources/models.d.ts.map +1 -0
  908. package/resources/models.js +32 -0
  909. package/resources/models.js.map +1 -0
  910. package/resources/models.mjs +28 -0
  911. package/resources/models.mjs.map +1 -0
  912. package/resources/moderations.d.mts +295 -0
  913. package/resources/moderations.d.mts.map +1 -0
  914. package/resources/moderations.d.ts +295 -0
  915. package/resources/moderations.d.ts.map +1 -0
  916. package/resources/moderations.js +16 -0
  917. package/resources/moderations.js.map +1 -0
  918. package/resources/moderations.mjs +12 -0
  919. package/resources/moderations.mjs.map +1 -0
  920. package/resources/realtime/calls.d.mts +158 -0
  921. package/resources/realtime/calls.d.mts.map +1 -0
  922. package/resources/realtime/calls.d.ts +158 -0
  923. package/resources/realtime/calls.d.ts.map +1 -0
  924. package/resources/realtime/calls.js +75 -0
  925. package/resources/realtime/calls.js.map +1 -0
  926. package/resources/realtime/calls.mjs +71 -0
  927. package/resources/realtime/calls.mjs.map +1 -0
  928. package/resources/realtime/client-secrets.d.mts +638 -0
  929. package/resources/realtime/client-secrets.d.mts.map +1 -0
  930. package/resources/realtime/client-secrets.d.ts +638 -0
  931. package/resources/realtime/client-secrets.d.ts.map +1 -0
  932. package/resources/realtime/client-secrets.js +35 -0
  933. package/resources/realtime/client-secrets.js.map +1 -0
  934. package/resources/realtime/client-secrets.mjs +31 -0
  935. package/resources/realtime/client-secrets.mjs.map +1 -0
  936. package/resources/realtime/index.d.mts +4 -0
  937. package/resources/realtime/index.d.mts.map +1 -0
  938. package/resources/realtime/index.d.ts +4 -0
  939. package/resources/realtime/index.d.ts.map +1 -0
  940. package/resources/realtime/index.js +11 -0
  941. package/resources/realtime/index.js.map +1 -0
  942. package/resources/realtime/index.mjs +5 -0
  943. package/resources/realtime/index.mjs.map +1 -0
  944. package/resources/realtime/realtime.d.mts +3941 -0
  945. package/resources/realtime/realtime.d.mts.map +1 -0
  946. package/resources/realtime/realtime.d.ts +3941 -0
  947. package/resources/realtime/realtime.d.ts.map +1 -0
  948. package/resources/realtime/realtime.js +21 -0
  949. package/resources/realtime/realtime.js.map +1 -0
  950. package/resources/realtime/realtime.mjs +16 -0
  951. package/resources/realtime/realtime.mjs.map +1 -0
  952. package/resources/realtime.d.mts +2 -0
  953. package/resources/realtime.d.mts.map +1 -0
  954. package/resources/realtime.d.ts +2 -0
  955. package/resources/realtime.d.ts.map +1 -0
  956. package/resources/realtime.js +6 -0
  957. package/resources/realtime.js.map +1 -0
  958. package/resources/realtime.mjs +3 -0
  959. package/resources/realtime.mjs.map +1 -0
  960. package/resources/responses/index.d.mts +4 -0
  961. package/resources/responses/index.d.mts.map +1 -0
  962. package/resources/responses/index.d.ts +4 -0
  963. package/resources/responses/index.d.ts.map +1 -0
  964. package/resources/responses/index.js +11 -0
  965. package/resources/responses/index.js.map +1 -0
  966. package/resources/responses/index.mjs +5 -0
  967. package/resources/responses/index.mjs.map +1 -0
  968. package/resources/responses/input-items.d.mts +65 -0
  969. package/resources/responses/input-items.d.mts.map +1 -0
  970. package/resources/responses/input-items.d.ts +65 -0
  971. package/resources/responses/input-items.d.ts.map +1 -0
  972. package/resources/responses/input-items.js +27 -0
  973. package/resources/responses/input-items.js.map +1 -0
  974. package/resources/responses/input-items.mjs +23 -0
  975. package/resources/responses/input-items.mjs.map +1 -0
  976. package/resources/responses/input-tokens.d.mts +129 -0
  977. package/resources/responses/input-tokens.d.mts.map +1 -0
  978. package/resources/responses/input-tokens.d.ts +129 -0
  979. package/resources/responses/input-tokens.d.ts.map +1 -0
  980. package/resources/responses/input-tokens.js +23 -0
  981. package/resources/responses/input-tokens.js.map +1 -0
  982. package/resources/responses/input-tokens.mjs +19 -0
  983. package/resources/responses/input-tokens.mjs.map +1 -0
  984. package/resources/responses/responses.d.mts +5561 -0
  985. package/resources/responses/responses.d.mts.map +1 -0
  986. package/resources/responses/responses.d.ts +5561 -0
  987. package/resources/responses/responses.d.ts.map +1 -0
  988. package/resources/responses/responses.js +82 -0
  989. package/resources/responses/responses.js.map +1 -0
  990. package/resources/responses/responses.mjs +77 -0
  991. package/resources/responses/responses.mjs.map +1 -0
  992. package/resources/responses.d.mts +2 -0
  993. package/resources/responses.d.mts.map +1 -0
  994. package/resources/responses.d.ts +2 -0
  995. package/resources/responses.d.ts.map +1 -0
  996. package/resources/responses.js +6 -0
  997. package/resources/responses.js.map +1 -0
  998. package/resources/responses.mjs +3 -0
  999. package/resources/responses.mjs.map +1 -0
  1000. package/resources/shared.d.mts +287 -0
  1001. package/resources/shared.d.mts.map +1 -0
  1002. package/resources/shared.d.ts +287 -0
  1003. package/resources/shared.d.ts.map +1 -0
  1004. package/resources/shared.js +4 -0
  1005. package/resources/shared.js.map +1 -0
  1006. package/resources/shared.mjs +3 -0
  1007. package/resources/shared.mjs.map +1 -0
  1008. package/resources/skills/content.d.mts +10 -0
  1009. package/resources/skills/content.d.mts.map +1 -0
  1010. package/resources/skills/content.d.ts +10 -0
  1011. package/resources/skills/content.d.ts.map +1 -0
  1012. package/resources/skills/content.js +21 -0
  1013. package/resources/skills/content.js.map +1 -0
  1014. package/resources/skills/content.mjs +17 -0
  1015. package/resources/skills/content.mjs.map +1 -0
  1016. package/resources/skills/index.d.mts +4 -0
  1017. package/resources/skills/index.d.mts.map +1 -0
  1018. package/resources/skills/index.d.ts +4 -0
  1019. package/resources/skills/index.d.ts.map +1 -0
  1020. package/resources/skills/index.js +11 -0
  1021. package/resources/skills/index.js.map +1 -0
  1022. package/resources/skills/index.mjs +5 -0
  1023. package/resources/skills/index.mjs.map +1 -0
  1024. package/resources/skills/skills.d.mts +116 -0
  1025. package/resources/skills/skills.d.mts.map +1 -0
  1026. package/resources/skills/skills.d.ts +116 -0
  1027. package/resources/skills/skills.d.ts.map +1 -0
  1028. package/resources/skills/skills.js +54 -0
  1029. package/resources/skills/skills.js.map +1 -0
  1030. package/resources/skills/skills.mjs +49 -0
  1031. package/resources/skills/skills.mjs.map +1 -0
  1032. package/resources/skills/versions/content.d.mts +19 -0
  1033. package/resources/skills/versions/content.d.mts.map +1 -0
  1034. package/resources/skills/versions/content.d.ts +19 -0
  1035. package/resources/skills/versions/content.d.ts.map +1 -0
  1036. package/resources/skills/versions/content.js +22 -0
  1037. package/resources/skills/versions/content.js.map +1 -0
  1038. package/resources/skills/versions/content.mjs +18 -0
  1039. package/resources/skills/versions/content.mjs.map +1 -0
  1040. package/resources/skills/versions/index.d.mts +3 -0
  1041. package/resources/skills/versions/index.d.mts.map +1 -0
  1042. package/resources/skills/versions/index.d.ts +3 -0
  1043. package/resources/skills/versions/index.d.ts.map +1 -0
  1044. package/resources/skills/versions/index.js +9 -0
  1045. package/resources/skills/versions/index.js.map +1 -0
  1046. package/resources/skills/versions/index.mjs +4 -0
  1047. package/resources/skills/versions/index.mjs.map +1 -0
  1048. package/resources/skills/versions/versions.d.mts +121 -0
  1049. package/resources/skills/versions/versions.d.mts.map +1 -0
  1050. package/resources/skills/versions/versions.d.ts +121 -0
  1051. package/resources/skills/versions/versions.d.ts.map +1 -0
  1052. package/resources/skills/versions/versions.js +49 -0
  1053. package/resources/skills/versions/versions.js.map +1 -0
  1054. package/resources/skills/versions/versions.mjs +44 -0
  1055. package/resources/skills/versions/versions.mjs.map +1 -0
  1056. package/resources/skills/versions.d.mts +2 -0
  1057. package/resources/skills/versions.d.mts.map +1 -0
  1058. package/resources/skills/versions.d.ts +2 -0
  1059. package/resources/skills/versions.d.ts.map +1 -0
  1060. package/resources/skills/versions.js +6 -0
  1061. package/resources/skills/versions.js.map +1 -0
  1062. package/resources/skills/versions.mjs +3 -0
  1063. package/resources/skills/versions.mjs.map +1 -0
  1064. package/resources/skills.d.mts +2 -0
  1065. package/resources/skills.d.mts.map +1 -0
  1066. package/resources/skills.d.ts +2 -0
  1067. package/resources/skills.d.ts.map +1 -0
  1068. package/resources/skills.js +6 -0
  1069. package/resources/skills.js.map +1 -0
  1070. package/resources/skills.mjs +3 -0
  1071. package/resources/skills.mjs.map +1 -0
  1072. package/resources/uploads/index.d.mts +3 -0
  1073. package/resources/uploads/index.d.mts.map +1 -0
  1074. package/resources/uploads/index.d.ts +3 -0
  1075. package/resources/uploads/index.d.ts.map +1 -0
  1076. package/resources/uploads/index.js +9 -0
  1077. package/resources/uploads/index.js.map +1 -0
  1078. package/resources/uploads/index.mjs +4 -0
  1079. package/resources/uploads/index.mjs.map +1 -0
  1080. package/resources/uploads/parts.d.mts +51 -0
  1081. package/resources/uploads/parts.d.mts.map +1 -0
  1082. package/resources/uploads/parts.d.ts +51 -0
  1083. package/resources/uploads/parts.d.ts.map +1 -0
  1084. package/resources/uploads/parts.js +27 -0
  1085. package/resources/uploads/parts.js.map +1 -0
  1086. package/resources/uploads/parts.mjs +23 -0
  1087. package/resources/uploads/parts.mjs.map +1 -0
  1088. package/resources/uploads/uploads.d.mts +163 -0
  1089. package/resources/uploads/uploads.d.mts.map +1 -0
  1090. package/resources/uploads/uploads.d.ts +163 -0
  1091. package/resources/uploads/uploads.d.ts.map +1 -0
  1092. package/resources/uploads/uploads.js +72 -0
  1093. package/resources/uploads/uploads.js.map +1 -0
  1094. package/resources/uploads/uploads.mjs +67 -0
  1095. package/resources/uploads/uploads.mjs.map +1 -0
  1096. package/resources/uploads.d.mts +2 -0
  1097. package/resources/uploads.d.mts.map +1 -0
  1098. package/resources/uploads.d.ts +2 -0
  1099. package/resources/uploads.d.ts.map +1 -0
  1100. package/resources/uploads.js +6 -0
  1101. package/resources/uploads.js.map +1 -0
  1102. package/resources/uploads.mjs +3 -0
  1103. package/resources/uploads.mjs.map +1 -0
  1104. package/resources/vector-stores/file-batches.d.mts +179 -0
  1105. package/resources/vector-stores/file-batches.d.mts.map +1 -0
  1106. package/resources/vector-stores/file-batches.d.ts +179 -0
  1107. package/resources/vector-stores/file-batches.d.ts.map +1 -0
  1108. package/resources/vector-stores/file-batches.js +50 -0
  1109. package/resources/vector-stores/file-batches.js.map +1 -0
  1110. package/resources/vector-stores/file-batches.mjs +46 -0
  1111. package/resources/vector-stores/file-batches.mjs.map +1 -0
  1112. package/resources/vector-stores/files.d.mts +202 -0
  1113. package/resources/vector-stores/files.d.mts.map +1 -0
  1114. package/resources/vector-stores/files.d.ts +202 -0
  1115. package/resources/vector-stores/files.d.ts.map +1 -0
  1116. package/resources/vector-stores/files.js +75 -0
  1117. package/resources/vector-stores/files.js.map +1 -0
  1118. package/resources/vector-stores/files.mjs +71 -0
  1119. package/resources/vector-stores/files.mjs.map +1 -0
  1120. package/resources/vector-stores/index.d.mts +4 -0
  1121. package/resources/vector-stores/index.d.mts.map +1 -0
  1122. package/resources/vector-stores/index.d.ts +4 -0
  1123. package/resources/vector-stores/index.d.ts.map +1 -0
  1124. package/resources/vector-stores/index.js +11 -0
  1125. package/resources/vector-stores/index.js.map +1 -0
  1126. package/resources/vector-stores/index.mjs +5 -0
  1127. package/resources/vector-stores/index.mjs.map +1 -0
  1128. package/resources/vector-stores/vector-stores.d.mts +378 -0
  1129. package/resources/vector-stores/vector-stores.d.mts.map +1 -0
  1130. package/resources/vector-stores/vector-stores.d.ts +378 -0
  1131. package/resources/vector-stores/vector-stores.d.ts.map +1 -0
  1132. package/resources/vector-stores/vector-stores.js +84 -0
  1133. package/resources/vector-stores/vector-stores.js.map +1 -0
  1134. package/resources/vector-stores/vector-stores.mjs +79 -0
  1135. package/resources/vector-stores/vector-stores.mjs.map +1 -0
  1136. package/resources/vector-stores.d.mts +2 -0
  1137. package/resources/vector-stores.d.mts.map +1 -0
  1138. package/resources/vector-stores.d.ts +2 -0
  1139. package/resources/vector-stores.d.ts.map +1 -0
  1140. package/resources/vector-stores.js +6 -0
  1141. package/resources/vector-stores.js.map +1 -0
  1142. package/resources/vector-stores.mjs +3 -0
  1143. package/resources/vector-stores.mjs.map +1 -0
  1144. package/resources/videos.d.mts +171 -0
  1145. package/resources/videos.d.mts.map +1 -0
  1146. package/resources/videos.d.ts +171 -0
  1147. package/resources/videos.d.ts.map +1 -0
  1148. package/resources/videos.js +56 -0
  1149. package/resources/videos.js.map +1 -0
  1150. package/resources/videos.mjs +52 -0
  1151. package/resources/videos.mjs.map +1 -0
  1152. package/resources/webhooks/index.d.mts +2 -0
  1153. package/resources/webhooks/index.d.mts.map +1 -0
  1154. package/resources/webhooks/index.d.ts +2 -0
  1155. package/resources/webhooks/index.d.ts.map +1 -0
  1156. package/resources/webhooks/index.js +7 -0
  1157. package/resources/webhooks/index.js.map +1 -0
  1158. package/resources/webhooks/index.mjs +3 -0
  1159. package/resources/webhooks/index.mjs.map +1 -0
  1160. package/resources/webhooks/webhooks.d.mts +571 -0
  1161. package/resources/webhooks/webhooks.d.mts.map +1 -0
  1162. package/resources/webhooks/webhooks.d.ts +571 -0
  1163. package/resources/webhooks/webhooks.d.ts.map +1 -0
  1164. package/resources/webhooks/webhooks.js +12 -0
  1165. package/resources/webhooks/webhooks.js.map +1 -0
  1166. package/resources/webhooks/webhooks.mjs +8 -0
  1167. package/resources/webhooks/webhooks.mjs.map +1 -0
  1168. package/resources/webhooks.d.mts +2 -0
  1169. package/resources/webhooks.d.mts.map +1 -0
  1170. package/resources/webhooks.d.ts +2 -0
  1171. package/resources/webhooks.d.ts.map +1 -0
  1172. package/resources/webhooks.js +6 -0
  1173. package/resources/webhooks.js.map +1 -0
  1174. package/resources/webhooks.mjs +3 -0
  1175. package/resources/webhooks.mjs.map +1 -0
  1176. package/resources.d.mts +2 -0
  1177. package/resources.d.mts.map +1 -0
  1178. package/resources.d.ts +2 -0
  1179. package/resources.d.ts.map +1 -0
  1180. package/resources.js +5 -0
  1181. package/resources.js.map +1 -0
  1182. package/resources.mjs +2 -0
  1183. package/resources.mjs.map +1 -0
  1184. package/src/api-promise.ts +2 -0
  1185. package/src/client.ts +1292 -0
  1186. package/src/core/README.md +3 -0
  1187. package/src/core/api-promise.ts +92 -0
  1188. package/src/core/error.ts +142 -0
  1189. package/src/core/pagination.ts +264 -0
  1190. package/src/core/resource.ts +11 -0
  1191. package/src/core/streaming.ts +332 -0
  1192. package/src/core/uploads.ts +2 -0
  1193. package/src/error.ts +2 -0
  1194. package/src/index.ts +23 -0
  1195. package/src/internal/README.md +3 -0
  1196. package/src/internal/builtin-types.ts +93 -0
  1197. package/src/internal/decoders/line.ts +135 -0
  1198. package/src/internal/detect-platform.ts +196 -0
  1199. package/src/internal/errors.ts +33 -0
  1200. package/src/internal/headers.ts +97 -0
  1201. package/src/internal/parse.ts +70 -0
  1202. package/src/internal/qs/LICENSE.md +13 -0
  1203. package/src/internal/qs/README.md +3 -0
  1204. package/src/internal/qs/formats.ts +10 -0
  1205. package/src/internal/qs/index.ts +13 -0
  1206. package/src/internal/qs/stringify.ts +385 -0
  1207. package/src/internal/qs/types.ts +71 -0
  1208. package/src/internal/qs/utils.ts +265 -0
  1209. package/src/internal/request-options.ts +93 -0
  1210. package/src/internal/shim-types.ts +26 -0
  1211. package/src/internal/shims.ts +107 -0
  1212. package/src/internal/to-file.ts +154 -0
  1213. package/src/internal/types.ts +95 -0
  1214. package/src/internal/uploads.ts +187 -0
  1215. package/src/internal/utils/base64.ts +40 -0
  1216. package/src/internal/utils/bytes.ts +32 -0
  1217. package/src/internal/utils/env.ts +18 -0
  1218. package/src/internal/utils/log.ts +126 -0
  1219. package/src/internal/utils/path.ts +88 -0
  1220. package/src/internal/utils/sleep.ts +3 -0
  1221. package/src/internal/utils/uuid.ts +17 -0
  1222. package/src/internal/utils/values.ts +105 -0
  1223. package/src/internal/utils.ts +8 -0
  1224. package/src/lib/.keep +4 -0
  1225. package/src/pagination.ts +2 -0
  1226. package/src/resource.ts +2 -0
  1227. package/src/resources/audio/audio.ts +91 -0
  1228. package/src/resources/audio/index.ts +29 -0
  1229. package/src/resources/audio/speech.ts +97 -0
  1230. package/src/resources/audio/transcriptions.ts +805 -0
  1231. package/src/resources/audio/translations.ts +103 -0
  1232. package/src/resources/audio.ts +3 -0
  1233. package/src/resources/batches.ts +367 -0
  1234. package/src/resources/beta/assistants.ts +1538 -0
  1235. package/src/resources/beta/beta.ts +87 -0
  1236. package/src/resources/beta/chatkit/chatkit.ts +112 -0
  1237. package/src/resources/beta/chatkit/index.ts +30 -0
  1238. package/src/resources/beta/chatkit/sessions.ts +81 -0
  1239. package/src/resources/beta/chatkit/threads.ts +1037 -0
  1240. package/src/resources/beta/chatkit.ts +3 -0
  1241. package/src/resources/beta/index.ts +36 -0
  1242. package/src/resources/beta/threads/index.ts +70 -0
  1243. package/src/resources/beta/threads/messages.ts +792 -0
  1244. package/src/resources/beta/threads/runs/index.ts +43 -0
  1245. package/src/resources/beta/threads/runs/runs.ts +947 -0
  1246. package/src/resources/beta/threads/runs/steps.ts +756 -0
  1247. package/src/resources/beta/threads/runs.ts +3 -0
  1248. package/src/resources/beta/threads/threads.ts +1028 -0
  1249. package/src/resources/beta/threads.ts +3 -0
  1250. package/src/resources/beta.ts +3 -0
  1251. package/src/resources/chat/chat.ts +110 -0
  1252. package/src/resources/chat/completions/completions.ts +1932 -0
  1253. package/src/resources/chat/completions/index.ts +49 -0
  1254. package/src/resources/chat/completions/messages.ts +50 -0
  1255. package/src/resources/chat/completions.ts +3 -0
  1256. package/src/resources/chat/index.ts +49 -0
  1257. package/src/resources/chat.ts +3 -0
  1258. package/src/resources/completions.ts +397 -0
  1259. package/src/resources/containers/containers.ts +395 -0
  1260. package/src/resources/containers/files/content.ts +29 -0
  1261. package/src/resources/containers/files/files.ts +228 -0
  1262. package/src/resources/containers/files/index.ts +14 -0
  1263. package/src/resources/containers/files.ts +3 -0
  1264. package/src/resources/containers/index.ts +22 -0
  1265. package/src/resources/containers.ts +3 -0
  1266. package/src/resources/conversations/api.md +37 -0
  1267. package/src/resources/conversations/conversations.ts +277 -0
  1268. package/src/resources/conversations/index.ts +13 -0
  1269. package/src/resources/conversations/items.ts +502 -0
  1270. package/src/resources/conversations.ts +3 -0
  1271. package/src/resources/embeddings.ts +138 -0
  1272. package/src/resources/evals/evals.ts +930 -0
  1273. package/src/resources/evals/index.ts +33 -0
  1274. package/src/resources/evals/runs/index.ts +27 -0
  1275. package/src/resources/evals/runs/output-items.ts +477 -0
  1276. package/src/resources/evals/runs/runs.ts +2869 -0
  1277. package/src/resources/evals/runs.ts +3 -0
  1278. package/src/resources/evals.ts +3 -0
  1279. package/src/resources/files.ts +229 -0
  1280. package/src/resources/fine-tuning/alpha/alpha.ts +27 -0
  1281. package/src/resources/fine-tuning/alpha/graders.ts +171 -0
  1282. package/src/resources/fine-tuning/alpha/index.ts +10 -0
  1283. package/src/resources/fine-tuning/alpha.ts +3 -0
  1284. package/src/resources/fine-tuning/checkpoints/checkpoints.ts +33 -0
  1285. package/src/resources/fine-tuning/checkpoints/index.ts +13 -0
  1286. package/src/resources/fine-tuning/checkpoints/permissions.ts +227 -0
  1287. package/src/resources/fine-tuning/checkpoints.ts +3 -0
  1288. package/src/resources/fine-tuning/fine-tuning.ts +73 -0
  1289. package/src/resources/fine-tuning/index.ts +27 -0
  1290. package/src/resources/fine-tuning/jobs/checkpoints.ts +107 -0
  1291. package/src/resources/fine-tuning/jobs/index.ts +21 -0
  1292. package/src/resources/fine-tuning/jobs/jobs.ts +654 -0
  1293. package/src/resources/fine-tuning/jobs.ts +3 -0
  1294. package/src/resources/fine-tuning/methods.ts +152 -0
  1295. package/src/resources/fine-tuning.ts +3 -0
  1296. package/src/resources/graders/grader-models.ts +450 -0
  1297. package/src/resources/graders/graders.ts +33 -0
  1298. package/src/resources/graders/index.ts +13 -0
  1299. package/src/resources/graders.ts +3 -0
  1300. package/src/resources/images.ts +848 -0
  1301. package/src/resources/index.ts +145 -0
  1302. package/src/resources/models.ts +73 -0
  1303. package/src/resources/moderations.ts +367 -0
  1304. package/src/resources/realtime/api.md +128 -0
  1305. package/src/resources/realtime/calls.ts +226 -0
  1306. package/src/resources/realtime/client-secrets.ts +761 -0
  1307. package/src/resources/realtime/index.ts +13 -0
  1308. package/src/resources/realtime/realtime.ts +4844 -0
  1309. package/src/resources/realtime.ts +3 -0
  1310. package/src/resources/responses/api.md +167 -0
  1311. package/src/resources/responses/index.ts +5 -0
  1312. package/src/resources/responses/input-items.ts +87 -0
  1313. package/src/resources/responses/input-tokens.ts +164 -0
  1314. package/src/resources/responses/responses.ts +7000 -0
  1315. package/src/resources/responses.ts +3 -0
  1316. package/src/resources/shared.ts +423 -0
  1317. package/src/resources/skills/content.ts +20 -0
  1318. package/src/resources/skills/index.ts +24 -0
  1319. package/src/resources/skills/skills.ts +191 -0
  1320. package/src/resources/skills/versions/content.ts +32 -0
  1321. package/src/resources/skills/versions/index.ts +14 -0
  1322. package/src/resources/skills/versions/versions.ts +196 -0
  1323. package/src/resources/skills/versions.ts +3 -0
  1324. package/src/resources/skills.ts +3 -0
  1325. package/src/resources/uploads/index.ts +4 -0
  1326. package/src/resources/uploads/parts.ts +66 -0
  1327. package/src/resources/uploads/uploads.ts +201 -0
  1328. package/src/resources/uploads.ts +3 -0
  1329. package/src/resources/vector-stores/file-batches.ts +255 -0
  1330. package/src/resources/vector-stores/files.ts +306 -0
  1331. package/src/resources/vector-stores/index.ts +43 -0
  1332. package/src/resources/vector-stores/vector-stores.ts +562 -0
  1333. package/src/resources/vector-stores.ts +3 -0
  1334. package/src/resources/videos.ts +257 -0
  1335. package/src/resources/webhooks/api.md +24 -0
  1336. package/src/resources/webhooks/index.ts +3 -0
  1337. package/src/resources/webhooks/webhooks.ts +702 -0
  1338. package/src/resources/webhooks.ts +3 -0
  1339. package/src/resources.ts +1 -0
  1340. package/src/streaming.ts +2 -0
  1341. package/src/tsconfig.json +11 -0
  1342. package/src/uploads.ts +2 -0
  1343. package/src/version.ts +1 -0
  1344. package/streaming.d.mts +2 -0
  1345. package/streaming.d.mts.map +1 -0
  1346. package/streaming.d.ts +2 -0
  1347. package/streaming.d.ts.map +1 -0
  1348. package/streaming.js +6 -0
  1349. package/streaming.js.map +1 -0
  1350. package/streaming.mjs +2 -0
  1351. package/streaming.mjs.map +1 -0
  1352. package/uploads.d.mts +2 -0
  1353. package/uploads.d.mts.map +1 -0
  1354. package/uploads.d.ts +2 -0
  1355. package/uploads.d.ts.map +1 -0
  1356. package/uploads.js +6 -0
  1357. package/uploads.js.map +1 -0
  1358. package/uploads.mjs +2 -0
  1359. package/uploads.mjs.map +1 -0
  1360. package/version.d.mts +2 -0
  1361. package/version.d.mts.map +1 -0
  1362. package/version.d.ts +2 -0
  1363. package/version.d.ts.map +1 -0
  1364. package/version.js +5 -0
  1365. package/version.js.map +1 -0
  1366. package/version.mjs +2 -0
  1367. package/version.mjs.map +1 -0
@@ -0,0 +1,332 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import * as CompletionsAPI from "./completions.mjs";
3
+ import * as CompletionsCompletionsAPI from "./chat/completions/completions.mjs";
4
+ import { APIPromise } from "../core/api-promise.mjs";
5
+ import { Stream } from "../core/streaming.mjs";
6
+ import { RequestOptions } from "../internal/request-options.mjs";
7
+ export declare class Completions extends APIResource {
8
+ /**
9
+ * Creates a completion for the provided prompt and parameters.
10
+ *
11
+ * Returns a completion object, or a sequence of completion objects if the request
12
+ * is streamed.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const completion = await client.completions.create({
17
+ * model: 'string',
18
+ * prompt: 'This is a test.',
19
+ * });
20
+ * ```
21
+ */
22
+ create(body: CompletionCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Completion>;
23
+ create(body: CompletionCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<Completion>>;
24
+ create(body: CompletionCreateParamsBase, options?: RequestOptions): APIPromise<Stream<Completion> | Completion>;
25
+ }
26
+ /**
27
+ * Represents a completion response from the API. Note: both the streamed and
28
+ * non-streamed response objects share the same shape (unlike the chat endpoint).
29
+ */
30
+ export interface Completion {
31
+ /**
32
+ * A unique identifier for the completion.
33
+ */
34
+ id: string;
35
+ /**
36
+ * The list of completion choices the model generated for the input prompt.
37
+ */
38
+ choices: Array<CompletionChoice>;
39
+ /**
40
+ * The Unix timestamp (in seconds) of when the completion was created.
41
+ */
42
+ created: number;
43
+ /**
44
+ * The model used for completion.
45
+ */
46
+ model: string;
47
+ /**
48
+ * The object type, which is always "text_completion"
49
+ */
50
+ object: 'text_completion';
51
+ /**
52
+ * This fingerprint represents the backend configuration that the model runs with.
53
+ *
54
+ * Can be used in conjunction with the `seed` request parameter to understand when
55
+ * backend changes have been made that might impact determinism.
56
+ */
57
+ system_fingerprint?: string;
58
+ /**
59
+ * Usage statistics for the completion request.
60
+ */
61
+ usage?: CompletionUsage;
62
+ }
63
+ export interface CompletionChoice {
64
+ /**
65
+ * The reason the model stopped generating tokens. This will be `stop` if the model
66
+ * hit a natural stop point or a provided stop sequence, `length` if the maximum
67
+ * number of tokens specified in the request was reached, or `content_filter` if
68
+ * content was omitted due to a flag from our content filters.
69
+ */
70
+ finish_reason: 'stop' | 'length' | 'content_filter';
71
+ index: number;
72
+ logprobs: CompletionChoice.Logprobs | null;
73
+ text: string;
74
+ }
75
+ export declare namespace CompletionChoice {
76
+ interface Logprobs {
77
+ text_offset?: Array<number>;
78
+ token_logprobs?: Array<number>;
79
+ tokens?: Array<string>;
80
+ top_logprobs?: Array<{
81
+ [key: string]: number;
82
+ }>;
83
+ }
84
+ }
85
+ /**
86
+ * Usage statistics for the completion request.
87
+ */
88
+ export interface CompletionUsage {
89
+ /**
90
+ * Number of tokens in the generated completion.
91
+ */
92
+ completion_tokens: number;
93
+ /**
94
+ * Number of tokens in the prompt.
95
+ */
96
+ prompt_tokens: number;
97
+ /**
98
+ * Total number of tokens used in the request (prompt + completion).
99
+ */
100
+ total_tokens: number;
101
+ /**
102
+ * Breakdown of tokens used in a completion.
103
+ */
104
+ completion_tokens_details?: CompletionUsage.CompletionTokensDetails;
105
+ /**
106
+ * Breakdown of tokens used in the prompt.
107
+ */
108
+ prompt_tokens_details?: CompletionUsage.PromptTokensDetails;
109
+ }
110
+ export declare namespace CompletionUsage {
111
+ /**
112
+ * Breakdown of tokens used in a completion.
113
+ */
114
+ interface CompletionTokensDetails {
115
+ /**
116
+ * When using Predicted Outputs, the number of tokens in the prediction that
117
+ * appeared in the completion.
118
+ */
119
+ accepted_prediction_tokens?: number;
120
+ /**
121
+ * Audio input tokens generated by the model.
122
+ */
123
+ audio_tokens?: number;
124
+ /**
125
+ * Tokens generated by the model for reasoning.
126
+ */
127
+ reasoning_tokens?: number;
128
+ /**
129
+ * When using Predicted Outputs, the number of tokens in the prediction that did
130
+ * not appear in the completion. However, like reasoning tokens, these tokens are
131
+ * still counted in the total completion tokens for purposes of billing, output,
132
+ * and context window limits.
133
+ */
134
+ rejected_prediction_tokens?: number;
135
+ }
136
+ /**
137
+ * Breakdown of tokens used in the prompt.
138
+ */
139
+ interface PromptTokensDetails {
140
+ /**
141
+ * Audio input tokens present in the prompt.
142
+ */
143
+ audio_tokens?: number;
144
+ /**
145
+ * Cached tokens present in the prompt.
146
+ */
147
+ cached_tokens?: number;
148
+ }
149
+ }
150
+ export type CompletionCreateParams = CompletionCreateParamsNonStreaming | CompletionCreateParamsStreaming;
151
+ export interface CompletionCreateParamsBase {
152
+ /**
153
+ * ID of the model to use. You can use the
154
+ * [List models](https://platform.openai.com/docs/api-reference/models/list) API to
155
+ * see all of your available models, or see our
156
+ * [Model overview](https://platform.openai.com/docs/models) for descriptions of
157
+ * them.
158
+ */
159
+ model: (string & {}) | 'gpt-3.5-turbo-instruct' | 'davinci-002' | 'babbage-002';
160
+ /**
161
+ * The prompt(s) to generate completions for, encoded as a string, array of
162
+ * strings, array of tokens, or array of token arrays.
163
+ *
164
+ * Note that <|endoftext|> is the document separator that the model sees during
165
+ * training, so if a prompt is not specified the model will generate as if from the
166
+ * beginning of a new document.
167
+ */
168
+ prompt: string | Array<string> | Array<number> | Array<Array<number>> | null;
169
+ /**
170
+ * Generates `best_of` completions server-side and returns the "best" (the one with
171
+ * the highest log probability per token). Results cannot be streamed.
172
+ *
173
+ * When used with `n`, `best_of` controls the number of candidate completions and
174
+ * `n` specifies how many to return – `best_of` must be greater than `n`.
175
+ *
176
+ * **Note:** Because this parameter generates many completions, it can quickly
177
+ * consume your token quota. Use carefully and ensure that you have reasonable
178
+ * settings for `max_tokens` and `stop`.
179
+ */
180
+ best_of?: number | null;
181
+ /**
182
+ * Echo back the prompt in addition to the completion
183
+ */
184
+ echo?: boolean | null;
185
+ /**
186
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on their
187
+ * existing frequency in the text so far, decreasing the model's likelihood to
188
+ * repeat the same line verbatim.
189
+ *
190
+ * [See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation)
191
+ */
192
+ frequency_penalty?: number | null;
193
+ /**
194
+ * Modify the likelihood of specified tokens appearing in the completion.
195
+ *
196
+ * Accepts a JSON object that maps tokens (specified by their token ID in the GPT
197
+ * tokenizer) to an associated bias value from -100 to 100. You can use this
198
+ * [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs.
199
+ * Mathematically, the bias is added to the logits generated by the model prior to
200
+ * sampling. The exact effect will vary per model, but values between -1 and 1
201
+ * should decrease or increase likelihood of selection; values like -100 or 100
202
+ * should result in a ban or exclusive selection of the relevant token.
203
+ *
204
+ * As an example, you can pass `{"50256": -100}` to prevent the <|endoftext|> token
205
+ * from being generated.
206
+ */
207
+ logit_bias?: {
208
+ [key: string]: number;
209
+ } | null;
210
+ /**
211
+ * Include the log probabilities on the `logprobs` most likely output tokens, as
212
+ * well the chosen tokens. For example, if `logprobs` is 5, the API will return a
213
+ * list of the 5 most likely tokens. The API will always return the `logprob` of
214
+ * the sampled token, so there may be up to `logprobs+1` elements in the response.
215
+ *
216
+ * The maximum value for `logprobs` is 5.
217
+ */
218
+ logprobs?: number | null;
219
+ /**
220
+ * The maximum number of [tokens](/tokenizer) that can be generated in the
221
+ * completion.
222
+ *
223
+ * The token count of your prompt plus `max_tokens` cannot exceed the model's
224
+ * context length.
225
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken)
226
+ * for counting tokens.
227
+ */
228
+ max_tokens?: number | null;
229
+ /**
230
+ * How many completions to generate for each prompt.
231
+ *
232
+ * **Note:** Because this parameter generates many completions, it can quickly
233
+ * consume your token quota. Use carefully and ensure that you have reasonable
234
+ * settings for `max_tokens` and `stop`.
235
+ */
236
+ n?: number | null;
237
+ /**
238
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on
239
+ * whether they appear in the text so far, increasing the model's likelihood to
240
+ * talk about new topics.
241
+ *
242
+ * [See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation)
243
+ */
244
+ presence_penalty?: number | null;
245
+ /**
246
+ * If specified, our system will make a best effort to sample deterministically,
247
+ * such that repeated requests with the same `seed` and parameters should return
248
+ * the same result.
249
+ *
250
+ * Determinism is not guaranteed, and you should refer to the `system_fingerprint`
251
+ * response parameter to monitor changes in the backend.
252
+ */
253
+ seed?: number | null;
254
+ /**
255
+ * Not supported with latest reasoning models `o3` and `o4-mini`.
256
+ *
257
+ * Up to 4 sequences where the API will stop generating further tokens. The
258
+ * returned text will not contain the stop sequence.
259
+ */
260
+ stop?: string | null | Array<string>;
261
+ /**
262
+ * Whether to stream back partial progress. If set, tokens will be sent as
263
+ * data-only
264
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
265
+ * as they become available, with the stream terminated by a `data: [DONE]`
266
+ * message.
267
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
268
+ */
269
+ stream?: boolean | null;
270
+ /**
271
+ * Options for streaming response. Only set this when you set `stream: true`.
272
+ */
273
+ stream_options?: CompletionsCompletionsAPI.ChatCompletionStreamOptions | null;
274
+ /**
275
+ * The suffix that comes after a completion of inserted text.
276
+ *
277
+ * This parameter is only supported for `gpt-3.5-turbo-instruct`.
278
+ */
279
+ suffix?: string | null;
280
+ /**
281
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
282
+ * make the output more random, while lower values like 0.2 will make it more
283
+ * focused and deterministic.
284
+ *
285
+ * We generally recommend altering this or `top_p` but not both.
286
+ */
287
+ temperature?: number | null;
288
+ /**
289
+ * An alternative to sampling with temperature, called nucleus sampling, where the
290
+ * model considers the results of the tokens with top_p probability mass. So 0.1
291
+ * means only the tokens comprising the top 10% probability mass are considered.
292
+ *
293
+ * We generally recommend altering this or `temperature` but not both.
294
+ */
295
+ top_p?: number | null;
296
+ /**
297
+ * A unique identifier representing your end-user, which can help OpenAI to monitor
298
+ * and detect abuse.
299
+ * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).
300
+ */
301
+ user?: string;
302
+ }
303
+ export declare namespace CompletionCreateParams {
304
+ type CompletionCreateParamsNonStreaming = CompletionsAPI.CompletionCreateParamsNonStreaming;
305
+ type CompletionCreateParamsStreaming = CompletionsAPI.CompletionCreateParamsStreaming;
306
+ }
307
+ export interface CompletionCreateParamsNonStreaming extends CompletionCreateParamsBase {
308
+ /**
309
+ * Whether to stream back partial progress. If set, tokens will be sent as
310
+ * data-only
311
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
312
+ * as they become available, with the stream terminated by a `data: [DONE]`
313
+ * message.
314
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
315
+ */
316
+ stream?: false | null;
317
+ }
318
+ export interface CompletionCreateParamsStreaming extends CompletionCreateParamsBase {
319
+ /**
320
+ * Whether to stream back partial progress. If set, tokens will be sent as
321
+ * data-only
322
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
323
+ * as they become available, with the stream terminated by a `data: [DONE]`
324
+ * message.
325
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
326
+ */
327
+ stream: true;
328
+ }
329
+ export declare namespace Completions {
330
+ export { type Completion as Completion, type CompletionChoice as CompletionChoice, type CompletionUsage as CompletionUsage, type CompletionCreateParams as CompletionCreateParams, type CompletionCreateParamsNonStreaming as CompletionCreateParamsNonStreaming, type CompletionCreateParamsStreaming as CompletionCreateParamsStreaming, };
331
+ }
332
+ //# sourceMappingURL=completions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completions.d.mts","sourceRoot":"","sources":["../src/resources/completions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,yBAAyB;OAC9B,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,kCAAkC,EAAE,OAA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AE,KAAK,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,+BAAgC,SAAQ,0BAA0B;IACjF;;;;;;;OAOG;IACH,MAAM,EAAE,IAAI,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
@@ -0,0 +1,332 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as CompletionsAPI from "./completions.js";
3
+ import * as CompletionsCompletionsAPI from "./chat/completions/completions.js";
4
+ import { APIPromise } from "../core/api-promise.js";
5
+ import { Stream } from "../core/streaming.js";
6
+ import { RequestOptions } from "../internal/request-options.js";
7
+ export declare class Completions extends APIResource {
8
+ /**
9
+ * Creates a completion for the provided prompt and parameters.
10
+ *
11
+ * Returns a completion object, or a sequence of completion objects if the request
12
+ * is streamed.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const completion = await client.completions.create({
17
+ * model: 'string',
18
+ * prompt: 'This is a test.',
19
+ * });
20
+ * ```
21
+ */
22
+ create(body: CompletionCreateParamsNonStreaming, options?: RequestOptions): APIPromise<Completion>;
23
+ create(body: CompletionCreateParamsStreaming, options?: RequestOptions): APIPromise<Stream<Completion>>;
24
+ create(body: CompletionCreateParamsBase, options?: RequestOptions): APIPromise<Stream<Completion> | Completion>;
25
+ }
26
+ /**
27
+ * Represents a completion response from the API. Note: both the streamed and
28
+ * non-streamed response objects share the same shape (unlike the chat endpoint).
29
+ */
30
+ export interface Completion {
31
+ /**
32
+ * A unique identifier for the completion.
33
+ */
34
+ id: string;
35
+ /**
36
+ * The list of completion choices the model generated for the input prompt.
37
+ */
38
+ choices: Array<CompletionChoice>;
39
+ /**
40
+ * The Unix timestamp (in seconds) of when the completion was created.
41
+ */
42
+ created: number;
43
+ /**
44
+ * The model used for completion.
45
+ */
46
+ model: string;
47
+ /**
48
+ * The object type, which is always "text_completion"
49
+ */
50
+ object: 'text_completion';
51
+ /**
52
+ * This fingerprint represents the backend configuration that the model runs with.
53
+ *
54
+ * Can be used in conjunction with the `seed` request parameter to understand when
55
+ * backend changes have been made that might impact determinism.
56
+ */
57
+ system_fingerprint?: string;
58
+ /**
59
+ * Usage statistics for the completion request.
60
+ */
61
+ usage?: CompletionUsage;
62
+ }
63
+ export interface CompletionChoice {
64
+ /**
65
+ * The reason the model stopped generating tokens. This will be `stop` if the model
66
+ * hit a natural stop point or a provided stop sequence, `length` if the maximum
67
+ * number of tokens specified in the request was reached, or `content_filter` if
68
+ * content was omitted due to a flag from our content filters.
69
+ */
70
+ finish_reason: 'stop' | 'length' | 'content_filter';
71
+ index: number;
72
+ logprobs: CompletionChoice.Logprobs | null;
73
+ text: string;
74
+ }
75
+ export declare namespace CompletionChoice {
76
+ interface Logprobs {
77
+ text_offset?: Array<number>;
78
+ token_logprobs?: Array<number>;
79
+ tokens?: Array<string>;
80
+ top_logprobs?: Array<{
81
+ [key: string]: number;
82
+ }>;
83
+ }
84
+ }
85
+ /**
86
+ * Usage statistics for the completion request.
87
+ */
88
+ export interface CompletionUsage {
89
+ /**
90
+ * Number of tokens in the generated completion.
91
+ */
92
+ completion_tokens: number;
93
+ /**
94
+ * Number of tokens in the prompt.
95
+ */
96
+ prompt_tokens: number;
97
+ /**
98
+ * Total number of tokens used in the request (prompt + completion).
99
+ */
100
+ total_tokens: number;
101
+ /**
102
+ * Breakdown of tokens used in a completion.
103
+ */
104
+ completion_tokens_details?: CompletionUsage.CompletionTokensDetails;
105
+ /**
106
+ * Breakdown of tokens used in the prompt.
107
+ */
108
+ prompt_tokens_details?: CompletionUsage.PromptTokensDetails;
109
+ }
110
+ export declare namespace CompletionUsage {
111
+ /**
112
+ * Breakdown of tokens used in a completion.
113
+ */
114
+ interface CompletionTokensDetails {
115
+ /**
116
+ * When using Predicted Outputs, the number of tokens in the prediction that
117
+ * appeared in the completion.
118
+ */
119
+ accepted_prediction_tokens?: number;
120
+ /**
121
+ * Audio input tokens generated by the model.
122
+ */
123
+ audio_tokens?: number;
124
+ /**
125
+ * Tokens generated by the model for reasoning.
126
+ */
127
+ reasoning_tokens?: number;
128
+ /**
129
+ * When using Predicted Outputs, the number of tokens in the prediction that did
130
+ * not appear in the completion. However, like reasoning tokens, these tokens are
131
+ * still counted in the total completion tokens for purposes of billing, output,
132
+ * and context window limits.
133
+ */
134
+ rejected_prediction_tokens?: number;
135
+ }
136
+ /**
137
+ * Breakdown of tokens used in the prompt.
138
+ */
139
+ interface PromptTokensDetails {
140
+ /**
141
+ * Audio input tokens present in the prompt.
142
+ */
143
+ audio_tokens?: number;
144
+ /**
145
+ * Cached tokens present in the prompt.
146
+ */
147
+ cached_tokens?: number;
148
+ }
149
+ }
150
+ export type CompletionCreateParams = CompletionCreateParamsNonStreaming | CompletionCreateParamsStreaming;
151
+ export interface CompletionCreateParamsBase {
152
+ /**
153
+ * ID of the model to use. You can use the
154
+ * [List models](https://platform.openai.com/docs/api-reference/models/list) API to
155
+ * see all of your available models, or see our
156
+ * [Model overview](https://platform.openai.com/docs/models) for descriptions of
157
+ * them.
158
+ */
159
+ model: (string & {}) | 'gpt-3.5-turbo-instruct' | 'davinci-002' | 'babbage-002';
160
+ /**
161
+ * The prompt(s) to generate completions for, encoded as a string, array of
162
+ * strings, array of tokens, or array of token arrays.
163
+ *
164
+ * Note that <|endoftext|> is the document separator that the model sees during
165
+ * training, so if a prompt is not specified the model will generate as if from the
166
+ * beginning of a new document.
167
+ */
168
+ prompt: string | Array<string> | Array<number> | Array<Array<number>> | null;
169
+ /**
170
+ * Generates `best_of` completions server-side and returns the "best" (the one with
171
+ * the highest log probability per token). Results cannot be streamed.
172
+ *
173
+ * When used with `n`, `best_of` controls the number of candidate completions and
174
+ * `n` specifies how many to return – `best_of` must be greater than `n`.
175
+ *
176
+ * **Note:** Because this parameter generates many completions, it can quickly
177
+ * consume your token quota. Use carefully and ensure that you have reasonable
178
+ * settings for `max_tokens` and `stop`.
179
+ */
180
+ best_of?: number | null;
181
+ /**
182
+ * Echo back the prompt in addition to the completion
183
+ */
184
+ echo?: boolean | null;
185
+ /**
186
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on their
187
+ * existing frequency in the text so far, decreasing the model's likelihood to
188
+ * repeat the same line verbatim.
189
+ *
190
+ * [See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation)
191
+ */
192
+ frequency_penalty?: number | null;
193
+ /**
194
+ * Modify the likelihood of specified tokens appearing in the completion.
195
+ *
196
+ * Accepts a JSON object that maps tokens (specified by their token ID in the GPT
197
+ * tokenizer) to an associated bias value from -100 to 100. You can use this
198
+ * [tokenizer tool](/tokenizer?view=bpe) to convert text to token IDs.
199
+ * Mathematically, the bias is added to the logits generated by the model prior to
200
+ * sampling. The exact effect will vary per model, but values between -1 and 1
201
+ * should decrease or increase likelihood of selection; values like -100 or 100
202
+ * should result in a ban or exclusive selection of the relevant token.
203
+ *
204
+ * As an example, you can pass `{"50256": -100}` to prevent the <|endoftext|> token
205
+ * from being generated.
206
+ */
207
+ logit_bias?: {
208
+ [key: string]: number;
209
+ } | null;
210
+ /**
211
+ * Include the log probabilities on the `logprobs` most likely output tokens, as
212
+ * well the chosen tokens. For example, if `logprobs` is 5, the API will return a
213
+ * list of the 5 most likely tokens. The API will always return the `logprob` of
214
+ * the sampled token, so there may be up to `logprobs+1` elements in the response.
215
+ *
216
+ * The maximum value for `logprobs` is 5.
217
+ */
218
+ logprobs?: number | null;
219
+ /**
220
+ * The maximum number of [tokens](/tokenizer) that can be generated in the
221
+ * completion.
222
+ *
223
+ * The token count of your prompt plus `max_tokens` cannot exceed the model's
224
+ * context length.
225
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_count_tokens_with_tiktoken)
226
+ * for counting tokens.
227
+ */
228
+ max_tokens?: number | null;
229
+ /**
230
+ * How many completions to generate for each prompt.
231
+ *
232
+ * **Note:** Because this parameter generates many completions, it can quickly
233
+ * consume your token quota. Use carefully and ensure that you have reasonable
234
+ * settings for `max_tokens` and `stop`.
235
+ */
236
+ n?: number | null;
237
+ /**
238
+ * Number between -2.0 and 2.0. Positive values penalize new tokens based on
239
+ * whether they appear in the text so far, increasing the model's likelihood to
240
+ * talk about new topics.
241
+ *
242
+ * [See more information about frequency and presence penalties.](https://platform.openai.com/docs/guides/text-generation)
243
+ */
244
+ presence_penalty?: number | null;
245
+ /**
246
+ * If specified, our system will make a best effort to sample deterministically,
247
+ * such that repeated requests with the same `seed` and parameters should return
248
+ * the same result.
249
+ *
250
+ * Determinism is not guaranteed, and you should refer to the `system_fingerprint`
251
+ * response parameter to monitor changes in the backend.
252
+ */
253
+ seed?: number | null;
254
+ /**
255
+ * Not supported with latest reasoning models `o3` and `o4-mini`.
256
+ *
257
+ * Up to 4 sequences where the API will stop generating further tokens. The
258
+ * returned text will not contain the stop sequence.
259
+ */
260
+ stop?: string | null | Array<string>;
261
+ /**
262
+ * Whether to stream back partial progress. If set, tokens will be sent as
263
+ * data-only
264
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
265
+ * as they become available, with the stream terminated by a `data: [DONE]`
266
+ * message.
267
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
268
+ */
269
+ stream?: boolean | null;
270
+ /**
271
+ * Options for streaming response. Only set this when you set `stream: true`.
272
+ */
273
+ stream_options?: CompletionsCompletionsAPI.ChatCompletionStreamOptions | null;
274
+ /**
275
+ * The suffix that comes after a completion of inserted text.
276
+ *
277
+ * This parameter is only supported for `gpt-3.5-turbo-instruct`.
278
+ */
279
+ suffix?: string | null;
280
+ /**
281
+ * What sampling temperature to use, between 0 and 2. Higher values like 0.8 will
282
+ * make the output more random, while lower values like 0.2 will make it more
283
+ * focused and deterministic.
284
+ *
285
+ * We generally recommend altering this or `top_p` but not both.
286
+ */
287
+ temperature?: number | null;
288
+ /**
289
+ * An alternative to sampling with temperature, called nucleus sampling, where the
290
+ * model considers the results of the tokens with top_p probability mass. So 0.1
291
+ * means only the tokens comprising the top 10% probability mass are considered.
292
+ *
293
+ * We generally recommend altering this or `temperature` but not both.
294
+ */
295
+ top_p?: number | null;
296
+ /**
297
+ * A unique identifier representing your end-user, which can help OpenAI to monitor
298
+ * and detect abuse.
299
+ * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#end-user-ids).
300
+ */
301
+ user?: string;
302
+ }
303
+ export declare namespace CompletionCreateParams {
304
+ type CompletionCreateParamsNonStreaming = CompletionsAPI.CompletionCreateParamsNonStreaming;
305
+ type CompletionCreateParamsStreaming = CompletionsAPI.CompletionCreateParamsStreaming;
306
+ }
307
+ export interface CompletionCreateParamsNonStreaming extends CompletionCreateParamsBase {
308
+ /**
309
+ * Whether to stream back partial progress. If set, tokens will be sent as
310
+ * data-only
311
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
312
+ * as they become available, with the stream terminated by a `data: [DONE]`
313
+ * message.
314
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
315
+ */
316
+ stream?: false | null;
317
+ }
318
+ export interface CompletionCreateParamsStreaming extends CompletionCreateParamsBase {
319
+ /**
320
+ * Whether to stream back partial progress. If set, tokens will be sent as
321
+ * data-only
322
+ * [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format)
323
+ * as they become available, with the stream terminated by a `data: [DONE]`
324
+ * message.
325
+ * [Example Python code](https://cookbook.openai.com/examples/how_to_stream_completions).
326
+ */
327
+ stream: true;
328
+ }
329
+ export declare namespace Completions {
330
+ export { type Completion as Completion, type CompletionChoice as CompletionChoice, type CompletionUsage as CompletionUsage, type CompletionCreateParams as CompletionCreateParams, type CompletionCreateParamsNonStreaming as CompletionCreateParamsNonStreaming, type CompletionCreateParamsStreaming as CompletionCreateParamsStreaming, };
331
+ }
332
+ //# sourceMappingURL=completions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completions.d.ts","sourceRoot":"","sources":["../src/resources/completions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,KAAK,yBAAyB;OAC9B,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,kCAAkC,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IAClG,MAAM,CAAC,IAAI,EAAE,+BAA+B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IACvG,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;CAS/C;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAEjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,EAAE,iBAAiB,CAAC;IAE1B;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,aAAa,EAAE,MAAM,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAEpD,KA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