openai-openapi
openai-openapi copied to clipboard
OpenAPI specification for the OpenAI API
Fixed issue #134
`RunObject.expires_at` can be null (e.g. when the run is `completed`). Example: ```json { "id": "run_soD0ciq9WNNZ2FL6zDlcur7b", "object": "thread.run", "created_at": 1703355405, "assistant_id": "asst_uzsXn9NW5FURQq4qU8Byqr0T", "thread_id": "thread_rhvsVlbAf00zQ9DgMTfZE7BS", "status": "completed", "started_at": 1703355405, "expires_at": null, "cancelled_at":...
Essentially, it takes the same options as `transcribe`, as done in #58. Ref in docs: https://platform.openai.com/docs/api-reference/audio/createTranslation#audio-createtranslation-response_format Ref in transcriptions: https://github.com/openai/openai-openapi/blob/23a4b18b65bb7b002894bae1084d99134b2897e3/openapi.yaml#L7271-L7281
Resolves #118.
Currently, the [completion object](https://platform.openai.com/docs/api-reference/completions/object) is used for both streamed and non-streamed modes. However, there's a subtle difference between the two modes: when using streaming `finish_reason` is `null` until the last...
> Use "assistants" for [Assistants](/docs/api-reference/assistants) and [Message](/docs/api-reference/messages) files, "vision" for Assistants image file inputs, The purpose documentation says "vision" is a valid purpose, but the spec does not include it:...