openapi_openai 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (766) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +274 -51
  4. data/docs/AssistantFileObject.md +24 -0
  5. data/docs/AssistantObject.md +36 -0
  6. data/docs/AssistantObjectToolsInner.md +51 -0
  7. data/docs/AssistantStreamEvent.md +57 -0
  8. data/docs/AssistantToolsCode.md +18 -0
  9. data/docs/AssistantToolsFunction.md +20 -0
  10. data/docs/AssistantToolsRetrieval.md +18 -0
  11. data/docs/AssistantsApi.md +2017 -0
  12. data/docs/AssistantsApiNamedToolChoice.md +20 -0
  13. data/docs/AssistantsApiResponseFormat.md +18 -0
  14. data/docs/AssistantsApiResponseFormatOption.md +49 -0
  15. data/docs/AssistantsApiToolChoiceOption.md +49 -0
  16. data/docs/AudioApi.md +235 -0
  17. data/docs/ChatApi.md +75 -0
  18. data/docs/{CreateChatCompletionRequestFunctionCallOneOf.md → ChatCompletionFunctionCallOption.md} +2 -2
  19. data/docs/ChatCompletionFunctions.md +3 -3
  20. data/docs/ChatCompletionMessageToolCall.md +22 -0
  21. data/docs/ChatCompletionMessageToolCallChunk.md +24 -0
  22. data/docs/{ChatCompletionRequestMessageFunctionCall.md → ChatCompletionMessageToolCallChunkFunction.md} +2 -2
  23. data/docs/ChatCompletionMessageToolCallFunction.md +20 -0
  24. data/docs/ChatCompletionNamedToolChoice.md +20 -0
  25. data/docs/ChatCompletionNamedToolChoiceFunction.md +18 -0
  26. data/docs/ChatCompletionRequestAssistantMessage.md +26 -0
  27. data/docs/ChatCompletionRequestAssistantMessageFunctionCall.md +20 -0
  28. data/docs/ChatCompletionRequestFunctionMessage.md +22 -0
  29. data/docs/ChatCompletionRequestMessage.md +45 -14
  30. data/docs/ChatCompletionRequestMessageContentPart.md +49 -0
  31. data/docs/ChatCompletionRequestMessageContentPartImage.md +20 -0
  32. data/docs/ChatCompletionRequestMessageContentPartImageImageUrl.md +20 -0
  33. data/docs/ChatCompletionRequestMessageContentPartText.md +20 -0
  34. data/docs/ChatCompletionRequestSystemMessage.md +22 -0
  35. data/docs/ChatCompletionRequestToolMessage.md +22 -0
  36. data/docs/ChatCompletionRequestUserMessage.md +22 -0
  37. data/docs/ChatCompletionRequestUserMessageContent.md +49 -0
  38. data/docs/ChatCompletionResponseMessage.md +5 -3
  39. data/docs/ChatCompletionRole.md +15 -0
  40. data/docs/ChatCompletionStreamResponseDelta.md +6 -4
  41. data/docs/ChatCompletionStreamResponseDeltaFunctionCall.md +20 -0
  42. data/docs/ChatCompletionTokenLogprob.md +24 -0
  43. data/docs/ChatCompletionTokenLogprobTopLogprobsInner.md +22 -0
  44. data/docs/ChatCompletionTool.md +20 -0
  45. data/docs/ChatCompletionToolChoiceOption.md +49 -0
  46. data/docs/CompletionUsage.md +22 -0
  47. data/docs/CompletionsApi.md +75 -0
  48. data/docs/CreateAssistantFileRequest.md +18 -0
  49. data/docs/CreateAssistantRequest.md +30 -0
  50. data/docs/CreateAssistantRequestModel.md +15 -0
  51. data/docs/CreateChatCompletionFunctionResponse.md +30 -0
  52. data/docs/CreateChatCompletionFunctionResponseChoicesInner.md +22 -0
  53. data/docs/CreateChatCompletionRequest.md +33 -21
  54. data/docs/CreateChatCompletionRequestFunctionCall.md +3 -3
  55. data/docs/CreateChatCompletionRequestModel.md +5 -37
  56. data/docs/CreateChatCompletionRequestResponseFormat.md +18 -0
  57. data/docs/CreateChatCompletionResponse.md +10 -8
  58. data/docs/CreateChatCompletionResponseChoicesInner.md +6 -4
  59. data/docs/CreateChatCompletionResponseChoicesInnerLogprobs.md +18 -0
  60. data/docs/CreateChatCompletionStreamResponse.md +9 -7
  61. data/docs/CreateChatCompletionStreamResponseChoicesInner.md +7 -5
  62. data/docs/CreateCompletionRequest.md +23 -21
  63. data/docs/CreateCompletionRequestModel.md +5 -37
  64. data/docs/CreateCompletionResponse.md +10 -8
  65. data/docs/CreateCompletionResponseChoicesInner.md +4 -4
  66. data/docs/CreateCompletionResponseChoicesInnerLogprobs.md +6 -6
  67. data/docs/CreateEmbeddingRequest.md +6 -2
  68. data/docs/CreateEmbeddingRequestModel.md +5 -37
  69. data/docs/CreateEmbeddingResponse.md +5 -5
  70. data/docs/CreateEmbeddingResponseUsage.md +2 -2
  71. data/docs/CreateFineTuningJobRequest.md +30 -0
  72. data/docs/CreateFineTuningJobRequestHyperparameters.md +22 -0
  73. data/docs/CreateFineTuningJobRequestHyperparametersBatchSize.md +49 -0
  74. data/docs/CreateFineTuningJobRequestHyperparametersLearningRateMultiplier.md +49 -0
  75. data/docs/CreateFineTuningJobRequestHyperparametersNEpochs.md +49 -0
  76. data/docs/CreateFineTuningJobRequestIntegrationsInner.md +20 -0
  77. data/docs/{CreateFineTuneRequestModel.md → CreateFineTuningJobRequestIntegrationsInnerType.md} +4 -4
  78. data/docs/CreateFineTuningJobRequestIntegrationsInnerWandb.md +24 -0
  79. data/docs/CreateFineTuningJobRequestModel.md +15 -0
  80. data/docs/CreateImageEditRequestModel.md +15 -0
  81. data/docs/CreateImageRequest.md +11 -5
  82. data/docs/CreateImageRequestModel.md +15 -0
  83. data/docs/CreateMessageRequest.md +24 -0
  84. data/docs/CreateModerationRequestModel.md +5 -37
  85. data/docs/CreateModerationResponse.md +3 -3
  86. data/docs/CreateModerationResponseResultsInner.md +1 -1
  87. data/docs/CreateModerationResponseResultsInnerCategories.md +15 -7
  88. data/docs/CreateModerationResponseResultsInnerCategoryScores.md +15 -7
  89. data/docs/CreateRunRequest.md +44 -0
  90. data/docs/CreateRunRequestModel.md +15 -0
  91. data/docs/CreateSpeechRequest.md +26 -0
  92. data/docs/CreateSpeechRequestModel.md +15 -0
  93. data/docs/CreateThreadAndRunRequest.md +42 -0
  94. data/docs/CreateThreadAndRunRequestToolsInner.md +51 -0
  95. data/docs/CreateThreadRequest.md +20 -0
  96. data/docs/CreateTranscription200Response.md +49 -0
  97. data/docs/CreateTranscriptionRequestModel.md +5 -37
  98. data/docs/CreateTranscriptionResponseJson.md +18 -0
  99. data/docs/CreateTranscriptionResponseVerboseJson.md +26 -0
  100. data/docs/CreateTranslation200Response.md +49 -0
  101. data/docs/{CreateTranscriptionResponse.md → CreateTranslationResponseJson.md} +2 -2
  102. data/docs/CreateTranslationResponseVerboseJson.md +24 -0
  103. data/docs/DeleteAssistantFileResponse.md +22 -0
  104. data/docs/DeleteAssistantResponse.md +22 -0
  105. data/docs/DeleteMessageResponse.md +22 -0
  106. data/docs/DeleteModelResponse.md +3 -3
  107. data/docs/DeleteThreadResponse.md +22 -0
  108. data/docs/DoneEvent.md +20 -0
  109. data/docs/Embedding.md +22 -0
  110. data/docs/EmbeddingsApi.md +75 -0
  111. data/docs/Error.md +4 -4
  112. data/docs/ErrorEvent.md +20 -0
  113. data/docs/FilesApi.md +351 -0
  114. data/docs/FineTuningApi.md +431 -0
  115. data/docs/FineTuningIntegration.md +20 -0
  116. data/docs/FineTuningJob.md +48 -0
  117. data/docs/FineTuningJobCheckpoint.md +30 -0
  118. data/docs/FineTuningJobCheckpointMetrics.md +30 -0
  119. data/docs/FineTuningJobError.md +22 -0
  120. data/docs/{FineTuneEvent.md → FineTuningJobEvent.md} +7 -5
  121. data/docs/FineTuningJobHyperparameters.md +18 -0
  122. data/docs/FineTuningJobHyperparametersNEpochs.md +49 -0
  123. data/docs/FineTuningJobIntegrationsInner.md +47 -0
  124. data/docs/FunctionObject.md +22 -0
  125. data/docs/Image.md +22 -0
  126. data/docs/ImagesApi.md +239 -0
  127. data/docs/ImagesResponse.md +1 -1
  128. data/docs/ListAssistantFilesResponse.md +26 -0
  129. data/docs/ListAssistantsResponse.md +26 -0
  130. data/docs/ListFilesResponse.md +3 -3
  131. data/docs/ListFineTuningJobCheckpointsResponse.md +26 -0
  132. data/docs/ListFineTuningJobEventsResponse.md +20 -0
  133. data/docs/ListMessageFilesResponse.md +26 -0
  134. data/docs/ListMessagesResponse.md +26 -0
  135. data/docs/ListPaginatedFineTuningJobsResponse.md +22 -0
  136. data/docs/ListRunStepsResponse.md +26 -0
  137. data/docs/ListRunsResponse.md +26 -0
  138. data/docs/ListThreadsResponse.md +26 -0
  139. data/docs/MessageContentImageFileObject.md +20 -0
  140. data/docs/MessageContentImageFileObjectImageFile.md +18 -0
  141. data/docs/MessageContentTextAnnotationsFileCitationObject.md +26 -0
  142. data/docs/MessageContentTextAnnotationsFileCitationObjectFileCitation.md +20 -0
  143. data/docs/MessageContentTextAnnotationsFilePathObject.md +26 -0
  144. data/docs/MessageContentTextAnnotationsFilePathObjectFilePath.md +18 -0
  145. data/docs/MessageContentTextObject.md +20 -0
  146. data/docs/MessageContentTextObjectText.md +20 -0
  147. data/docs/MessageContentTextObjectTextAnnotationsInner.md +49 -0
  148. data/docs/MessageDeltaContentImageFileObject.md +22 -0
  149. data/docs/MessageDeltaContentImageFileObjectImageFile.md +18 -0
  150. data/docs/MessageDeltaContentTextAnnotationsFileCitationObject.md +28 -0
  151. data/docs/MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.md +20 -0
  152. data/docs/MessageDeltaContentTextAnnotationsFilePathObject.md +28 -0
  153. data/docs/MessageDeltaContentTextAnnotationsFilePathObjectFilePath.md +18 -0
  154. data/docs/MessageDeltaContentTextObject.md +22 -0
  155. data/docs/MessageDeltaContentTextObjectText.md +20 -0
  156. data/docs/MessageDeltaContentTextObjectTextAnnotationsInner.md +49 -0
  157. data/docs/MessageDeltaObject.md +22 -0
  158. data/docs/MessageDeltaObjectDelta.md +22 -0
  159. data/docs/MessageDeltaObjectDeltaContentInner.md +49 -0
  160. data/docs/MessageFileObject.md +24 -0
  161. data/docs/MessageObject.md +44 -0
  162. data/docs/MessageObjectContentInner.md +49 -0
  163. data/docs/MessageObjectIncompleteDetails.md +18 -0
  164. data/docs/MessageStreamEvent.md +55 -0
  165. data/docs/MessageStreamEventOneOf.md +20 -0
  166. data/docs/MessageStreamEventOneOf1.md +20 -0
  167. data/docs/MessageStreamEventOneOf2.md +20 -0
  168. data/docs/MessageStreamEventOneOf3.md +20 -0
  169. data/docs/MessageStreamEventOneOf4.md +20 -0
  170. data/docs/Model.md +5 -5
  171. data/docs/ModelsApi.md +208 -0
  172. data/docs/ModerationsApi.md +75 -0
  173. data/docs/ModifyAssistantRequest.md +30 -0
  174. data/docs/ModifyMessageRequest.md +18 -0
  175. data/docs/ModifyRunRequest.md +18 -0
  176. data/docs/ModifyThreadRequest.md +18 -0
  177. data/docs/OpenAIFile.md +9 -9
  178. data/docs/RunCompletionUsage.md +22 -0
  179. data/docs/RunObject.md +68 -0
  180. data/docs/RunObjectIncompleteDetails.md +18 -0
  181. data/docs/RunObjectLastError.md +20 -0
  182. data/docs/RunObjectRequiredAction.md +20 -0
  183. data/docs/RunObjectRequiredActionSubmitToolOutputs.md +18 -0
  184. data/docs/RunStepCompletionUsage.md +22 -0
  185. data/docs/RunStepDeltaObject.md +22 -0
  186. data/docs/RunStepDeltaObjectDelta.md +18 -0
  187. data/docs/RunStepDeltaObjectDeltaStepDetails.md +49 -0
  188. data/docs/RunStepDeltaStepDetailsMessageCreationObject.md +20 -0
  189. data/docs/RunStepDeltaStepDetailsMessageCreationObjectMessageCreation.md +18 -0
  190. data/docs/RunStepDeltaStepDetailsToolCallsCodeObject.md +24 -0
  191. data/docs/RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.md +20 -0
  192. data/docs/RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner.md +49 -0
  193. data/docs/RunStepDeltaStepDetailsToolCallsCodeOutputImageObject.md +22 -0
  194. data/docs/RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.md +18 -0
  195. data/docs/RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.md +22 -0
  196. data/docs/RunStepDeltaStepDetailsToolCallsFunctionObject.md +24 -0
  197. data/docs/RunStepDeltaStepDetailsToolCallsFunctionObjectFunction.md +22 -0
  198. data/docs/RunStepDeltaStepDetailsToolCallsObject.md +20 -0
  199. data/docs/RunStepDeltaStepDetailsToolCallsObjectToolCallsInner.md +51 -0
  200. data/docs/RunStepDeltaStepDetailsToolCallsRetrievalObject.md +24 -0
  201. data/docs/RunStepDetailsMessageCreationObject.md +20 -0
  202. data/docs/RunStepDetailsMessageCreationObjectMessageCreation.md +18 -0
  203. data/docs/RunStepDetailsToolCallsCodeObject.md +22 -0
  204. data/docs/RunStepDetailsToolCallsCodeObjectCodeInterpreter.md +20 -0
  205. data/docs/RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner.md +49 -0
  206. data/docs/RunStepDetailsToolCallsCodeOutputImageObject.md +20 -0
  207. data/docs/RunStepDetailsToolCallsCodeOutputImageObjectImage.md +18 -0
  208. data/docs/RunStepDetailsToolCallsCodeOutputLogsObject.md +20 -0
  209. data/docs/RunStepDetailsToolCallsFunctionObject.md +22 -0
  210. data/docs/RunStepDetailsToolCallsFunctionObjectFunction.md +22 -0
  211. data/docs/RunStepDetailsToolCallsObject.md +20 -0
  212. data/docs/RunStepDetailsToolCallsObjectToolCallsInner.md +51 -0
  213. data/docs/RunStepDetailsToolCallsRetrievalObject.md +22 -0
  214. data/docs/RunStepObject.md +48 -0
  215. data/docs/RunStepObjectLastError.md +20 -0
  216. data/docs/RunStepObjectStepDetails.md +49 -0
  217. data/docs/RunStepStreamEvent.md +59 -0
  218. data/docs/RunStepStreamEventOneOf.md +20 -0
  219. data/docs/RunStepStreamEventOneOf1.md +20 -0
  220. data/docs/RunStepStreamEventOneOf2.md +20 -0
  221. data/docs/RunStepStreamEventOneOf3.md +20 -0
  222. data/docs/RunStepStreamEventOneOf4.md +20 -0
  223. data/docs/RunStepStreamEventOneOf5.md +20 -0
  224. data/docs/RunStepStreamEventOneOf6.md +20 -0
  225. data/docs/RunStreamEvent.md +63 -0
  226. data/docs/RunStreamEventOneOf.md +20 -0
  227. data/docs/RunStreamEventOneOf1.md +20 -0
  228. data/docs/RunStreamEventOneOf2.md +20 -0
  229. data/docs/RunStreamEventOneOf3.md +20 -0
  230. data/docs/RunStreamEventOneOf4.md +20 -0
  231. data/docs/RunStreamEventOneOf5.md +20 -0
  232. data/docs/RunStreamEventOneOf6.md +20 -0
  233. data/docs/RunStreamEventOneOf7.md +20 -0
  234. data/docs/RunStreamEventOneOf8.md +20 -0
  235. data/docs/RunToolCallObject.md +22 -0
  236. data/docs/RunToolCallObjectFunction.md +20 -0
  237. data/docs/SubmitToolOutputsRunRequest.md +20 -0
  238. data/docs/SubmitToolOutputsRunRequestToolOutputsInner.md +20 -0
  239. data/docs/ThreadObject.md +24 -0
  240. data/docs/{CreateEditRequestModel.md → ThreadStreamEvent.md} +7 -7
  241. data/docs/ThreadStreamEventOneOf.md +20 -0
  242. data/docs/TranscriptionSegment.md +36 -0
  243. data/docs/TranscriptionWord.md +22 -0
  244. data/docs/TruncationObject.md +20 -0
  245. data/lib/openapi_openai/api/assistants_api.rb +2006 -0
  246. data/lib/openapi_openai/api/audio_api.rb +268 -0
  247. data/lib/openapi_openai/api/chat_api.rb +88 -0
  248. data/lib/openapi_openai/api/completions_api.rb +88 -0
  249. data/lib/openapi_openai/api/embeddings_api.rb +88 -0
  250. data/lib/openapi_openai/api/files_api.rb +342 -0
  251. data/lib/openapi_openai/api/fine_tuning_api.rb +405 -0
  252. data/lib/openapi_openai/api/images_api.rb +294 -0
  253. data/lib/openapi_openai/api/models_api.rb +199 -0
  254. data/lib/openapi_openai/api/moderations_api.rb +88 -0
  255. data/lib/openapi_openai/api_client.rb +2 -1
  256. data/lib/openapi_openai/api_error.rb +1 -1
  257. data/lib/openapi_openai/configuration.rb +8 -1
  258. data/lib/openapi_openai/models/assistant_file_object.rb +308 -0
  259. data/lib/openapi_openai/models/assistant_object.rb +481 -0
  260. data/lib/openapi_openai/models/assistant_object_tools_inner.rb +106 -0
  261. data/lib/openapi_openai/models/assistant_stream_event.rb +110 -0
  262. data/lib/openapi_openai/models/assistant_tools_code.rb +256 -0
  263. data/lib/openapi_openai/models/assistant_tools_function.rb +272 -0
  264. data/lib/openapi_openai/models/assistant_tools_retrieval.rb +256 -0
  265. data/lib/openapi_openai/models/assistants_api_named_tool_choice.rb +266 -0
  266. data/lib/openapi_openai/models/assistants_api_response_format.rb +252 -0
  267. data/lib/openapi_openai/models/assistants_api_response_format_option.rb +106 -0
  268. data/lib/openapi_openai/models/assistants_api_tool_choice_option.rb +106 -0
  269. data/lib/openapi_openai/models/chat_completion_function_call_option.rb +223 -0
  270. data/lib/openapi_openai/models/chat_completion_functions.rb +13 -13
  271. data/lib/openapi_openai/models/chat_completion_message_tool_call.rb +289 -0
  272. data/lib/openapi_openai/models/chat_completion_message_tool_call_chunk.rb +284 -0
  273. data/lib/openapi_openai/models/{chat_completion_request_message_function_call.rb → chat_completion_message_tool_call_chunk_function.rb} +4 -5
  274. data/lib/openapi_openai/models/chat_completion_message_tool_call_function.rb +240 -0
  275. data/lib/openapi_openai/models/chat_completion_named_tool_choice.rb +273 -0
  276. data/lib/openapi_openai/models/{create_chat_completion_request_function_call_one_of.rb → chat_completion_named_tool_choice_function.rb} +4 -4
  277. data/lib/openapi_openai/models/chat_completion_request_assistant_message.rb +298 -0
  278. data/lib/openapi_openai/models/chat_completion_request_assistant_message_function_call.rb +240 -0
  279. data/lib/openapi_openai/models/chat_completion_request_function_message.rb +286 -0
  280. data/lib/openapi_openai/models/chat_completion_request_message.rb +78 -255
  281. data/lib/openapi_openai/models/chat_completion_request_message_content_part.rb +105 -0
  282. data/lib/openapi_openai/models/chat_completion_request_message_content_part_image.rb +272 -0
  283. data/lib/openapi_openai/models/chat_completion_request_message_content_part_image_image_url.rb +268 -0
  284. data/lib/openapi_openai/models/chat_completion_request_message_content_part_text.rb +273 -0
  285. data/lib/openapi_openai/models/chat_completion_request_system_message.rb +283 -0
  286. data/lib/openapi_openai/models/chat_completion_request_tool_message.rb +290 -0
  287. data/lib/openapi_openai/models/chat_completion_request_user_message.rb +282 -0
  288. data/lib/openapi_openai/models/{create_fine_tune_request_model.rb → chat_completion_request_user_message_content.rb} +4 -3
  289. data/lib/openapi_openai/models/chat_completion_response_message.rb +30 -15
  290. data/lib/openapi_openai/models/chat_completion_role.rb +43 -0
  291. data/lib/openapi_openai/models/chat_completion_stream_response_delta.rb +29 -17
  292. data/lib/openapi_openai/models/chat_completion_stream_response_delta_function_call.rb +226 -0
  293. data/lib/openapi_openai/models/chat_completion_token_logprob.rb +273 -0
  294. data/lib/openapi_openai/models/chat_completion_token_logprob_top_logprobs_inner.rb +254 -0
  295. data/lib/openapi_openai/models/chat_completion_tool.rb +272 -0
  296. data/lib/openapi_openai/models/chat_completion_tool_choice_option.rb +106 -0
  297. data/lib/openapi_openai/models/{create_completion_response_usage.rb → completion_usage.rb} +25 -21
  298. data/lib/openapi_openai/models/create_assistant_file_request.rb +222 -0
  299. data/lib/openapi_openai/models/create_assistant_request.rb +372 -0
  300. data/lib/openapi_openai/models/create_assistant_request_model.rb +104 -0
  301. data/lib/openapi_openai/models/create_chat_completion_function_response.rb +346 -0
  302. data/lib/openapi_openai/models/create_chat_completion_function_response_choices_inner.rb +289 -0
  303. data/lib/openapi_openai/models/create_chat_completion_request.rb +277 -152
  304. data/lib/openapi_openai/models/create_chat_completion_request_function_call.rb +3 -3
  305. data/lib/openapi_openai/models/create_chat_completion_request_model.rb +8 -9
  306. data/lib/openapi_openai/models/create_chat_completion_request_response_format.rb +252 -0
  307. data/lib/openapi_openai/models/create_chat_completion_request_stop.rb +1 -1
  308. data/lib/openapi_openai/models/create_chat_completion_response.rb +75 -25
  309. data/lib/openapi_openai/models/create_chat_completion_response_choices_inner.rb +45 -10
  310. data/lib/openapi_openai/models/create_chat_completion_response_choices_inner_logprobs.rb +221 -0
  311. data/lib/openapi_openai/models/create_chat_completion_stream_response.rb +74 -24
  312. data/lib/openapi_openai/models/create_chat_completion_stream_response_choices_inner.rb +45 -16
  313. data/lib/openapi_openai/models/create_completion_request.rb +219 -182
  314. data/lib/openapi_openai/models/create_completion_request_model.rb +8 -9
  315. data/lib/openapi_openai/models/create_completion_request_prompt.rb +1 -1
  316. data/lib/openapi_openai/models/create_completion_request_stop.rb +1 -1
  317. data/lib/openapi_openai/models/create_completion_response.rb +75 -25
  318. data/lib/openapi_openai/models/create_completion_response_choices_inner.rb +25 -24
  319. data/lib/openapi_openai/models/create_completion_response_choices_inner_logprobs.rb +23 -23
  320. data/lib/openapi_openai/models/create_embedding_request.rb +87 -12
  321. data/lib/openapi_openai/models/create_embedding_request_input.rb +2 -2
  322. data/lib/openapi_openai/models/create_embedding_request_model.rb +8 -9
  323. data/lib/openapi_openai/models/create_embedding_response.rb +61 -24
  324. data/lib/openapi_openai/models/create_embedding_response_usage.rb +4 -1
  325. data/lib/openapi_openai/models/{create_fine_tune_request.rb → create_fine_tuning_job_request.rb} +78 -111
  326. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters.rb +233 -0
  327. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_batch_size.rb +106 -0
  328. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier.rb +106 -0
  329. data/lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_n_epochs.rb +106 -0
  330. data/lib/openapi_openai/models/{list_fine_tunes_response.rb → create_fine_tuning_job_request_integrations_inner.rb} +25 -27
  331. data/lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_type.rb +105 -0
  332. data/lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_wandb.rb +257 -0
  333. data/lib/openapi_openai/models/create_fine_tuning_job_request_model.rb +104 -0
  334. data/lib/openapi_openai/models/create_image_edit_request_model.rb +104 -0
  335. data/lib/openapi_openai/models/create_image_request.rb +81 -22
  336. data/lib/openapi_openai/models/create_image_request_model.rb +104 -0
  337. data/lib/openapi_openai/models/create_message_request.rb +352 -0
  338. data/lib/openapi_openai/models/create_moderation_request.rb +1 -1
  339. data/lib/openapi_openai/models/create_moderation_request_input.rb +1 -1
  340. data/lib/openapi_openai/models/create_moderation_request_model.rb +8 -9
  341. data/lib/openapi_openai/models/create_moderation_response.rb +5 -1
  342. data/lib/openapi_openai/models/create_moderation_response_results_inner.rb +2 -1
  343. data/lib/openapi_openai/models/create_moderation_response_results_inner_categories.rb +78 -2
  344. data/lib/openapi_openai/models/create_moderation_response_results_inner_category_scores.rb +78 -2
  345. data/lib/openapi_openai/models/create_run_request.rb +433 -0
  346. data/lib/openapi_openai/models/create_run_request_model.rb +104 -0
  347. data/lib/openapi_openai/models/{create_edit_request.rb → create_speech_request.rb} +105 -95
  348. data/lib/openapi_openai/models/create_speech_request_model.rb +104 -0
  349. data/lib/openapi_openai/models/create_thread_and_run_request.rb +418 -0
  350. data/lib/openapi_openai/models/create_thread_and_run_request_tools_inner.rb +106 -0
  351. data/lib/openapi_openai/models/{list_fine_tune_events_response.rb → create_thread_request.rb} +22 -33
  352. data/lib/openapi_openai/models/create_transcription200_response.rb +105 -0
  353. data/lib/openapi_openai/models/create_transcription_request_model.rb +9 -10
  354. data/lib/openapi_openai/models/{create_transcription_response.rb → create_transcription_response_json.rb} +6 -4
  355. data/lib/openapi_openai/models/create_transcription_response_verbose_json.rb +281 -0
  356. data/lib/openapi_openai/models/create_translation200_response.rb +105 -0
  357. data/lib/openapi_openai/models/{create_translation_response.rb → create_translation_response_json.rb} +4 -4
  358. data/lib/openapi_openai/models/create_translation_response_verbose_json.rb +268 -0
  359. data/lib/openapi_openai/models/delete_assistant_file_response.rb +288 -0
  360. data/lib/openapi_openai/models/delete_assistant_response.rb +287 -0
  361. data/lib/openapi_openai/models/delete_file_response.rb +35 -1
  362. data/lib/openapi_openai/models/delete_message_response.rb +287 -0
  363. data/lib/openapi_openai/models/delete_model_response.rb +21 -21
  364. data/lib/openapi_openai/models/delete_thread_response.rb +287 -0
  365. data/lib/openapi_openai/models/done_event.rb +284 -0
  366. data/lib/openapi_openai/models/embedding.rb +293 -0
  367. data/lib/openapi_openai/models/error.rb +22 -22
  368. data/lib/openapi_openai/models/error_event.rb +272 -0
  369. data/lib/openapi_openai/models/error_response.rb +1 -1
  370. data/lib/openapi_openai/models/fine_tuning_integration.rb +272 -0
  371. data/lib/openapi_openai/models/fine_tuning_job.rb +515 -0
  372. data/lib/openapi_openai/models/{fine_tune.rb → fine_tuning_job_checkpoint.rb} +94 -146
  373. data/lib/openapi_openai/models/fine_tuning_job_checkpoint_metrics.rb +269 -0
  374. data/lib/openapi_openai/models/{fine_tune_event.rb → fine_tuning_job_error.rb} +34 -50
  375. data/lib/openapi_openai/models/fine_tuning_job_event.rb +332 -0
  376. data/lib/openapi_openai/models/fine_tuning_job_hyperparameters.rb +222 -0
  377. data/lib/openapi_openai/models/fine_tuning_job_hyperparameters_n_epochs.rb +106 -0
  378. data/lib/openapi_openai/models/{create_edit_request_model.rb → fine_tuning_job_integrations_inner.rb} +3 -4
  379. data/lib/openapi_openai/models/function_object.rb +244 -0
  380. data/lib/openapi_openai/models/image.rb +236 -0
  381. data/lib/openapi_openai/models/images_response.rb +2 -2
  382. data/lib/openapi_openai/models/list_assistant_files_response.rb +287 -0
  383. data/lib/openapi_openai/models/list_assistants_response.rb +287 -0
  384. data/lib/openapi_openai/models/list_files_response.rb +54 -20
  385. data/lib/openapi_openai/models/list_fine_tuning_job_checkpoints_response.rb +309 -0
  386. data/lib/openapi_openai/models/{create_edit_response.rb → list_fine_tuning_job_events_response.rb} +57 -55
  387. data/lib/openapi_openai/models/list_message_files_response.rb +287 -0
  388. data/lib/openapi_openai/models/list_messages_response.rb +287 -0
  389. data/lib/openapi_openai/models/list_models_response.rb +35 -1
  390. data/lib/openapi_openai/models/list_paginated_fine_tuning_jobs_response.rb +289 -0
  391. data/lib/openapi_openai/models/list_run_steps_response.rb +287 -0
  392. data/lib/openapi_openai/models/list_runs_response.rb +287 -0
  393. data/lib/openapi_openai/models/list_threads_response.rb +287 -0
  394. data/lib/openapi_openai/models/message_content_image_file_object.rb +273 -0
  395. data/lib/openapi_openai/models/message_content_image_file_object_image_file.rb +222 -0
  396. data/lib/openapi_openai/models/message_content_text_annotations_file_citation_object.rb +360 -0
  397. data/lib/openapi_openai/models/message_content_text_annotations_file_citation_object_file_citation.rb +239 -0
  398. data/lib/openapi_openai/models/message_content_text_annotations_file_path_object.rb +360 -0
  399. data/lib/openapi_openai/models/message_content_text_annotations_file_path_object_file_path.rb +222 -0
  400. data/lib/openapi_openai/models/message_content_text_object.rb +273 -0
  401. data/lib/openapi_openai/models/message_content_text_object_text.rb +240 -0
  402. data/lib/openapi_openai/models/message_content_text_object_text_annotations_inner.rb +105 -0
  403. data/lib/openapi_openai/models/message_delta_content_image_file_object.rb +283 -0
  404. data/lib/openapi_openai/models/message_delta_content_image_file_object_image_file.rb +215 -0
  405. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object.rb +349 -0
  406. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object_file_citation.rb +225 -0
  407. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object.rb +349 -0
  408. data/lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object_file_path.rb +215 -0
  409. data/lib/openapi_openai/models/{create_edit_response_choices_inner.rb → message_delta_content_text_object.rb} +42 -35
  410. data/lib/openapi_openai/models/message_delta_content_text_object_text.rb +226 -0
  411. data/lib/openapi_openai/models/message_delta_content_text_object_text_annotations_inner.rb +105 -0
  412. data/lib/openapi_openai/models/message_delta_object.rb +290 -0
  413. data/lib/openapi_openai/models/message_delta_object_delta.rb +293 -0
  414. data/lib/openapi_openai/models/message_delta_object_delta_content_inner.rb +105 -0
  415. data/lib/openapi_openai/models/message_file_object.rb +308 -0
  416. data/lib/openapi_openai/models/message_object.rb +500 -0
  417. data/lib/openapi_openai/models/message_object_content_inner.rb +105 -0
  418. data/lib/openapi_openai/models/message_object_incomplete_details.rb +257 -0
  419. data/lib/openapi_openai/models/message_stream_event.rb +108 -0
  420. data/lib/openapi_openai/models/message_stream_event_one_of.rb +272 -0
  421. data/lib/openapi_openai/models/message_stream_event_one_of1.rb +272 -0
  422. data/lib/openapi_openai/models/message_stream_event_one_of2.rb +272 -0
  423. data/lib/openapi_openai/models/message_stream_event_one_of3.rb +272 -0
  424. data/lib/openapi_openai/models/message_stream_event_one_of4.rb +272 -0
  425. data/lib/openapi_openai/models/model.rb +57 -18
  426. data/lib/openapi_openai/models/modify_assistant_request.rb +365 -0
  427. data/lib/openapi_openai/models/modify_message_request.rb +216 -0
  428. data/lib/openapi_openai/models/modify_run_request.rb +216 -0
  429. data/lib/openapi_openai/models/modify_thread_request.rb +216 -0
  430. data/lib/openapi_openai/models/open_ai_file.rb +93 -20
  431. data/lib/openapi_openai/models/run_completion_usage.rb +257 -0
  432. data/lib/openapi_openai/models/run_object.rb +686 -0
  433. data/lib/openapi_openai/models/run_object_incomplete_details.rb +250 -0
  434. data/lib/openapi_openai/models/run_object_last_error.rb +274 -0
  435. data/lib/openapi_openai/models/run_object_required_action.rb +273 -0
  436. data/lib/openapi_openai/models/run_object_required_action_submit_tool_outputs.rb +225 -0
  437. data/lib/openapi_openai/models/run_step_completion_usage.rb +257 -0
  438. data/lib/openapi_openai/models/run_step_delta_object.rb +290 -0
  439. data/lib/openapi_openai/models/{images_response_data_inner.rb → run_step_delta_object_delta.rb} +12 -20
  440. data/lib/openapi_openai/models/run_step_delta_object_delta_step_details.rb +106 -0
  441. data/lib/openapi_openai/models/run_step_delta_step_details_message_creation_object.rb +266 -0
  442. data/lib/openapi_openai/models/run_step_delta_step_details_message_creation_object_message_creation.rb +215 -0
  443. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object.rb +293 -0
  444. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter.rb +228 -0
  445. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb +105 -0
  446. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object.rb +282 -0
  447. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object_image.rb +215 -0
  448. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_logs_object.rb +284 -0
  449. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object.rb +292 -0
  450. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object_function.rb +237 -0
  451. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object.rb +269 -0
  452. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner.rb +106 -0
  453. data/lib/openapi_openai/models/run_step_delta_step_details_tool_calls_retrieval_object.rb +293 -0
  454. data/lib/openapi_openai/models/run_step_details_message_creation_object.rb +273 -0
  455. data/lib/openapi_openai/models/run_step_details_message_creation_object_message_creation.rb +222 -0
  456. data/lib/openapi_openai/models/run_step_details_tool_calls_code_object.rb +290 -0
  457. data/lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter.rb +242 -0
  458. data/lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb +105 -0
  459. data/lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object.rb +272 -0
  460. data/lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object_image.rb +222 -0
  461. data/lib/openapi_openai/models/run_step_details_tool_calls_code_output_logs_object.rb +274 -0
  462. data/lib/openapi_openai/models/run_step_details_tool_calls_function_object.rb +289 -0
  463. data/lib/openapi_openai/models/run_step_details_tool_calls_function_object_function.rb +253 -0
  464. data/lib/openapi_openai/models/run_step_details_tool_calls_object.rb +276 -0
  465. data/lib/openapi_openai/models/run_step_details_tool_calls_object_tool_calls_inner.rb +106 -0
  466. data/lib/openapi_openai/models/run_step_details_tool_calls_retrieval_object.rb +290 -0
  467. data/lib/openapi_openai/models/run_step_object.rb +505 -0
  468. data/lib/openapi_openai/models/run_step_object_last_error.rb +274 -0
  469. data/lib/openapi_openai/models/run_step_object_step_details.rb +106 -0
  470. data/lib/openapi_openai/models/run_step_stream_event.rb +110 -0
  471. data/lib/openapi_openai/models/run_step_stream_event_one_of.rb +272 -0
  472. data/lib/openapi_openai/models/run_step_stream_event_one_of1.rb +272 -0
  473. data/lib/openapi_openai/models/run_step_stream_event_one_of2.rb +272 -0
  474. data/lib/openapi_openai/models/run_step_stream_event_one_of3.rb +272 -0
  475. data/lib/openapi_openai/models/run_step_stream_event_one_of4.rb +272 -0
  476. data/lib/openapi_openai/models/run_step_stream_event_one_of5.rb +272 -0
  477. data/lib/openapi_openai/models/run_step_stream_event_one_of6.rb +272 -0
  478. data/lib/openapi_openai/models/run_stream_event.rb +112 -0
  479. data/lib/openapi_openai/models/run_stream_event_one_of.rb +272 -0
  480. data/lib/openapi_openai/models/run_stream_event_one_of1.rb +272 -0
  481. data/lib/openapi_openai/models/run_stream_event_one_of2.rb +272 -0
  482. data/lib/openapi_openai/models/run_stream_event_one_of3.rb +272 -0
  483. data/lib/openapi_openai/models/run_stream_event_one_of4.rb +272 -0
  484. data/lib/openapi_openai/models/run_stream_event_one_of5.rb +272 -0
  485. data/lib/openapi_openai/models/run_stream_event_one_of6.rb +272 -0
  486. data/lib/openapi_openai/models/run_stream_event_one_of7.rb +272 -0
  487. data/lib/openapi_openai/models/run_stream_event_one_of8.rb +272 -0
  488. data/lib/openapi_openai/models/run_tool_call_object.rb +290 -0
  489. data/lib/openapi_openai/models/run_tool_call_object_function.rb +240 -0
  490. data/lib/openapi_openai/models/submit_tool_outputs_run_request.rb +235 -0
  491. data/lib/openapi_openai/models/submit_tool_outputs_run_request_tool_outputs_inner.rb +225 -0
  492. data/lib/openapi_openai/models/thread_object.rb +304 -0
  493. data/lib/openapi_openai/models/thread_stream_event.rb +104 -0
  494. data/lib/openapi_openai/models/thread_stream_event_one_of.rb +272 -0
  495. data/lib/openapi_openai/models/transcription_segment.rb +377 -0
  496. data/lib/openapi_openai/models/{create_embedding_response_data_inner.rb → transcription_word.rb} +38 -37
  497. data/lib/openapi_openai/models/truncation_object.rb +275 -0
  498. data/lib/openapi_openai/version.rb +2 -2
  499. data/lib/openapi_openai.rb +209 -19
  500. data/openapi_openai.gemspec +2 -2
  501. data/spec/api/assistants_api_spec.rb +389 -0
  502. data/spec/api/audio_api_spec.rb +78 -0
  503. data/spec/api/chat_api_spec.rb +46 -0
  504. data/spec/api/completions_api_spec.rb +46 -0
  505. data/spec/api/embeddings_api_spec.rb +46 -0
  506. data/spec/api/files_api_spec.rb +91 -0
  507. data/spec/api/fine_tuning_api_spec.rb +106 -0
  508. data/spec/api/images_api_spec.rb +80 -0
  509. data/spec/api/models_api_spec.rb +67 -0
  510. data/spec/api/moderations_api_spec.rb +46 -0
  511. data/spec/models/assistant_file_object_spec.rb +58 -0
  512. data/spec/models/assistant_object_spec.rb +94 -0
  513. data/spec/models/assistant_object_tools_inner_spec.rb +32 -0
  514. data/spec/models/assistant_stream_event_spec.rb +32 -0
  515. data/spec/models/assistant_tools_code_spec.rb +40 -0
  516. data/spec/models/assistant_tools_function_spec.rb +46 -0
  517. data/spec/models/assistant_tools_retrieval_spec.rb +40 -0
  518. data/spec/models/assistants_api_named_tool_choice_spec.rb +46 -0
  519. data/spec/models/assistants_api_response_format_option_spec.rb +32 -0
  520. data/spec/models/assistants_api_response_format_spec.rb +40 -0
  521. data/spec/models/assistants_api_tool_choice_option_spec.rb +32 -0
  522. data/spec/models/chat_completion_function_call_option_spec.rb +36 -0
  523. data/spec/models/chat_completion_functions_spec.rb +3 -3
  524. data/spec/models/chat_completion_message_tool_call_chunk_function_spec.rb +42 -0
  525. data/spec/models/{create_edit_response_choices_inner_spec.rb → chat_completion_message_tool_call_chunk_spec.rb} +15 -15
  526. data/spec/models/{chat_completion_request_message_function_call_spec.rb → chat_completion_message_tool_call_function_spec.rb} +7 -7
  527. data/spec/models/chat_completion_message_tool_call_spec.rb +52 -0
  528. data/spec/models/chat_completion_named_tool_choice_function_spec.rb +36 -0
  529. data/spec/models/chat_completion_named_tool_choice_spec.rb +46 -0
  530. data/spec/models/chat_completion_request_assistant_message_function_call_spec.rb +42 -0
  531. data/spec/models/chat_completion_request_assistant_message_spec.rb +64 -0
  532. data/spec/models/chat_completion_request_function_message_spec.rb +52 -0
  533. data/spec/models/chat_completion_request_message_content_part_image_image_url_spec.rb +46 -0
  534. data/spec/models/chat_completion_request_message_content_part_image_spec.rb +46 -0
  535. data/spec/models/chat_completion_request_message_content_part_spec.rb +32 -0
  536. data/spec/models/chat_completion_request_message_content_part_text_spec.rb +46 -0
  537. data/spec/models/chat_completion_request_message_spec.rb +6 -32
  538. data/spec/models/chat_completion_request_system_message_spec.rb +52 -0
  539. data/spec/models/chat_completion_request_tool_message_spec.rb +52 -0
  540. data/spec/models/chat_completion_request_user_message_content_spec.rb +32 -0
  541. data/spec/models/chat_completion_request_user_message_spec.rb +52 -0
  542. data/spec/models/chat_completion_response_message_spec.rb +13 -7
  543. data/spec/models/chat_completion_role_spec.rb +30 -0
  544. data/spec/models/chat_completion_stream_response_delta_function_call_spec.rb +42 -0
  545. data/spec/models/chat_completion_stream_response_delta_spec.rb +14 -8
  546. data/spec/models/{create_edit_response_spec.rb → chat_completion_token_logprob_spec.rb} +11 -11
  547. data/spec/models/chat_completion_token_logprob_top_logprobs_inner_spec.rb +48 -0
  548. data/spec/models/chat_completion_tool_choice_option_spec.rb +32 -0
  549. data/spec/models/chat_completion_tool_spec.rb +46 -0
  550. data/spec/models/{create_completion_response_usage_spec.rb → completion_usage_spec.rb} +9 -9
  551. data/spec/models/create_assistant_file_request_spec.rb +36 -0
  552. data/spec/models/create_assistant_request_model_spec.rb +21 -0
  553. data/spec/models/{create_edit_request_spec.rb → create_assistant_request_spec.rb} +18 -12
  554. data/spec/models/create_chat_completion_function_response_choices_inner_spec.rb +52 -0
  555. data/spec/models/create_chat_completion_function_response_spec.rb +76 -0
  556. data/spec/models/create_chat_completion_request_function_call_spec.rb +1 -1
  557. data/spec/models/create_chat_completion_request_model_spec.rb +1 -12
  558. data/spec/models/{create_chat_completion_request_function_call_one_of_spec.rb → create_chat_completion_request_response_format_spec.rb} +12 -8
  559. data/spec/models/create_chat_completion_request_spec.rb +47 -11
  560. data/spec/models/create_chat_completion_request_stop_spec.rb +1 -1
  561. data/spec/models/create_chat_completion_response_choices_inner_logprobs_spec.rb +36 -0
  562. data/spec/models/create_chat_completion_response_choices_inner_spec.rb +12 -6
  563. data/spec/models/create_chat_completion_response_spec.rb +13 -3
  564. data/spec/models/create_chat_completion_stream_response_choices_inner_spec.rb +10 -4
  565. data/spec/models/create_chat_completion_stream_response_spec.rb +13 -3
  566. data/spec/models/create_completion_request_model_spec.rb +1 -12
  567. data/spec/models/create_completion_request_prompt_spec.rb +1 -1
  568. data/spec/models/create_completion_request_spec.rb +19 -13
  569. data/spec/models/create_completion_request_stop_spec.rb +1 -1
  570. data/spec/models/create_completion_response_choices_inner_logprobs_spec.rb +4 -4
  571. data/spec/models/create_completion_response_choices_inner_spec.rb +7 -7
  572. data/spec/models/create_completion_response_spec.rb +13 -3
  573. data/spec/models/create_embedding_request_input_spec.rb +1 -1
  574. data/spec/models/create_embedding_request_model_spec.rb +1 -12
  575. data/spec/models/create_embedding_request_spec.rb +18 -2
  576. data/spec/models/create_embedding_response_spec.rb +7 -3
  577. data/spec/models/create_embedding_response_usage_spec.rb +1 -1
  578. data/spec/models/create_fine_tuning_job_request_hyperparameters_batch_size_spec.rb +32 -0
  579. data/spec/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier_spec.rb +32 -0
  580. data/spec/models/create_fine_tuning_job_request_hyperparameters_n_epochs_spec.rb +32 -0
  581. data/spec/models/create_fine_tuning_job_request_hyperparameters_spec.rb +48 -0
  582. data/spec/models/create_fine_tuning_job_request_integrations_inner_spec.rb +42 -0
  583. data/spec/models/create_fine_tuning_job_request_integrations_inner_type_spec.rb +32 -0
  584. data/spec/models/create_fine_tuning_job_request_integrations_inner_wandb_spec.rb +54 -0
  585. data/spec/models/create_fine_tuning_job_request_model_spec.rb +21 -0
  586. data/spec/models/create_fine_tuning_job_request_spec.rb +72 -0
  587. data/spec/models/create_image_edit_request_model_spec.rb +21 -0
  588. data/spec/models/create_image_request_model_spec.rb +21 -0
  589. data/spec/models/create_image_request_spec.rb +30 -4
  590. data/spec/models/create_message_request_spec.rb +58 -0
  591. data/spec/models/create_moderation_request_input_spec.rb +1 -1
  592. data/spec/models/create_moderation_request_model_spec.rb +1 -12
  593. data/spec/models/create_moderation_request_spec.rb +1 -1
  594. data/spec/models/create_moderation_response_results_inner_categories_spec.rb +25 -1
  595. data/spec/models/create_moderation_response_results_inner_category_scores_spec.rb +25 -1
  596. data/spec/models/create_moderation_response_results_inner_spec.rb +1 -1
  597. data/spec/models/create_moderation_response_spec.rb +1 -1
  598. data/spec/models/create_run_request_model_spec.rb +21 -0
  599. data/spec/models/{create_fine_tune_request_spec.rb → create_run_request_spec.rb} +31 -19
  600. data/spec/models/create_speech_request_model_spec.rb +21 -0
  601. data/spec/models/create_speech_request_spec.rb +68 -0
  602. data/spec/models/{fine_tune_spec.rb → create_thread_and_run_request_spec.rb} +20 -20
  603. data/spec/models/create_thread_and_run_request_tools_inner_spec.rb +32 -0
  604. data/spec/models/{list_fine_tune_events_response_spec.rb → create_thread_request_spec.rb} +9 -9
  605. data/spec/models/create_transcription200_response_spec.rb +32 -0
  606. data/spec/models/create_transcription_request_model_spec.rb +1 -12
  607. data/spec/models/{create_transcription_response_spec.rb → create_transcription_response_json_spec.rb} +7 -7
  608. data/spec/models/create_transcription_response_verbose_json_spec.rb +60 -0
  609. data/spec/models/create_translation200_response_spec.rb +32 -0
  610. data/spec/models/{create_translation_response_spec.rb → create_translation_response_json_spec.rb} +7 -7
  611. data/spec/models/create_translation_response_verbose_json_spec.rb +54 -0
  612. data/spec/models/delete_assistant_file_response_spec.rb +52 -0
  613. data/spec/models/delete_assistant_response_spec.rb +52 -0
  614. data/spec/models/delete_file_response_spec.rb +5 -1
  615. data/spec/models/delete_message_response_spec.rb +52 -0
  616. data/spec/models/delete_model_response_spec.rb +3 -3
  617. data/spec/models/delete_thread_response_spec.rb +52 -0
  618. data/spec/models/done_event_spec.rb +50 -0
  619. data/spec/models/{create_embedding_response_data_inner_spec.rb → embedding_spec.rb} +13 -9
  620. data/spec/models/error_event_spec.rb +46 -0
  621. data/spec/models/error_response_spec.rb +1 -1
  622. data/spec/models/error_spec.rb +3 -3
  623. data/spec/models/fine_tuning_integration_spec.rb +46 -0
  624. data/spec/models/fine_tuning_job_checkpoint_metrics_spec.rb +72 -0
  625. data/spec/models/fine_tuning_job_checkpoint_spec.rb +76 -0
  626. data/spec/models/{fine_tune_event_spec.rb → fine_tuning_job_error_spec.rb} +10 -16
  627. data/spec/models/fine_tuning_job_event_spec.rb +68 -0
  628. data/spec/models/fine_tuning_job_hyperparameters_n_epochs_spec.rb +32 -0
  629. data/spec/models/fine_tuning_job_hyperparameters_spec.rb +36 -0
  630. data/spec/models/fine_tuning_job_integrations_inner_spec.rb +32 -0
  631. data/spec/models/fine_tuning_job_spec.rb +134 -0
  632. data/spec/models/function_object_spec.rb +48 -0
  633. data/spec/models/{images_response_data_inner_spec.rb → image_spec.rb} +14 -8
  634. data/spec/models/images_response_spec.rb +1 -1
  635. data/spec/models/list_assistant_files_response_spec.rb +60 -0
  636. data/spec/models/list_assistants_response_spec.rb +60 -0
  637. data/spec/models/list_files_response_spec.rb +7 -3
  638. data/spec/models/list_fine_tuning_job_checkpoints_response_spec.rb +64 -0
  639. data/spec/models/{list_fine_tunes_response_spec.rb → list_fine_tuning_job_events_response_spec.rb} +13 -9
  640. data/spec/models/list_message_files_response_spec.rb +60 -0
  641. data/spec/models/list_messages_response_spec.rb +60 -0
  642. data/spec/models/list_models_response_spec.rb +5 -1
  643. data/spec/models/list_paginated_fine_tuning_jobs_response_spec.rb +52 -0
  644. data/spec/models/list_run_steps_response_spec.rb +60 -0
  645. data/spec/models/list_runs_response_spec.rb +60 -0
  646. data/spec/models/list_threads_response_spec.rb +60 -0
  647. data/spec/models/message_content_image_file_object_image_file_spec.rb +36 -0
  648. data/spec/models/message_content_image_file_object_spec.rb +46 -0
  649. data/spec/models/message_content_text_annotations_file_citation_object_file_citation_spec.rb +42 -0
  650. data/spec/models/message_content_text_annotations_file_citation_object_spec.rb +64 -0
  651. data/spec/models/message_content_text_annotations_file_path_object_file_path_spec.rb +36 -0
  652. data/spec/models/message_content_text_annotations_file_path_object_spec.rb +64 -0
  653. data/spec/models/message_content_text_object_spec.rb +46 -0
  654. data/spec/models/message_content_text_object_text_annotations_inner_spec.rb +32 -0
  655. data/spec/models/message_content_text_object_text_spec.rb +42 -0
  656. data/spec/models/message_delta_content_image_file_object_image_file_spec.rb +36 -0
  657. data/spec/models/message_delta_content_image_file_object_spec.rb +52 -0
  658. data/spec/models/message_delta_content_text_annotations_file_citation_object_file_citation_spec.rb +42 -0
  659. data/spec/models/message_delta_content_text_annotations_file_citation_object_spec.rb +70 -0
  660. data/spec/models/message_delta_content_text_annotations_file_path_object_file_path_spec.rb +36 -0
  661. data/spec/models/message_delta_content_text_annotations_file_path_object_spec.rb +70 -0
  662. data/spec/models/message_delta_content_text_object_spec.rb +52 -0
  663. data/spec/models/message_delta_content_text_object_text_annotations_inner_spec.rb +32 -0
  664. data/spec/models/message_delta_content_text_object_text_spec.rb +42 -0
  665. data/spec/models/message_delta_object_delta_content_inner_spec.rb +32 -0
  666. data/spec/models/message_delta_object_delta_spec.rb +52 -0
  667. data/spec/models/message_delta_object_spec.rb +52 -0
  668. data/spec/models/message_file_object_spec.rb +58 -0
  669. data/spec/models/message_object_content_inner_spec.rb +32 -0
  670. data/spec/models/message_object_incomplete_details_spec.rb +40 -0
  671. data/spec/models/message_object_spec.rb +126 -0
  672. data/spec/models/message_stream_event_one_of1_spec.rb +46 -0
  673. data/spec/models/message_stream_event_one_of2_spec.rb +46 -0
  674. data/spec/models/message_stream_event_one_of3_spec.rb +46 -0
  675. data/spec/models/message_stream_event_one_of4_spec.rb +46 -0
  676. data/spec/models/message_stream_event_one_of_spec.rb +46 -0
  677. data/spec/models/message_stream_event_spec.rb +32 -0
  678. data/spec/models/model_spec.rb +7 -3
  679. data/spec/models/modify_assistant_request_spec.rb +72 -0
  680. data/spec/models/modify_message_request_spec.rb +36 -0
  681. data/spec/models/modify_run_request_spec.rb +36 -0
  682. data/spec/models/modify_thread_request_spec.rb +36 -0
  683. data/spec/models/open_ai_file_spec.rb +17 -5
  684. data/spec/models/run_completion_usage_spec.rb +48 -0
  685. data/spec/models/run_object_incomplete_details_spec.rb +40 -0
  686. data/spec/models/run_object_last_error_spec.rb +46 -0
  687. data/spec/models/run_object_required_action_spec.rb +46 -0
  688. data/spec/models/run_object_required_action_submit_tool_outputs_spec.rb +36 -0
  689. data/spec/models/run_object_spec.rb +194 -0
  690. data/spec/models/run_step_completion_usage_spec.rb +48 -0
  691. data/spec/models/run_step_delta_object_delta_spec.rb +36 -0
  692. data/spec/models/run_step_delta_object_delta_step_details_spec.rb +32 -0
  693. data/spec/models/run_step_delta_object_spec.rb +52 -0
  694. data/spec/models/run_step_delta_step_details_message_creation_object_message_creation_spec.rb +36 -0
  695. data/spec/models/run_step_delta_step_details_message_creation_object_spec.rb +46 -0
  696. data/spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb +32 -0
  697. data/spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_spec.rb +42 -0
  698. data/spec/models/run_step_delta_step_details_tool_calls_code_object_spec.rb +58 -0
  699. data/spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_image_spec.rb +36 -0
  700. data/spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_spec.rb +52 -0
  701. data/spec/models/run_step_delta_step_details_tool_calls_code_output_logs_object_spec.rb +52 -0
  702. data/spec/models/run_step_delta_step_details_tool_calls_function_object_function_spec.rb +48 -0
  703. data/spec/models/run_step_delta_step_details_tool_calls_function_object_spec.rb +58 -0
  704. data/spec/models/run_step_delta_step_details_tool_calls_object_spec.rb +46 -0
  705. data/spec/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner_spec.rb +32 -0
  706. data/spec/models/run_step_delta_step_details_tool_calls_retrieval_object_spec.rb +58 -0
  707. data/spec/models/run_step_details_message_creation_object_message_creation_spec.rb +36 -0
  708. data/spec/models/run_step_details_message_creation_object_spec.rb +46 -0
  709. data/spec/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb +32 -0
  710. data/spec/models/run_step_details_tool_calls_code_object_code_interpreter_spec.rb +42 -0
  711. data/spec/models/run_step_details_tool_calls_code_object_spec.rb +52 -0
  712. data/spec/models/run_step_details_tool_calls_code_output_image_object_image_spec.rb +36 -0
  713. data/spec/models/run_step_details_tool_calls_code_output_image_object_spec.rb +46 -0
  714. data/spec/models/run_step_details_tool_calls_code_output_logs_object_spec.rb +46 -0
  715. data/spec/models/run_step_details_tool_calls_function_object_function_spec.rb +48 -0
  716. data/spec/models/run_step_details_tool_calls_function_object_spec.rb +52 -0
  717. data/spec/models/run_step_details_tool_calls_object_spec.rb +46 -0
  718. data/spec/models/run_step_details_tool_calls_object_tool_calls_inner_spec.rb +32 -0
  719. data/spec/models/run_step_details_tool_calls_retrieval_object_spec.rb +52 -0
  720. data/spec/models/run_step_object_last_error_spec.rb +46 -0
  721. data/spec/models/run_step_object_spec.rb +138 -0
  722. data/spec/models/run_step_object_step_details_spec.rb +32 -0
  723. data/spec/models/run_step_stream_event_one_of1_spec.rb +46 -0
  724. data/spec/models/run_step_stream_event_one_of2_spec.rb +46 -0
  725. data/spec/models/run_step_stream_event_one_of3_spec.rb +46 -0
  726. data/spec/models/run_step_stream_event_one_of4_spec.rb +46 -0
  727. data/spec/models/run_step_stream_event_one_of5_spec.rb +46 -0
  728. data/spec/models/run_step_stream_event_one_of6_spec.rb +46 -0
  729. data/spec/models/run_step_stream_event_one_of_spec.rb +46 -0
  730. data/spec/models/run_step_stream_event_spec.rb +32 -0
  731. data/spec/models/run_stream_event_one_of1_spec.rb +46 -0
  732. data/spec/models/run_stream_event_one_of2_spec.rb +46 -0
  733. data/spec/models/run_stream_event_one_of3_spec.rb +46 -0
  734. data/spec/models/run_stream_event_one_of4_spec.rb +46 -0
  735. data/spec/models/run_stream_event_one_of5_spec.rb +46 -0
  736. data/spec/models/run_stream_event_one_of6_spec.rb +46 -0
  737. data/spec/models/run_stream_event_one_of7_spec.rb +46 -0
  738. data/spec/models/run_stream_event_one_of8_spec.rb +46 -0
  739. data/spec/models/run_stream_event_one_of_spec.rb +46 -0
  740. data/spec/models/{create_fine_tune_request_model_spec.rb → run_stream_event_spec.rb} +3 -3
  741. data/spec/models/run_tool_call_object_function_spec.rb +42 -0
  742. data/spec/models/run_tool_call_object_spec.rb +52 -0
  743. data/spec/models/submit_tool_outputs_run_request_spec.rb +42 -0
  744. data/spec/models/submit_tool_outputs_run_request_tool_outputs_inner_spec.rb +42 -0
  745. data/spec/models/thread_object_spec.rb +58 -0
  746. data/spec/models/thread_stream_event_one_of_spec.rb +46 -0
  747. data/spec/models/{create_edit_request_model_spec.rb → thread_stream_event_spec.rb} +3 -3
  748. data/spec/models/transcription_segment_spec.rb +90 -0
  749. data/spec/models/transcription_word_spec.rb +48 -0
  750. data/spec/models/truncation_object_spec.rb +46 -0
  751. data/spec/spec_helper.rb +1 -1
  752. metadata +867 -106
  753. data/docs/CreateCompletionResponseUsage.md +0 -22
  754. data/docs/CreateEditRequest.md +0 -28
  755. data/docs/CreateEditResponse.md +0 -24
  756. data/docs/CreateEditResponseChoicesInner.md +0 -24
  757. data/docs/CreateEmbeddingResponseDataInner.md +0 -22
  758. data/docs/CreateFineTuneRequest.md +0 -40
  759. data/docs/CreateTranslationResponse.md +0 -18
  760. data/docs/FineTune.md +0 -42
  761. data/docs/ImagesResponseDataInner.md +0 -20
  762. data/docs/ListFineTuneEventsResponse.md +0 -20
  763. data/docs/ListFineTunesResponse.md +0 -20
  764. data/docs/OpenAIApi.md +0 -1499
  765. data/lib/openapi_openai/api/open_ai_api.rb +0 -1583
  766. data/spec/api/open_ai_api_spec.rb +0 -306
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapi_openai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI Clients Factory
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-16 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -50,7 +50,8 @@ dependencies:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 3.6.0
53
- description: APIs for sampling from and fine-tuning language models
53
+ description: The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference
54
+ for more details.
54
55
  email:
55
56
  - blah+oapicf@cliffano.com
56
57
  executables: []
@@ -73,18 +74,63 @@ files:
73
74
  - bin/rubocop
74
75
  - bin/ruby-parse
75
76
  - bin/ruby-rewrite
77
+ - docs/AssistantFileObject.md
78
+ - docs/AssistantObject.md
79
+ - docs/AssistantObjectToolsInner.md
80
+ - docs/AssistantStreamEvent.md
81
+ - docs/AssistantToolsCode.md
82
+ - docs/AssistantToolsFunction.md
83
+ - docs/AssistantToolsRetrieval.md
84
+ - docs/AssistantsApi.md
85
+ - docs/AssistantsApiNamedToolChoice.md
86
+ - docs/AssistantsApiResponseFormat.md
87
+ - docs/AssistantsApiResponseFormatOption.md
88
+ - docs/AssistantsApiToolChoiceOption.md
89
+ - docs/AudioApi.md
90
+ - docs/ChatApi.md
91
+ - docs/ChatCompletionFunctionCallOption.md
76
92
  - docs/ChatCompletionFunctions.md
93
+ - docs/ChatCompletionMessageToolCall.md
94
+ - docs/ChatCompletionMessageToolCallChunk.md
95
+ - docs/ChatCompletionMessageToolCallChunkFunction.md
96
+ - docs/ChatCompletionMessageToolCallFunction.md
97
+ - docs/ChatCompletionNamedToolChoice.md
98
+ - docs/ChatCompletionNamedToolChoiceFunction.md
99
+ - docs/ChatCompletionRequestAssistantMessage.md
100
+ - docs/ChatCompletionRequestAssistantMessageFunctionCall.md
101
+ - docs/ChatCompletionRequestFunctionMessage.md
77
102
  - docs/ChatCompletionRequestMessage.md
78
- - docs/ChatCompletionRequestMessageFunctionCall.md
103
+ - docs/ChatCompletionRequestMessageContentPart.md
104
+ - docs/ChatCompletionRequestMessageContentPartImage.md
105
+ - docs/ChatCompletionRequestMessageContentPartImageImageUrl.md
106
+ - docs/ChatCompletionRequestMessageContentPartText.md
107
+ - docs/ChatCompletionRequestSystemMessage.md
108
+ - docs/ChatCompletionRequestToolMessage.md
109
+ - docs/ChatCompletionRequestUserMessage.md
110
+ - docs/ChatCompletionRequestUserMessageContent.md
79
111
  - docs/ChatCompletionResponseMessage.md
112
+ - docs/ChatCompletionRole.md
80
113
  - docs/ChatCompletionStreamResponseDelta.md
114
+ - docs/ChatCompletionStreamResponseDeltaFunctionCall.md
115
+ - docs/ChatCompletionTokenLogprob.md
116
+ - docs/ChatCompletionTokenLogprobTopLogprobsInner.md
117
+ - docs/ChatCompletionTool.md
118
+ - docs/ChatCompletionToolChoiceOption.md
119
+ - docs/CompletionUsage.md
120
+ - docs/CompletionsApi.md
121
+ - docs/CreateAssistantFileRequest.md
122
+ - docs/CreateAssistantRequest.md
123
+ - docs/CreateAssistantRequestModel.md
124
+ - docs/CreateChatCompletionFunctionResponse.md
125
+ - docs/CreateChatCompletionFunctionResponseChoicesInner.md
81
126
  - docs/CreateChatCompletionRequest.md
82
127
  - docs/CreateChatCompletionRequestFunctionCall.md
83
- - docs/CreateChatCompletionRequestFunctionCallOneOf.md
84
128
  - docs/CreateChatCompletionRequestModel.md
129
+ - docs/CreateChatCompletionRequestResponseFormat.md
85
130
  - docs/CreateChatCompletionRequestStop.md
86
131
  - docs/CreateChatCompletionResponse.md
87
132
  - docs/CreateChatCompletionResponseChoicesInner.md
133
+ - docs/CreateChatCompletionResponseChoicesInnerLogprobs.md
88
134
  - docs/CreateChatCompletionStreamResponse.md
89
135
  - docs/CreateChatCompletionStreamResponseChoicesInner.md
90
136
  - docs/CreateCompletionRequest.md
@@ -94,20 +140,24 @@ files:
94
140
  - docs/CreateCompletionResponse.md
95
141
  - docs/CreateCompletionResponseChoicesInner.md
96
142
  - docs/CreateCompletionResponseChoicesInnerLogprobs.md
97
- - docs/CreateCompletionResponseUsage.md
98
- - docs/CreateEditRequest.md
99
- - docs/CreateEditRequestModel.md
100
- - docs/CreateEditResponse.md
101
- - docs/CreateEditResponseChoicesInner.md
102
143
  - docs/CreateEmbeddingRequest.md
103
144
  - docs/CreateEmbeddingRequestInput.md
104
145
  - docs/CreateEmbeddingRequestModel.md
105
146
  - docs/CreateEmbeddingResponse.md
106
- - docs/CreateEmbeddingResponseDataInner.md
107
147
  - docs/CreateEmbeddingResponseUsage.md
108
- - docs/CreateFineTuneRequest.md
109
- - docs/CreateFineTuneRequestModel.md
148
+ - docs/CreateFineTuningJobRequest.md
149
+ - docs/CreateFineTuningJobRequestHyperparameters.md
150
+ - docs/CreateFineTuningJobRequestHyperparametersBatchSize.md
151
+ - docs/CreateFineTuningJobRequestHyperparametersLearningRateMultiplier.md
152
+ - docs/CreateFineTuningJobRequestHyperparametersNEpochs.md
153
+ - docs/CreateFineTuningJobRequestIntegrationsInner.md
154
+ - docs/CreateFineTuningJobRequestIntegrationsInnerType.md
155
+ - docs/CreateFineTuningJobRequestIntegrationsInnerWandb.md
156
+ - docs/CreateFineTuningJobRequestModel.md
157
+ - docs/CreateImageEditRequestModel.md
110
158
  - docs/CreateImageRequest.md
159
+ - docs/CreateImageRequestModel.md
160
+ - docs/CreateMessageRequest.md
111
161
  - docs/CreateModerationRequest.md
112
162
  - docs/CreateModerationRequestInput.md
113
163
  - docs/CreateModerationRequestModel.md
@@ -115,42 +165,233 @@ files:
115
165
  - docs/CreateModerationResponseResultsInner.md
116
166
  - docs/CreateModerationResponseResultsInnerCategories.md
117
167
  - docs/CreateModerationResponseResultsInnerCategoryScores.md
168
+ - docs/CreateRunRequest.md
169
+ - docs/CreateRunRequestModel.md
170
+ - docs/CreateSpeechRequest.md
171
+ - docs/CreateSpeechRequestModel.md
172
+ - docs/CreateThreadAndRunRequest.md
173
+ - docs/CreateThreadAndRunRequestToolsInner.md
174
+ - docs/CreateThreadRequest.md
175
+ - docs/CreateTranscription200Response.md
118
176
  - docs/CreateTranscriptionRequestModel.md
119
- - docs/CreateTranscriptionResponse.md
120
- - docs/CreateTranslationResponse.md
177
+ - docs/CreateTranscriptionResponseJson.md
178
+ - docs/CreateTranscriptionResponseVerboseJson.md
179
+ - docs/CreateTranslation200Response.md
180
+ - docs/CreateTranslationResponseJson.md
181
+ - docs/CreateTranslationResponseVerboseJson.md
182
+ - docs/DeleteAssistantFileResponse.md
183
+ - docs/DeleteAssistantResponse.md
121
184
  - docs/DeleteFileResponse.md
185
+ - docs/DeleteMessageResponse.md
122
186
  - docs/DeleteModelResponse.md
187
+ - docs/DeleteThreadResponse.md
188
+ - docs/DoneEvent.md
189
+ - docs/Embedding.md
190
+ - docs/EmbeddingsApi.md
123
191
  - docs/Error.md
192
+ - docs/ErrorEvent.md
124
193
  - docs/ErrorResponse.md
125
- - docs/FineTune.md
126
- - docs/FineTuneEvent.md
194
+ - docs/FilesApi.md
195
+ - docs/FineTuningApi.md
196
+ - docs/FineTuningIntegration.md
197
+ - docs/FineTuningJob.md
198
+ - docs/FineTuningJobCheckpoint.md
199
+ - docs/FineTuningJobCheckpointMetrics.md
200
+ - docs/FineTuningJobError.md
201
+ - docs/FineTuningJobEvent.md
202
+ - docs/FineTuningJobHyperparameters.md
203
+ - docs/FineTuningJobHyperparametersNEpochs.md
204
+ - docs/FineTuningJobIntegrationsInner.md
205
+ - docs/FunctionObject.md
206
+ - docs/Image.md
207
+ - docs/ImagesApi.md
127
208
  - docs/ImagesResponse.md
128
- - docs/ImagesResponseDataInner.md
209
+ - docs/ListAssistantFilesResponse.md
210
+ - docs/ListAssistantsResponse.md
129
211
  - docs/ListFilesResponse.md
130
- - docs/ListFineTuneEventsResponse.md
131
- - docs/ListFineTunesResponse.md
212
+ - docs/ListFineTuningJobCheckpointsResponse.md
213
+ - docs/ListFineTuningJobEventsResponse.md
214
+ - docs/ListMessageFilesResponse.md
215
+ - docs/ListMessagesResponse.md
132
216
  - docs/ListModelsResponse.md
217
+ - docs/ListPaginatedFineTuningJobsResponse.md
218
+ - docs/ListRunStepsResponse.md
219
+ - docs/ListRunsResponse.md
220
+ - docs/ListThreadsResponse.md
221
+ - docs/MessageContentImageFileObject.md
222
+ - docs/MessageContentImageFileObjectImageFile.md
223
+ - docs/MessageContentTextAnnotationsFileCitationObject.md
224
+ - docs/MessageContentTextAnnotationsFileCitationObjectFileCitation.md
225
+ - docs/MessageContentTextAnnotationsFilePathObject.md
226
+ - docs/MessageContentTextAnnotationsFilePathObjectFilePath.md
227
+ - docs/MessageContentTextObject.md
228
+ - docs/MessageContentTextObjectText.md
229
+ - docs/MessageContentTextObjectTextAnnotationsInner.md
230
+ - docs/MessageDeltaContentImageFileObject.md
231
+ - docs/MessageDeltaContentImageFileObjectImageFile.md
232
+ - docs/MessageDeltaContentTextAnnotationsFileCitationObject.md
233
+ - docs/MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation.md
234
+ - docs/MessageDeltaContentTextAnnotationsFilePathObject.md
235
+ - docs/MessageDeltaContentTextAnnotationsFilePathObjectFilePath.md
236
+ - docs/MessageDeltaContentTextObject.md
237
+ - docs/MessageDeltaContentTextObjectText.md
238
+ - docs/MessageDeltaContentTextObjectTextAnnotationsInner.md
239
+ - docs/MessageDeltaObject.md
240
+ - docs/MessageDeltaObjectDelta.md
241
+ - docs/MessageDeltaObjectDeltaContentInner.md
242
+ - docs/MessageFileObject.md
243
+ - docs/MessageObject.md
244
+ - docs/MessageObjectContentInner.md
245
+ - docs/MessageObjectIncompleteDetails.md
246
+ - docs/MessageStreamEvent.md
247
+ - docs/MessageStreamEventOneOf.md
248
+ - docs/MessageStreamEventOneOf1.md
249
+ - docs/MessageStreamEventOneOf2.md
250
+ - docs/MessageStreamEventOneOf3.md
251
+ - docs/MessageStreamEventOneOf4.md
133
252
  - docs/Model.md
134
- - docs/OpenAIApi.md
253
+ - docs/ModelsApi.md
254
+ - docs/ModerationsApi.md
255
+ - docs/ModifyAssistantRequest.md
256
+ - docs/ModifyMessageRequest.md
257
+ - docs/ModifyRunRequest.md
258
+ - docs/ModifyThreadRequest.md
135
259
  - docs/OpenAIFile.md
260
+ - docs/RunCompletionUsage.md
261
+ - docs/RunObject.md
262
+ - docs/RunObjectIncompleteDetails.md
263
+ - docs/RunObjectLastError.md
264
+ - docs/RunObjectRequiredAction.md
265
+ - docs/RunObjectRequiredActionSubmitToolOutputs.md
266
+ - docs/RunStepCompletionUsage.md
267
+ - docs/RunStepDeltaObject.md
268
+ - docs/RunStepDeltaObjectDelta.md
269
+ - docs/RunStepDeltaObjectDeltaStepDetails.md
270
+ - docs/RunStepDeltaStepDetailsMessageCreationObject.md
271
+ - docs/RunStepDeltaStepDetailsMessageCreationObjectMessageCreation.md
272
+ - docs/RunStepDeltaStepDetailsToolCallsCodeObject.md
273
+ - docs/RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter.md
274
+ - docs/RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner.md
275
+ - docs/RunStepDeltaStepDetailsToolCallsCodeOutputImageObject.md
276
+ - docs/RunStepDeltaStepDetailsToolCallsCodeOutputImageObjectImage.md
277
+ - docs/RunStepDeltaStepDetailsToolCallsCodeOutputLogsObject.md
278
+ - docs/RunStepDeltaStepDetailsToolCallsFunctionObject.md
279
+ - docs/RunStepDeltaStepDetailsToolCallsFunctionObjectFunction.md
280
+ - docs/RunStepDeltaStepDetailsToolCallsObject.md
281
+ - docs/RunStepDeltaStepDetailsToolCallsObjectToolCallsInner.md
282
+ - docs/RunStepDeltaStepDetailsToolCallsRetrievalObject.md
283
+ - docs/RunStepDetailsMessageCreationObject.md
284
+ - docs/RunStepDetailsMessageCreationObjectMessageCreation.md
285
+ - docs/RunStepDetailsToolCallsCodeObject.md
286
+ - docs/RunStepDetailsToolCallsCodeObjectCodeInterpreter.md
287
+ - docs/RunStepDetailsToolCallsCodeObjectCodeInterpreterOutputsInner.md
288
+ - docs/RunStepDetailsToolCallsCodeOutputImageObject.md
289
+ - docs/RunStepDetailsToolCallsCodeOutputImageObjectImage.md
290
+ - docs/RunStepDetailsToolCallsCodeOutputLogsObject.md
291
+ - docs/RunStepDetailsToolCallsFunctionObject.md
292
+ - docs/RunStepDetailsToolCallsFunctionObjectFunction.md
293
+ - docs/RunStepDetailsToolCallsObject.md
294
+ - docs/RunStepDetailsToolCallsObjectToolCallsInner.md
295
+ - docs/RunStepDetailsToolCallsRetrievalObject.md
296
+ - docs/RunStepObject.md
297
+ - docs/RunStepObjectLastError.md
298
+ - docs/RunStepObjectStepDetails.md
299
+ - docs/RunStepStreamEvent.md
300
+ - docs/RunStepStreamEventOneOf.md
301
+ - docs/RunStepStreamEventOneOf1.md
302
+ - docs/RunStepStreamEventOneOf2.md
303
+ - docs/RunStepStreamEventOneOf3.md
304
+ - docs/RunStepStreamEventOneOf4.md
305
+ - docs/RunStepStreamEventOneOf5.md
306
+ - docs/RunStepStreamEventOneOf6.md
307
+ - docs/RunStreamEvent.md
308
+ - docs/RunStreamEventOneOf.md
309
+ - docs/RunStreamEventOneOf1.md
310
+ - docs/RunStreamEventOneOf2.md
311
+ - docs/RunStreamEventOneOf3.md
312
+ - docs/RunStreamEventOneOf4.md
313
+ - docs/RunStreamEventOneOf5.md
314
+ - docs/RunStreamEventOneOf6.md
315
+ - docs/RunStreamEventOneOf7.md
316
+ - docs/RunStreamEventOneOf8.md
317
+ - docs/RunToolCallObject.md
318
+ - docs/RunToolCallObjectFunction.md
319
+ - docs/SubmitToolOutputsRunRequest.md
320
+ - docs/SubmitToolOutputsRunRequestToolOutputsInner.md
321
+ - docs/ThreadObject.md
322
+ - docs/ThreadStreamEvent.md
323
+ - docs/ThreadStreamEventOneOf.md
324
+ - docs/TranscriptionSegment.md
325
+ - docs/TranscriptionWord.md
326
+ - docs/TruncationObject.md
136
327
  - git_push.sh
137
328
  - lib/openapi_openai.rb
138
- - lib/openapi_openai/api/open_ai_api.rb
329
+ - lib/openapi_openai/api/assistants_api.rb
330
+ - lib/openapi_openai/api/audio_api.rb
331
+ - lib/openapi_openai/api/chat_api.rb
332
+ - lib/openapi_openai/api/completions_api.rb
333
+ - lib/openapi_openai/api/embeddings_api.rb
334
+ - lib/openapi_openai/api/files_api.rb
335
+ - lib/openapi_openai/api/fine_tuning_api.rb
336
+ - lib/openapi_openai/api/images_api.rb
337
+ - lib/openapi_openai/api/models_api.rb
338
+ - lib/openapi_openai/api/moderations_api.rb
139
339
  - lib/openapi_openai/api_client.rb
140
340
  - lib/openapi_openai/api_error.rb
141
341
  - lib/openapi_openai/configuration.rb
342
+ - lib/openapi_openai/models/assistant_file_object.rb
343
+ - lib/openapi_openai/models/assistant_object.rb
344
+ - lib/openapi_openai/models/assistant_object_tools_inner.rb
345
+ - lib/openapi_openai/models/assistant_stream_event.rb
346
+ - lib/openapi_openai/models/assistant_tools_code.rb
347
+ - lib/openapi_openai/models/assistant_tools_function.rb
348
+ - lib/openapi_openai/models/assistant_tools_retrieval.rb
349
+ - lib/openapi_openai/models/assistants_api_named_tool_choice.rb
350
+ - lib/openapi_openai/models/assistants_api_response_format.rb
351
+ - lib/openapi_openai/models/assistants_api_response_format_option.rb
352
+ - lib/openapi_openai/models/assistants_api_tool_choice_option.rb
353
+ - lib/openapi_openai/models/chat_completion_function_call_option.rb
142
354
  - lib/openapi_openai/models/chat_completion_functions.rb
355
+ - lib/openapi_openai/models/chat_completion_message_tool_call.rb
356
+ - lib/openapi_openai/models/chat_completion_message_tool_call_chunk.rb
357
+ - lib/openapi_openai/models/chat_completion_message_tool_call_chunk_function.rb
358
+ - lib/openapi_openai/models/chat_completion_message_tool_call_function.rb
359
+ - lib/openapi_openai/models/chat_completion_named_tool_choice.rb
360
+ - lib/openapi_openai/models/chat_completion_named_tool_choice_function.rb
361
+ - lib/openapi_openai/models/chat_completion_request_assistant_message.rb
362
+ - lib/openapi_openai/models/chat_completion_request_assistant_message_function_call.rb
363
+ - lib/openapi_openai/models/chat_completion_request_function_message.rb
143
364
  - lib/openapi_openai/models/chat_completion_request_message.rb
144
- - lib/openapi_openai/models/chat_completion_request_message_function_call.rb
365
+ - lib/openapi_openai/models/chat_completion_request_message_content_part.rb
366
+ - lib/openapi_openai/models/chat_completion_request_message_content_part_image.rb
367
+ - lib/openapi_openai/models/chat_completion_request_message_content_part_image_image_url.rb
368
+ - lib/openapi_openai/models/chat_completion_request_message_content_part_text.rb
369
+ - lib/openapi_openai/models/chat_completion_request_system_message.rb
370
+ - lib/openapi_openai/models/chat_completion_request_tool_message.rb
371
+ - lib/openapi_openai/models/chat_completion_request_user_message.rb
372
+ - lib/openapi_openai/models/chat_completion_request_user_message_content.rb
145
373
  - lib/openapi_openai/models/chat_completion_response_message.rb
374
+ - lib/openapi_openai/models/chat_completion_role.rb
146
375
  - lib/openapi_openai/models/chat_completion_stream_response_delta.rb
376
+ - lib/openapi_openai/models/chat_completion_stream_response_delta_function_call.rb
377
+ - lib/openapi_openai/models/chat_completion_token_logprob.rb
378
+ - lib/openapi_openai/models/chat_completion_token_logprob_top_logprobs_inner.rb
379
+ - lib/openapi_openai/models/chat_completion_tool.rb
380
+ - lib/openapi_openai/models/chat_completion_tool_choice_option.rb
381
+ - lib/openapi_openai/models/completion_usage.rb
382
+ - lib/openapi_openai/models/create_assistant_file_request.rb
383
+ - lib/openapi_openai/models/create_assistant_request.rb
384
+ - lib/openapi_openai/models/create_assistant_request_model.rb
385
+ - lib/openapi_openai/models/create_chat_completion_function_response.rb
386
+ - lib/openapi_openai/models/create_chat_completion_function_response_choices_inner.rb
147
387
  - lib/openapi_openai/models/create_chat_completion_request.rb
148
388
  - lib/openapi_openai/models/create_chat_completion_request_function_call.rb
149
- - lib/openapi_openai/models/create_chat_completion_request_function_call_one_of.rb
150
389
  - lib/openapi_openai/models/create_chat_completion_request_model.rb
390
+ - lib/openapi_openai/models/create_chat_completion_request_response_format.rb
151
391
  - lib/openapi_openai/models/create_chat_completion_request_stop.rb
152
392
  - lib/openapi_openai/models/create_chat_completion_response.rb
153
393
  - lib/openapi_openai/models/create_chat_completion_response_choices_inner.rb
394
+ - lib/openapi_openai/models/create_chat_completion_response_choices_inner_logprobs.rb
154
395
  - lib/openapi_openai/models/create_chat_completion_stream_response.rb
155
396
  - lib/openapi_openai/models/create_chat_completion_stream_response_choices_inner.rb
156
397
  - lib/openapi_openai/models/create_completion_request.rb
@@ -160,20 +401,24 @@ files:
160
401
  - lib/openapi_openai/models/create_completion_response.rb
161
402
  - lib/openapi_openai/models/create_completion_response_choices_inner.rb
162
403
  - lib/openapi_openai/models/create_completion_response_choices_inner_logprobs.rb
163
- - lib/openapi_openai/models/create_completion_response_usage.rb
164
- - lib/openapi_openai/models/create_edit_request.rb
165
- - lib/openapi_openai/models/create_edit_request_model.rb
166
- - lib/openapi_openai/models/create_edit_response.rb
167
- - lib/openapi_openai/models/create_edit_response_choices_inner.rb
168
404
  - lib/openapi_openai/models/create_embedding_request.rb
169
405
  - lib/openapi_openai/models/create_embedding_request_input.rb
170
406
  - lib/openapi_openai/models/create_embedding_request_model.rb
171
407
  - lib/openapi_openai/models/create_embedding_response.rb
172
- - lib/openapi_openai/models/create_embedding_response_data_inner.rb
173
408
  - lib/openapi_openai/models/create_embedding_response_usage.rb
174
- - lib/openapi_openai/models/create_fine_tune_request.rb
175
- - lib/openapi_openai/models/create_fine_tune_request_model.rb
409
+ - lib/openapi_openai/models/create_fine_tuning_job_request.rb
410
+ - lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters.rb
411
+ - lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_batch_size.rb
412
+ - lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier.rb
413
+ - lib/openapi_openai/models/create_fine_tuning_job_request_hyperparameters_n_epochs.rb
414
+ - lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner.rb
415
+ - lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_type.rb
416
+ - lib/openapi_openai/models/create_fine_tuning_job_request_integrations_inner_wandb.rb
417
+ - lib/openapi_openai/models/create_fine_tuning_job_request_model.rb
418
+ - lib/openapi_openai/models/create_image_edit_request_model.rb
176
419
  - lib/openapi_openai/models/create_image_request.rb
420
+ - lib/openapi_openai/models/create_image_request_model.rb
421
+ - lib/openapi_openai/models/create_message_request.rb
177
422
  - lib/openapi_openai/models/create_moderation_request.rb
178
423
  - lib/openapi_openai/models/create_moderation_request_input.rb
179
424
  - lib/openapi_openai/models/create_moderation_request_model.rb
@@ -181,36 +426,222 @@ files:
181
426
  - lib/openapi_openai/models/create_moderation_response_results_inner.rb
182
427
  - lib/openapi_openai/models/create_moderation_response_results_inner_categories.rb
183
428
  - lib/openapi_openai/models/create_moderation_response_results_inner_category_scores.rb
429
+ - lib/openapi_openai/models/create_run_request.rb
430
+ - lib/openapi_openai/models/create_run_request_model.rb
431
+ - lib/openapi_openai/models/create_speech_request.rb
432
+ - lib/openapi_openai/models/create_speech_request_model.rb
433
+ - lib/openapi_openai/models/create_thread_and_run_request.rb
434
+ - lib/openapi_openai/models/create_thread_and_run_request_tools_inner.rb
435
+ - lib/openapi_openai/models/create_thread_request.rb
436
+ - lib/openapi_openai/models/create_transcription200_response.rb
184
437
  - lib/openapi_openai/models/create_transcription_request_model.rb
185
- - lib/openapi_openai/models/create_transcription_response.rb
186
- - lib/openapi_openai/models/create_translation_response.rb
438
+ - lib/openapi_openai/models/create_transcription_response_json.rb
439
+ - lib/openapi_openai/models/create_transcription_response_verbose_json.rb
440
+ - lib/openapi_openai/models/create_translation200_response.rb
441
+ - lib/openapi_openai/models/create_translation_response_json.rb
442
+ - lib/openapi_openai/models/create_translation_response_verbose_json.rb
443
+ - lib/openapi_openai/models/delete_assistant_file_response.rb
444
+ - lib/openapi_openai/models/delete_assistant_response.rb
187
445
  - lib/openapi_openai/models/delete_file_response.rb
446
+ - lib/openapi_openai/models/delete_message_response.rb
188
447
  - lib/openapi_openai/models/delete_model_response.rb
448
+ - lib/openapi_openai/models/delete_thread_response.rb
449
+ - lib/openapi_openai/models/done_event.rb
450
+ - lib/openapi_openai/models/embedding.rb
189
451
  - lib/openapi_openai/models/error.rb
452
+ - lib/openapi_openai/models/error_event.rb
190
453
  - lib/openapi_openai/models/error_response.rb
191
- - lib/openapi_openai/models/fine_tune.rb
192
- - lib/openapi_openai/models/fine_tune_event.rb
454
+ - lib/openapi_openai/models/fine_tuning_integration.rb
455
+ - lib/openapi_openai/models/fine_tuning_job.rb
456
+ - lib/openapi_openai/models/fine_tuning_job_checkpoint.rb
457
+ - lib/openapi_openai/models/fine_tuning_job_checkpoint_metrics.rb
458
+ - lib/openapi_openai/models/fine_tuning_job_error.rb
459
+ - lib/openapi_openai/models/fine_tuning_job_event.rb
460
+ - lib/openapi_openai/models/fine_tuning_job_hyperparameters.rb
461
+ - lib/openapi_openai/models/fine_tuning_job_hyperparameters_n_epochs.rb
462
+ - lib/openapi_openai/models/fine_tuning_job_integrations_inner.rb
463
+ - lib/openapi_openai/models/function_object.rb
464
+ - lib/openapi_openai/models/image.rb
193
465
  - lib/openapi_openai/models/images_response.rb
194
- - lib/openapi_openai/models/images_response_data_inner.rb
466
+ - lib/openapi_openai/models/list_assistant_files_response.rb
467
+ - lib/openapi_openai/models/list_assistants_response.rb
195
468
  - lib/openapi_openai/models/list_files_response.rb
196
- - lib/openapi_openai/models/list_fine_tune_events_response.rb
197
- - lib/openapi_openai/models/list_fine_tunes_response.rb
469
+ - lib/openapi_openai/models/list_fine_tuning_job_checkpoints_response.rb
470
+ - lib/openapi_openai/models/list_fine_tuning_job_events_response.rb
471
+ - lib/openapi_openai/models/list_message_files_response.rb
472
+ - lib/openapi_openai/models/list_messages_response.rb
198
473
  - lib/openapi_openai/models/list_models_response.rb
474
+ - lib/openapi_openai/models/list_paginated_fine_tuning_jobs_response.rb
475
+ - lib/openapi_openai/models/list_run_steps_response.rb
476
+ - lib/openapi_openai/models/list_runs_response.rb
477
+ - lib/openapi_openai/models/list_threads_response.rb
478
+ - lib/openapi_openai/models/message_content_image_file_object.rb
479
+ - lib/openapi_openai/models/message_content_image_file_object_image_file.rb
480
+ - lib/openapi_openai/models/message_content_text_annotations_file_citation_object.rb
481
+ - lib/openapi_openai/models/message_content_text_annotations_file_citation_object_file_citation.rb
482
+ - lib/openapi_openai/models/message_content_text_annotations_file_path_object.rb
483
+ - lib/openapi_openai/models/message_content_text_annotations_file_path_object_file_path.rb
484
+ - lib/openapi_openai/models/message_content_text_object.rb
485
+ - lib/openapi_openai/models/message_content_text_object_text.rb
486
+ - lib/openapi_openai/models/message_content_text_object_text_annotations_inner.rb
487
+ - lib/openapi_openai/models/message_delta_content_image_file_object.rb
488
+ - lib/openapi_openai/models/message_delta_content_image_file_object_image_file.rb
489
+ - lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object.rb
490
+ - lib/openapi_openai/models/message_delta_content_text_annotations_file_citation_object_file_citation.rb
491
+ - lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object.rb
492
+ - lib/openapi_openai/models/message_delta_content_text_annotations_file_path_object_file_path.rb
493
+ - lib/openapi_openai/models/message_delta_content_text_object.rb
494
+ - lib/openapi_openai/models/message_delta_content_text_object_text.rb
495
+ - lib/openapi_openai/models/message_delta_content_text_object_text_annotations_inner.rb
496
+ - lib/openapi_openai/models/message_delta_object.rb
497
+ - lib/openapi_openai/models/message_delta_object_delta.rb
498
+ - lib/openapi_openai/models/message_delta_object_delta_content_inner.rb
499
+ - lib/openapi_openai/models/message_file_object.rb
500
+ - lib/openapi_openai/models/message_object.rb
501
+ - lib/openapi_openai/models/message_object_content_inner.rb
502
+ - lib/openapi_openai/models/message_object_incomplete_details.rb
503
+ - lib/openapi_openai/models/message_stream_event.rb
504
+ - lib/openapi_openai/models/message_stream_event_one_of.rb
505
+ - lib/openapi_openai/models/message_stream_event_one_of1.rb
506
+ - lib/openapi_openai/models/message_stream_event_one_of2.rb
507
+ - lib/openapi_openai/models/message_stream_event_one_of3.rb
508
+ - lib/openapi_openai/models/message_stream_event_one_of4.rb
199
509
  - lib/openapi_openai/models/model.rb
510
+ - lib/openapi_openai/models/modify_assistant_request.rb
511
+ - lib/openapi_openai/models/modify_message_request.rb
512
+ - lib/openapi_openai/models/modify_run_request.rb
513
+ - lib/openapi_openai/models/modify_thread_request.rb
200
514
  - lib/openapi_openai/models/open_ai_file.rb
515
+ - lib/openapi_openai/models/run_completion_usage.rb
516
+ - lib/openapi_openai/models/run_object.rb
517
+ - lib/openapi_openai/models/run_object_incomplete_details.rb
518
+ - lib/openapi_openai/models/run_object_last_error.rb
519
+ - lib/openapi_openai/models/run_object_required_action.rb
520
+ - lib/openapi_openai/models/run_object_required_action_submit_tool_outputs.rb
521
+ - lib/openapi_openai/models/run_step_completion_usage.rb
522
+ - lib/openapi_openai/models/run_step_delta_object.rb
523
+ - lib/openapi_openai/models/run_step_delta_object_delta.rb
524
+ - lib/openapi_openai/models/run_step_delta_object_delta_step_details.rb
525
+ - lib/openapi_openai/models/run_step_delta_step_details_message_creation_object.rb
526
+ - lib/openapi_openai/models/run_step_delta_step_details_message_creation_object_message_creation.rb
527
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object.rb
528
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter.rb
529
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb
530
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object.rb
531
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_image_object_image.rb
532
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_code_output_logs_object.rb
533
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object.rb
534
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_function_object_function.rb
535
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object.rb
536
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner.rb
537
+ - lib/openapi_openai/models/run_step_delta_step_details_tool_calls_retrieval_object.rb
538
+ - lib/openapi_openai/models/run_step_details_message_creation_object.rb
539
+ - lib/openapi_openai/models/run_step_details_message_creation_object_message_creation.rb
540
+ - lib/openapi_openai/models/run_step_details_tool_calls_code_object.rb
541
+ - lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter.rb
542
+ - lib/openapi_openai/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner.rb
543
+ - lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object.rb
544
+ - lib/openapi_openai/models/run_step_details_tool_calls_code_output_image_object_image.rb
545
+ - lib/openapi_openai/models/run_step_details_tool_calls_code_output_logs_object.rb
546
+ - lib/openapi_openai/models/run_step_details_tool_calls_function_object.rb
547
+ - lib/openapi_openai/models/run_step_details_tool_calls_function_object_function.rb
548
+ - lib/openapi_openai/models/run_step_details_tool_calls_object.rb
549
+ - lib/openapi_openai/models/run_step_details_tool_calls_object_tool_calls_inner.rb
550
+ - lib/openapi_openai/models/run_step_details_tool_calls_retrieval_object.rb
551
+ - lib/openapi_openai/models/run_step_object.rb
552
+ - lib/openapi_openai/models/run_step_object_last_error.rb
553
+ - lib/openapi_openai/models/run_step_object_step_details.rb
554
+ - lib/openapi_openai/models/run_step_stream_event.rb
555
+ - lib/openapi_openai/models/run_step_stream_event_one_of.rb
556
+ - lib/openapi_openai/models/run_step_stream_event_one_of1.rb
557
+ - lib/openapi_openai/models/run_step_stream_event_one_of2.rb
558
+ - lib/openapi_openai/models/run_step_stream_event_one_of3.rb
559
+ - lib/openapi_openai/models/run_step_stream_event_one_of4.rb
560
+ - lib/openapi_openai/models/run_step_stream_event_one_of5.rb
561
+ - lib/openapi_openai/models/run_step_stream_event_one_of6.rb
562
+ - lib/openapi_openai/models/run_stream_event.rb
563
+ - lib/openapi_openai/models/run_stream_event_one_of.rb
564
+ - lib/openapi_openai/models/run_stream_event_one_of1.rb
565
+ - lib/openapi_openai/models/run_stream_event_one_of2.rb
566
+ - lib/openapi_openai/models/run_stream_event_one_of3.rb
567
+ - lib/openapi_openai/models/run_stream_event_one_of4.rb
568
+ - lib/openapi_openai/models/run_stream_event_one_of5.rb
569
+ - lib/openapi_openai/models/run_stream_event_one_of6.rb
570
+ - lib/openapi_openai/models/run_stream_event_one_of7.rb
571
+ - lib/openapi_openai/models/run_stream_event_one_of8.rb
572
+ - lib/openapi_openai/models/run_tool_call_object.rb
573
+ - lib/openapi_openai/models/run_tool_call_object_function.rb
574
+ - lib/openapi_openai/models/submit_tool_outputs_run_request.rb
575
+ - lib/openapi_openai/models/submit_tool_outputs_run_request_tool_outputs_inner.rb
576
+ - lib/openapi_openai/models/thread_object.rb
577
+ - lib/openapi_openai/models/thread_stream_event.rb
578
+ - lib/openapi_openai/models/thread_stream_event_one_of.rb
579
+ - lib/openapi_openai/models/transcription_segment.rb
580
+ - lib/openapi_openai/models/transcription_word.rb
581
+ - lib/openapi_openai/models/truncation_object.rb
201
582
  - lib/openapi_openai/version.rb
202
583
  - openapi_openai.gemspec
203
- - spec/api/open_ai_api_spec.rb
584
+ - spec/api/assistants_api_spec.rb
585
+ - spec/api/audio_api_spec.rb
586
+ - spec/api/chat_api_spec.rb
587
+ - spec/api/completions_api_spec.rb
588
+ - spec/api/embeddings_api_spec.rb
589
+ - spec/api/files_api_spec.rb
590
+ - spec/api/fine_tuning_api_spec.rb
591
+ - spec/api/images_api_spec.rb
592
+ - spec/api/models_api_spec.rb
593
+ - spec/api/moderations_api_spec.rb
594
+ - spec/models/assistant_file_object_spec.rb
595
+ - spec/models/assistant_object_spec.rb
596
+ - spec/models/assistant_object_tools_inner_spec.rb
597
+ - spec/models/assistant_stream_event_spec.rb
598
+ - spec/models/assistant_tools_code_spec.rb
599
+ - spec/models/assistant_tools_function_spec.rb
600
+ - spec/models/assistant_tools_retrieval_spec.rb
601
+ - spec/models/assistants_api_named_tool_choice_spec.rb
602
+ - spec/models/assistants_api_response_format_option_spec.rb
603
+ - spec/models/assistants_api_response_format_spec.rb
604
+ - spec/models/assistants_api_tool_choice_option_spec.rb
605
+ - spec/models/chat_completion_function_call_option_spec.rb
204
606
  - spec/models/chat_completion_functions_spec.rb
205
- - spec/models/chat_completion_request_message_function_call_spec.rb
607
+ - spec/models/chat_completion_message_tool_call_chunk_function_spec.rb
608
+ - spec/models/chat_completion_message_tool_call_chunk_spec.rb
609
+ - spec/models/chat_completion_message_tool_call_function_spec.rb
610
+ - spec/models/chat_completion_message_tool_call_spec.rb
611
+ - spec/models/chat_completion_named_tool_choice_function_spec.rb
612
+ - spec/models/chat_completion_named_tool_choice_spec.rb
613
+ - spec/models/chat_completion_request_assistant_message_function_call_spec.rb
614
+ - spec/models/chat_completion_request_assistant_message_spec.rb
615
+ - spec/models/chat_completion_request_function_message_spec.rb
616
+ - spec/models/chat_completion_request_message_content_part_image_image_url_spec.rb
617
+ - spec/models/chat_completion_request_message_content_part_image_spec.rb
618
+ - spec/models/chat_completion_request_message_content_part_spec.rb
619
+ - spec/models/chat_completion_request_message_content_part_text_spec.rb
206
620
  - spec/models/chat_completion_request_message_spec.rb
621
+ - spec/models/chat_completion_request_system_message_spec.rb
622
+ - spec/models/chat_completion_request_tool_message_spec.rb
623
+ - spec/models/chat_completion_request_user_message_content_spec.rb
624
+ - spec/models/chat_completion_request_user_message_spec.rb
207
625
  - spec/models/chat_completion_response_message_spec.rb
626
+ - spec/models/chat_completion_role_spec.rb
627
+ - spec/models/chat_completion_stream_response_delta_function_call_spec.rb
208
628
  - spec/models/chat_completion_stream_response_delta_spec.rb
209
- - spec/models/create_chat_completion_request_function_call_one_of_spec.rb
629
+ - spec/models/chat_completion_token_logprob_spec.rb
630
+ - spec/models/chat_completion_token_logprob_top_logprobs_inner_spec.rb
631
+ - spec/models/chat_completion_tool_choice_option_spec.rb
632
+ - spec/models/chat_completion_tool_spec.rb
633
+ - spec/models/completion_usage_spec.rb
634
+ - spec/models/create_assistant_file_request_spec.rb
635
+ - spec/models/create_assistant_request_model_spec.rb
636
+ - spec/models/create_assistant_request_spec.rb
637
+ - spec/models/create_chat_completion_function_response_choices_inner_spec.rb
638
+ - spec/models/create_chat_completion_function_response_spec.rb
210
639
  - spec/models/create_chat_completion_request_function_call_spec.rb
211
640
  - spec/models/create_chat_completion_request_model_spec.rb
641
+ - spec/models/create_chat_completion_request_response_format_spec.rb
212
642
  - spec/models/create_chat_completion_request_spec.rb
213
643
  - spec/models/create_chat_completion_request_stop_spec.rb
644
+ - spec/models/create_chat_completion_response_choices_inner_logprobs_spec.rb
214
645
  - spec/models/create_chat_completion_response_choices_inner_spec.rb
215
646
  - spec/models/create_chat_completion_response_spec.rb
216
647
  - spec/models/create_chat_completion_stream_response_choices_inner_spec.rb
@@ -222,20 +653,24 @@ files:
222
653
  - spec/models/create_completion_response_choices_inner_logprobs_spec.rb
223
654
  - spec/models/create_completion_response_choices_inner_spec.rb
224
655
  - spec/models/create_completion_response_spec.rb
225
- - spec/models/create_completion_response_usage_spec.rb
226
- - spec/models/create_edit_request_model_spec.rb
227
- - spec/models/create_edit_request_spec.rb
228
- - spec/models/create_edit_response_choices_inner_spec.rb
229
- - spec/models/create_edit_response_spec.rb
230
656
  - spec/models/create_embedding_request_input_spec.rb
231
657
  - spec/models/create_embedding_request_model_spec.rb
232
658
  - spec/models/create_embedding_request_spec.rb
233
- - spec/models/create_embedding_response_data_inner_spec.rb
234
659
  - spec/models/create_embedding_response_spec.rb
235
660
  - spec/models/create_embedding_response_usage_spec.rb
236
- - spec/models/create_fine_tune_request_model_spec.rb
237
- - spec/models/create_fine_tune_request_spec.rb
661
+ - spec/models/create_fine_tuning_job_request_hyperparameters_batch_size_spec.rb
662
+ - spec/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier_spec.rb
663
+ - spec/models/create_fine_tuning_job_request_hyperparameters_n_epochs_spec.rb
664
+ - spec/models/create_fine_tuning_job_request_hyperparameters_spec.rb
665
+ - spec/models/create_fine_tuning_job_request_integrations_inner_spec.rb
666
+ - spec/models/create_fine_tuning_job_request_integrations_inner_type_spec.rb
667
+ - spec/models/create_fine_tuning_job_request_integrations_inner_wandb_spec.rb
668
+ - spec/models/create_fine_tuning_job_request_model_spec.rb
669
+ - spec/models/create_fine_tuning_job_request_spec.rb
670
+ - spec/models/create_image_edit_request_model_spec.rb
671
+ - spec/models/create_image_request_model_spec.rb
238
672
  - spec/models/create_image_request_spec.rb
673
+ - spec/models/create_message_request_spec.rb
239
674
  - spec/models/create_moderation_request_input_spec.rb
240
675
  - spec/models/create_moderation_request_model_spec.rb
241
676
  - spec/models/create_moderation_request_spec.rb
@@ -243,23 +678,159 @@ files:
243
678
  - spec/models/create_moderation_response_results_inner_category_scores_spec.rb
244
679
  - spec/models/create_moderation_response_results_inner_spec.rb
245
680
  - spec/models/create_moderation_response_spec.rb
681
+ - spec/models/create_run_request_model_spec.rb
682
+ - spec/models/create_run_request_spec.rb
683
+ - spec/models/create_speech_request_model_spec.rb
684
+ - spec/models/create_speech_request_spec.rb
685
+ - spec/models/create_thread_and_run_request_spec.rb
686
+ - spec/models/create_thread_and_run_request_tools_inner_spec.rb
687
+ - spec/models/create_thread_request_spec.rb
688
+ - spec/models/create_transcription200_response_spec.rb
246
689
  - spec/models/create_transcription_request_model_spec.rb
247
- - spec/models/create_transcription_response_spec.rb
248
- - spec/models/create_translation_response_spec.rb
690
+ - spec/models/create_transcription_response_json_spec.rb
691
+ - spec/models/create_transcription_response_verbose_json_spec.rb
692
+ - spec/models/create_translation200_response_spec.rb
693
+ - spec/models/create_translation_response_json_spec.rb
694
+ - spec/models/create_translation_response_verbose_json_spec.rb
695
+ - spec/models/delete_assistant_file_response_spec.rb
696
+ - spec/models/delete_assistant_response_spec.rb
249
697
  - spec/models/delete_file_response_spec.rb
698
+ - spec/models/delete_message_response_spec.rb
250
699
  - spec/models/delete_model_response_spec.rb
700
+ - spec/models/delete_thread_response_spec.rb
701
+ - spec/models/done_event_spec.rb
702
+ - spec/models/embedding_spec.rb
703
+ - spec/models/error_event_spec.rb
251
704
  - spec/models/error_response_spec.rb
252
705
  - spec/models/error_spec.rb
253
- - spec/models/fine_tune_event_spec.rb
254
- - spec/models/fine_tune_spec.rb
255
- - spec/models/images_response_data_inner_spec.rb
706
+ - spec/models/fine_tuning_integration_spec.rb
707
+ - spec/models/fine_tuning_job_checkpoint_metrics_spec.rb
708
+ - spec/models/fine_tuning_job_checkpoint_spec.rb
709
+ - spec/models/fine_tuning_job_error_spec.rb
710
+ - spec/models/fine_tuning_job_event_spec.rb
711
+ - spec/models/fine_tuning_job_hyperparameters_n_epochs_spec.rb
712
+ - spec/models/fine_tuning_job_hyperparameters_spec.rb
713
+ - spec/models/fine_tuning_job_integrations_inner_spec.rb
714
+ - spec/models/fine_tuning_job_spec.rb
715
+ - spec/models/function_object_spec.rb
716
+ - spec/models/image_spec.rb
256
717
  - spec/models/images_response_spec.rb
718
+ - spec/models/list_assistant_files_response_spec.rb
719
+ - spec/models/list_assistants_response_spec.rb
257
720
  - spec/models/list_files_response_spec.rb
258
- - spec/models/list_fine_tune_events_response_spec.rb
259
- - spec/models/list_fine_tunes_response_spec.rb
721
+ - spec/models/list_fine_tuning_job_checkpoints_response_spec.rb
722
+ - spec/models/list_fine_tuning_job_events_response_spec.rb
723
+ - spec/models/list_message_files_response_spec.rb
724
+ - spec/models/list_messages_response_spec.rb
260
725
  - spec/models/list_models_response_spec.rb
726
+ - spec/models/list_paginated_fine_tuning_jobs_response_spec.rb
727
+ - spec/models/list_run_steps_response_spec.rb
728
+ - spec/models/list_runs_response_spec.rb
729
+ - spec/models/list_threads_response_spec.rb
730
+ - spec/models/message_content_image_file_object_image_file_spec.rb
731
+ - spec/models/message_content_image_file_object_spec.rb
732
+ - spec/models/message_content_text_annotations_file_citation_object_file_citation_spec.rb
733
+ - spec/models/message_content_text_annotations_file_citation_object_spec.rb
734
+ - spec/models/message_content_text_annotations_file_path_object_file_path_spec.rb
735
+ - spec/models/message_content_text_annotations_file_path_object_spec.rb
736
+ - spec/models/message_content_text_object_spec.rb
737
+ - spec/models/message_content_text_object_text_annotations_inner_spec.rb
738
+ - spec/models/message_content_text_object_text_spec.rb
739
+ - spec/models/message_delta_content_image_file_object_image_file_spec.rb
740
+ - spec/models/message_delta_content_image_file_object_spec.rb
741
+ - spec/models/message_delta_content_text_annotations_file_citation_object_file_citation_spec.rb
742
+ - spec/models/message_delta_content_text_annotations_file_citation_object_spec.rb
743
+ - spec/models/message_delta_content_text_annotations_file_path_object_file_path_spec.rb
744
+ - spec/models/message_delta_content_text_annotations_file_path_object_spec.rb
745
+ - spec/models/message_delta_content_text_object_spec.rb
746
+ - spec/models/message_delta_content_text_object_text_annotations_inner_spec.rb
747
+ - spec/models/message_delta_content_text_object_text_spec.rb
748
+ - spec/models/message_delta_object_delta_content_inner_spec.rb
749
+ - spec/models/message_delta_object_delta_spec.rb
750
+ - spec/models/message_delta_object_spec.rb
751
+ - spec/models/message_file_object_spec.rb
752
+ - spec/models/message_object_content_inner_spec.rb
753
+ - spec/models/message_object_incomplete_details_spec.rb
754
+ - spec/models/message_object_spec.rb
755
+ - spec/models/message_stream_event_one_of1_spec.rb
756
+ - spec/models/message_stream_event_one_of2_spec.rb
757
+ - spec/models/message_stream_event_one_of3_spec.rb
758
+ - spec/models/message_stream_event_one_of4_spec.rb
759
+ - spec/models/message_stream_event_one_of_spec.rb
760
+ - spec/models/message_stream_event_spec.rb
261
761
  - spec/models/model_spec.rb
762
+ - spec/models/modify_assistant_request_spec.rb
763
+ - spec/models/modify_message_request_spec.rb
764
+ - spec/models/modify_run_request_spec.rb
765
+ - spec/models/modify_thread_request_spec.rb
262
766
  - spec/models/open_ai_file_spec.rb
767
+ - spec/models/run_completion_usage_spec.rb
768
+ - spec/models/run_object_incomplete_details_spec.rb
769
+ - spec/models/run_object_last_error_spec.rb
770
+ - spec/models/run_object_required_action_spec.rb
771
+ - spec/models/run_object_required_action_submit_tool_outputs_spec.rb
772
+ - spec/models/run_object_spec.rb
773
+ - spec/models/run_step_completion_usage_spec.rb
774
+ - spec/models/run_step_delta_object_delta_spec.rb
775
+ - spec/models/run_step_delta_object_delta_step_details_spec.rb
776
+ - spec/models/run_step_delta_object_spec.rb
777
+ - spec/models/run_step_delta_step_details_message_creation_object_message_creation_spec.rb
778
+ - spec/models/run_step_delta_step_details_message_creation_object_spec.rb
779
+ - spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb
780
+ - spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_spec.rb
781
+ - spec/models/run_step_delta_step_details_tool_calls_code_object_spec.rb
782
+ - spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_image_spec.rb
783
+ - spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_spec.rb
784
+ - spec/models/run_step_delta_step_details_tool_calls_code_output_logs_object_spec.rb
785
+ - spec/models/run_step_delta_step_details_tool_calls_function_object_function_spec.rb
786
+ - spec/models/run_step_delta_step_details_tool_calls_function_object_spec.rb
787
+ - spec/models/run_step_delta_step_details_tool_calls_object_spec.rb
788
+ - spec/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner_spec.rb
789
+ - spec/models/run_step_delta_step_details_tool_calls_retrieval_object_spec.rb
790
+ - spec/models/run_step_details_message_creation_object_message_creation_spec.rb
791
+ - spec/models/run_step_details_message_creation_object_spec.rb
792
+ - spec/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb
793
+ - spec/models/run_step_details_tool_calls_code_object_code_interpreter_spec.rb
794
+ - spec/models/run_step_details_tool_calls_code_object_spec.rb
795
+ - spec/models/run_step_details_tool_calls_code_output_image_object_image_spec.rb
796
+ - spec/models/run_step_details_tool_calls_code_output_image_object_spec.rb
797
+ - spec/models/run_step_details_tool_calls_code_output_logs_object_spec.rb
798
+ - spec/models/run_step_details_tool_calls_function_object_function_spec.rb
799
+ - spec/models/run_step_details_tool_calls_function_object_spec.rb
800
+ - spec/models/run_step_details_tool_calls_object_spec.rb
801
+ - spec/models/run_step_details_tool_calls_object_tool_calls_inner_spec.rb
802
+ - spec/models/run_step_details_tool_calls_retrieval_object_spec.rb
803
+ - spec/models/run_step_object_last_error_spec.rb
804
+ - spec/models/run_step_object_spec.rb
805
+ - spec/models/run_step_object_step_details_spec.rb
806
+ - spec/models/run_step_stream_event_one_of1_spec.rb
807
+ - spec/models/run_step_stream_event_one_of2_spec.rb
808
+ - spec/models/run_step_stream_event_one_of3_spec.rb
809
+ - spec/models/run_step_stream_event_one_of4_spec.rb
810
+ - spec/models/run_step_stream_event_one_of5_spec.rb
811
+ - spec/models/run_step_stream_event_one_of6_spec.rb
812
+ - spec/models/run_step_stream_event_one_of_spec.rb
813
+ - spec/models/run_step_stream_event_spec.rb
814
+ - spec/models/run_stream_event_one_of1_spec.rb
815
+ - spec/models/run_stream_event_one_of2_spec.rb
816
+ - spec/models/run_stream_event_one_of3_spec.rb
817
+ - spec/models/run_stream_event_one_of4_spec.rb
818
+ - spec/models/run_stream_event_one_of5_spec.rb
819
+ - spec/models/run_stream_event_one_of6_spec.rb
820
+ - spec/models/run_stream_event_one_of7_spec.rb
821
+ - spec/models/run_stream_event_one_of8_spec.rb
822
+ - spec/models/run_stream_event_one_of_spec.rb
823
+ - spec/models/run_stream_event_spec.rb
824
+ - spec/models/run_tool_call_object_function_spec.rb
825
+ - spec/models/run_tool_call_object_spec.rb
826
+ - spec/models/submit_tool_outputs_run_request_spec.rb
827
+ - spec/models/submit_tool_outputs_run_request_tool_outputs_inner_spec.rb
828
+ - spec/models/thread_object_spec.rb
829
+ - spec/models/thread_stream_event_one_of_spec.rb
830
+ - spec/models/thread_stream_event_spec.rb
831
+ - spec/models/transcription_segment_spec.rb
832
+ - spec/models/transcription_word_spec.rb
833
+ - spec/models/truncation_object_spec.rb
263
834
  - spec/spec_helper.rb
264
835
  homepage: https://github.com/oapicf/openapi-openai
265
836
  licenses:
@@ -285,64 +856,254 @@ signing_key:
285
856
  specification_version: 4
286
857
  summary: OpenAI API Ruby Gem
287
858
  test_files:
288
- - spec/api/open_ai_api_spec.rb
289
- - spec/models/images_response_spec.rb
290
- - spec/models/create_edit_request_spec.rb
291
- - spec/models/chat_completion_request_message_spec.rb
292
- - spec/models/create_fine_tune_request_model_spec.rb
293
- - spec/models/fine_tune_event_spec.rb
294
- - spec/models/create_embedding_response_usage_spec.rb
295
- - spec/models/create_moderation_response_results_inner_spec.rb
296
- - spec/models/create_transcription_response_spec.rb
297
- - spec/models/create_embedding_response_data_inner_spec.rb
298
- - spec/models/create_chat_completion_request_stop_spec.rb
299
- - spec/models/create_edit_request_model_spec.rb
859
+ - spec/api/embeddings_api_spec.rb
860
+ - spec/api/audio_api_spec.rb
861
+ - spec/api/files_api_spec.rb
862
+ - spec/api/moderations_api_spec.rb
863
+ - spec/api/assistants_api_spec.rb
864
+ - spec/api/models_api_spec.rb
865
+ - spec/api/images_api_spec.rb
866
+ - spec/api/fine_tuning_api_spec.rb
867
+ - spec/api/chat_api_spec.rb
868
+ - spec/api/completions_api_spec.rb
869
+ - spec/models/create_translation200_response_spec.rb
870
+ - spec/models/fine_tuning_job_error_spec.rb
871
+ - spec/models/message_content_image_file_object_spec.rb
872
+ - spec/models/assistants_api_tool_choice_option_spec.rb
873
+ - spec/models/run_step_stream_event_one_of5_spec.rb
874
+ - spec/models/modify_thread_request_spec.rb
875
+ - spec/models/message_delta_content_text_object_spec.rb
876
+ - spec/models/run_step_details_tool_calls_function_object_spec.rb
877
+ - spec/models/fine_tuning_integration_spec.rb
878
+ - spec/models/chat_completion_response_message_spec.rb
879
+ - spec/models/delete_assistant_file_response_spec.rb
880
+ - spec/models/run_step_delta_step_details_message_creation_object_spec.rb
881
+ - spec/models/create_chat_completion_request_model_spec.rb
882
+ - spec/models/message_object_spec.rb
883
+ - spec/models/message_content_image_file_object_image_file_spec.rb
884
+ - spec/models/delete_assistant_response_spec.rb
885
+ - spec/models/run_step_stream_event_spec.rb
886
+ - spec/models/run_step_details_tool_calls_code_object_code_interpreter_spec.rb
887
+ - spec/models/run_step_delta_step_details_tool_calls_function_object_spec.rb
888
+ - spec/models/run_step_object_last_error_spec.rb
889
+ - spec/models/list_threads_response_spec.rb
890
+ - spec/models/run_step_delta_step_details_tool_calls_function_object_function_spec.rb
891
+ - spec/models/assistant_tools_retrieval_spec.rb
892
+ - spec/models/create_chat_completion_response_choices_inner_spec.rb
893
+ - spec/models/message_delta_object_delta_spec.rb
894
+ - spec/models/create_fine_tuning_job_request_model_spec.rb
895
+ - spec/models/list_paginated_fine_tuning_jobs_response_spec.rb
896
+ - spec/models/assistants_api_response_format_spec.rb
897
+ - spec/models/run_step_details_tool_calls_code_object_spec.rb
898
+ - spec/models/run_step_stream_event_one_of3_spec.rb
899
+ - spec/models/create_thread_and_run_request_spec.rb
900
+ - spec/models/create_chat_completion_request_function_call_spec.rb
901
+ - spec/models/message_delta_content_image_file_object_image_file_spec.rb
902
+ - spec/models/run_step_stream_event_one_of2_spec.rb
903
+ - spec/models/list_models_response_spec.rb
300
904
  - spec/models/create_completion_request_prompt_spec.rb
301
- - spec/models/open_ai_file_spec.rb
302
- - spec/models/error_spec.rb
905
+ - spec/models/message_stream_event_one_of1_spec.rb
906
+ - spec/models/chat_completion_message_tool_call_chunk_spec.rb
907
+ - spec/models/fine_tuning_job_hyperparameters_n_epochs_spec.rb
303
908
  - spec/models/list_files_response_spec.rb
304
- - spec/models/error_response_spec.rb
305
- - spec/models/list_fine_tune_events_response_spec.rb
306
- - spec/models/create_moderation_response_results_inner_categories_spec.rb
307
- - spec/models/create_chat_completion_request_model_spec.rb
308
- - spec/models/create_embedding_request_model_spec.rb
909
+ - spec/models/run_step_details_tool_calls_object_spec.rb
309
910
  - spec/models/create_moderation_response_spec.rb
911
+ - spec/models/fine_tuning_job_hyperparameters_spec.rb
912
+ - spec/models/create_translation_response_verbose_json_spec.rb
913
+ - spec/models/create_embedding_response_spec.rb
914
+ - spec/models/embedding_spec.rb
915
+ - spec/models/create_fine_tuning_job_request_integrations_inner_wandb_spec.rb
916
+ - spec/models/modify_message_request_spec.rb
917
+ - spec/models/create_thread_and_run_request_tools_inner_spec.rb
918
+ - spec/models/run_step_completion_usage_spec.rb
919
+ - spec/models/assistants_api_named_tool_choice_spec.rb
920
+ - spec/models/chat_completion_functions_spec.rb
921
+ - spec/models/run_step_delta_step_details_message_creation_object_message_creation_spec.rb
922
+ - spec/models/thread_stream_event_one_of_spec.rb
923
+ - spec/models/create_image_edit_request_model_spec.rb
924
+ - spec/models/create_chat_completion_stream_response_spec.rb
925
+ - spec/models/create_image_request_model_spec.rb
926
+ - spec/models/open_ai_file_spec.rb
927
+ - spec/models/run_object_required_action_submit_tool_outputs_spec.rb
928
+ - spec/models/modify_assistant_request_spec.rb
929
+ - spec/models/run_step_stream_event_one_of4_spec.rb
930
+ - spec/models/chat_completion_request_assistant_message_function_call_spec.rb
931
+ - spec/models/run_object_incomplete_details_spec.rb
932
+ - spec/models/run_step_delta_step_details_tool_calls_code_object_spec.rb
933
+ - spec/models/run_step_details_tool_calls_code_output_image_object_spec.rb
934
+ - spec/models/list_runs_response_spec.rb
935
+ - spec/models/chat_completion_request_message_spec.rb
936
+ - spec/models/run_tool_call_object_function_spec.rb
937
+ - spec/models/images_response_spec.rb
938
+ - spec/models/chat_completion_tool_spec.rb
939
+ - spec/models/error_spec.rb
940
+ - spec/models/message_stream_event_one_of2_spec.rb
941
+ - spec/models/create_moderation_request_spec.rb
942
+ - spec/models/chat_completion_stream_response_delta_spec.rb
943
+ - spec/models/done_event_spec.rb
944
+ - spec/models/message_file_object_spec.rb
945
+ - spec/models/run_stream_event_one_of_spec.rb
946
+ - spec/models/fine_tuning_job_event_spec.rb
947
+ - spec/models/run_step_delta_step_details_tool_calls_retrieval_object_spec.rb
948
+ - spec/models/run_step_details_tool_calls_retrieval_object_spec.rb
949
+ - spec/models/fine_tuning_job_checkpoint_metrics_spec.rb
950
+ - spec/models/chat_completion_request_function_message_spec.rb
951
+ - spec/models/message_delta_content_text_annotations_file_citation_object_file_citation_spec.rb
952
+ - spec/models/chat_completion_request_message_content_part_image_image_url_spec.rb
953
+ - spec/models/message_content_text_annotations_file_path_object_spec.rb
954
+ - spec/models/thread_object_spec.rb
955
+ - spec/models/create_translation_response_json_spec.rb
956
+ - spec/models/create_chat_completion_response_choices_inner_logprobs_spec.rb
957
+ - spec/models/create_fine_tuning_job_request_hyperparameters_n_epochs_spec.rb
958
+ - spec/models/create_embedding_request_spec.rb
959
+ - spec/models/delete_thread_response_spec.rb
960
+ - spec/models/chat_completion_token_logprob_spec.rb
961
+ - spec/models/create_completion_request_model_spec.rb
962
+ - spec/models/run_stream_event_one_of7_spec.rb
963
+ - spec/models/message_content_text_object_text_annotations_inner_spec.rb
964
+ - spec/models/create_transcription_request_model_spec.rb
965
+ - spec/models/chat_completion_request_message_content_part_image_spec.rb
966
+ - spec/models/run_stream_event_one_of6_spec.rb
967
+ - spec/models/chat_completion_message_tool_call_chunk_function_spec.rb
968
+ - spec/models/create_chat_completion_request_stop_spec.rb
969
+ - spec/models/chat_completion_request_message_content_part_text_spec.rb
970
+ - spec/models/run_step_details_message_creation_object_message_creation_spec.rb
971
+ - spec/models/chat_completion_request_message_content_part_spec.rb
972
+ - spec/models/message_delta_content_text_object_text_annotations_inner_spec.rb
973
+ - spec/models/run_tool_call_object_spec.rb
974
+ - spec/models/run_stream_event_one_of1_spec.rb
975
+ - spec/models/run_step_details_message_creation_object_spec.rb
976
+ - spec/models/chat_completion_tool_choice_option_spec.rb
977
+ - spec/models/chat_completion_message_tool_call_spec.rb
978
+ - spec/models/fine_tuning_job_checkpoint_spec.rb
979
+ - spec/models/run_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb
980
+ - spec/models/assistant_stream_event_spec.rb
981
+ - spec/models/assistant_file_object_spec.rb
982
+ - spec/models/run_stream_event_spec.rb
983
+ - spec/models/create_message_request_spec.rb
310
984
  - spec/models/delete_file_response_spec.rb
311
- - spec/models/create_translation_response_spec.rb
985
+ - spec/models/message_stream_event_spec.rb
986
+ - spec/models/message_delta_content_text_annotations_file_citation_object_spec.rb
987
+ - spec/models/message_content_text_annotations_file_path_object_file_path_spec.rb
988
+ - spec/models/assistant_tools_code_spec.rb
989
+ - spec/models/create_assistant_file_request_spec.rb
990
+ - spec/models/model_spec.rb
991
+ - spec/models/chat_completion_request_assistant_message_spec.rb
992
+ - spec/models/run_stream_event_one_of2_spec.rb
993
+ - spec/models/create_fine_tuning_job_request_hyperparameters_spec.rb
994
+ - spec/models/create_run_request_model_spec.rb
995
+ - spec/models/create_assistant_request_model_spec.rb
996
+ - spec/models/create_moderation_response_results_inner_category_scores_spec.rb
997
+ - spec/models/create_speech_request_spec.rb
998
+ - spec/models/run_step_delta_step_details_tool_calls_object_tool_calls_inner_spec.rb
312
999
  - spec/models/create_chat_completion_response_spec.rb
1000
+ - spec/models/completion_usage_spec.rb
1001
+ - spec/models/chat_completion_role_spec.rb
1002
+ - spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_spec.rb
1003
+ - spec/models/fine_tuning_job_spec.rb
1004
+ - spec/models/create_thread_request_spec.rb
1005
+ - spec/models/chat_completion_request_user_message_spec.rb
1006
+ - spec/models/create_chat_completion_request_response_format_spec.rb
1007
+ - spec/models/function_object_spec.rb
1008
+ - spec/models/create_transcription_response_json_spec.rb
1009
+ - spec/models/assistant_object_tools_inner_spec.rb
1010
+ - spec/models/create_transcription200_response_spec.rb
1011
+ - spec/models/list_run_steps_response_spec.rb
1012
+ - spec/models/message_stream_event_one_of3_spec.rb
1013
+ - spec/models/run_step_details_tool_calls_code_output_logs_object_spec.rb
1014
+ - spec/models/create_speech_request_model_spec.rb
1015
+ - spec/models/modify_run_request_spec.rb
1016
+ - spec/models/run_step_stream_event_one_of1_spec.rb
1017
+ - spec/models/run_object_required_action_spec.rb
313
1018
  - spec/models/create_moderation_request_input_spec.rb
314
- - spec/models/list_models_response_spec.rb
315
- - spec/models/create_image_request_spec.rb
316
- - spec/models/create_chat_completion_response_choices_inner_spec.rb
317
- - spec/models/create_transcription_request_model_spec.rb
1019
+ - spec/models/run_step_stream_event_one_of_spec.rb
1020
+ - spec/models/create_chat_completion_request_spec.rb
1021
+ - spec/models/transcription_segment_spec.rb
1022
+ - spec/models/message_object_content_inner_spec.rb
1023
+ - spec/models/message_delta_content_text_annotations_file_path_object_file_path_spec.rb
1024
+ - spec/models/create_transcription_response_verbose_json_spec.rb
1025
+ - spec/models/create_fine_tuning_job_request_spec.rb
1026
+ - spec/models/create_embedding_request_input_spec.rb
1027
+ - spec/models/list_fine_tuning_job_checkpoints_response_spec.rb
1028
+ - spec/models/list_message_files_response_spec.rb
1029
+ - spec/models/chat_completion_message_tool_call_function_spec.rb
1030
+ - spec/models/chat_completion_token_logprob_top_logprobs_inner_spec.rb
1031
+ - spec/models/run_step_delta_step_details_tool_calls_object_spec.rb
1032
+ - spec/models/run_object_last_error_spec.rb
1033
+ - spec/models/submit_tool_outputs_run_request_spec.rb
1034
+ - spec/models/run_step_object_step_details_spec.rb
318
1035
  - spec/models/create_completion_response_choices_inner_spec.rb
319
- - spec/models/create_chat_completion_stream_response_choices_inner_spec.rb
320
- - spec/models/create_completion_request_model_spec.rb
321
- - spec/models/create_edit_response_choices_inner_spec.rb
322
- - spec/models/list_fine_tunes_response_spec.rb
323
- - spec/models/create_completion_response_spec.rb
324
- - spec/models/create_moderation_response_results_inner_category_scores_spec.rb
325
- - spec/models/create_completion_request_stop_spec.rb
326
- - spec/models/chat_completion_functions_spec.rb
327
- - spec/models/model_spec.rb
1036
+ - spec/models/run_step_stream_event_one_of6_spec.rb
1037
+ - spec/models/run_step_details_tool_calls_object_tool_calls_inner_spec.rb
328
1038
  - spec/models/create_completion_request_spec.rb
329
- - spec/models/fine_tune_spec.rb
330
- - spec/models/create_embedding_request_spec.rb
1039
+ - spec/models/create_chat_completion_function_response_choices_inner_spec.rb
1040
+ - spec/models/run_step_delta_object_spec.rb
1041
+ - spec/models/run_step_object_spec.rb
1042
+ - spec/models/run_stream_event_one_of4_spec.rb
1043
+ - spec/models/create_assistant_request_spec.rb
1044
+ - spec/models/list_assistant_files_response_spec.rb
1045
+ - spec/models/list_fine_tuning_job_events_response_spec.rb
1046
+ - spec/models/create_image_request_spec.rb
1047
+ - spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_spec.rb
1048
+ - spec/models/run_stream_event_one_of5_spec.rb
1049
+ - spec/models/error_event_spec.rb
1050
+ - spec/models/list_messages_response_spec.rb
1051
+ - spec/models/run_step_delta_step_details_tool_calls_code_output_logs_object_spec.rb
1052
+ - spec/models/message_stream_event_one_of4_spec.rb
1053
+ - spec/models/run_completion_usage_spec.rb
1054
+ - spec/models/message_delta_content_text_object_text_spec.rb
1055
+ - spec/models/run_step_delta_object_delta_spec.rb
1056
+ - spec/models/run_object_spec.rb
1057
+ - spec/models/create_fine_tuning_job_request_hyperparameters_learning_rate_multiplier_spec.rb
1058
+ - spec/models/create_chat_completion_function_response_spec.rb
1059
+ - spec/models/chat_completion_stream_response_delta_function_call_spec.rb
1060
+ - spec/models/error_response_spec.rb
1061
+ - spec/models/create_chat_completion_stream_response_choices_inner_spec.rb
1062
+ - spec/models/message_delta_object_spec.rb
1063
+ - spec/models/truncation_object_spec.rb
1064
+ - spec/models/run_step_details_tool_calls_code_output_image_object_image_spec.rb
1065
+ - spec/models/create_moderation_response_results_inner_spec.rb
1066
+ - spec/models/message_content_text_annotations_file_citation_object_file_citation_spec.rb
1067
+ - spec/models/chat_completion_request_user_message_content_spec.rb
1068
+ - spec/models/create_embedding_response_usage_spec.rb
1069
+ - spec/models/message_delta_object_delta_content_inner_spec.rb
331
1070
  - spec/models/create_completion_response_choices_inner_logprobs_spec.rb
332
- - spec/models/create_moderation_request_spec.rb
333
- - spec/models/create_chat_completion_request_function_call_one_of_spec.rb
334
- - spec/models/chat_completion_response_message_spec.rb
335
- - spec/models/images_response_data_inner_spec.rb
336
- - spec/models/create_completion_response_usage_spec.rb
1071
+ - spec/models/chat_completion_named_tool_choice_spec.rb
1072
+ - spec/models/create_run_request_spec.rb
1073
+ - spec/models/run_step_delta_step_details_tool_calls_code_output_image_object_image_spec.rb
1074
+ - spec/models/assistant_tools_function_spec.rb
1075
+ - spec/models/message_object_incomplete_details_spec.rb
1076
+ - spec/models/create_moderation_response_results_inner_categories_spec.rb
1077
+ - spec/models/run_step_delta_object_delta_step_details_spec.rb
1078
+ - spec/models/thread_stream_event_spec.rb
1079
+ - spec/models/run_step_delta_step_details_tool_calls_code_object_code_interpreter_outputs_inner_spec.rb
1080
+ - spec/models/message_content_text_object_text_spec.rb
1081
+ - spec/models/transcription_word_spec.rb
1082
+ - spec/models/assistant_object_spec.rb
1083
+ - spec/models/create_fine_tuning_job_request_integrations_inner_type_spec.rb
337
1084
  - spec/models/create_moderation_request_model_spec.rb
338
- - spec/models/create_embedding_response_spec.rb
339
- - spec/models/create_edit_response_spec.rb
340
- - spec/models/chat_completion_request_message_function_call_spec.rb
1085
+ - spec/models/assistants_api_response_format_option_spec.rb
1086
+ - spec/models/message_stream_event_one_of_spec.rb
1087
+ - spec/models/run_step_details_tool_calls_function_object_function_spec.rb
1088
+ - spec/models/submit_tool_outputs_run_request_tool_outputs_inner_spec.rb
1089
+ - spec/models/create_fine_tuning_job_request_hyperparameters_batch_size_spec.rb
1090
+ - spec/models/chat_completion_function_call_option_spec.rb
1091
+ - spec/models/run_stream_event_one_of3_spec.rb
1092
+ - spec/models/list_assistants_response_spec.rb
1093
+ - spec/models/message_content_text_object_spec.rb
1094
+ - spec/models/create_completion_request_stop_spec.rb
1095
+ - spec/models/fine_tuning_job_integrations_inner_spec.rb
1096
+ - spec/models/chat_completion_request_system_message_spec.rb
1097
+ - spec/models/run_stream_event_one_of8_spec.rb
1098
+ - spec/models/create_completion_response_spec.rb
1099
+ - spec/models/create_embedding_request_model_spec.rb
1100
+ - spec/models/delete_message_response_spec.rb
341
1101
  - spec/models/delete_model_response_spec.rb
342
- - spec/models/create_fine_tune_request_spec.rb
343
- - spec/models/create_embedding_request_input_spec.rb
344
- - spec/models/create_chat_completion_request_function_call_spec.rb
345
- - spec/models/create_chat_completion_request_spec.rb
346
- - spec/models/create_chat_completion_stream_response_spec.rb
347
- - spec/models/chat_completion_stream_response_delta_spec.rb
1102
+ - spec/models/chat_completion_request_tool_message_spec.rb
1103
+ - spec/models/create_fine_tuning_job_request_integrations_inner_spec.rb
1104
+ - spec/models/message_delta_content_text_annotations_file_path_object_spec.rb
1105
+ - spec/models/message_delta_content_image_file_object_spec.rb
1106
+ - spec/models/chat_completion_named_tool_choice_function_spec.rb
1107
+ - spec/models/image_spec.rb
1108
+ - spec/models/message_content_text_annotations_file_citation_object_spec.rb
348
1109
  - spec/spec_helper.rb