openai-openapi
openai-openapi copied to clipboard
OpenAPI specification for the OpenAI API
In the finetuning job description https://platform.openai.com/docs/api-reference/fine-tuning/object there is a required hyperparameter with n_epochs, but in the example and at runtime the other hyperparameters are also returned. This document should match...
### Pull Request Title: Enhance OpenAI API Specification with Interactive Documentation and Examples ### Pull Request Description: **Overview:** This pull request introduces significant enhancements to the OpenAI API specification project...
It appears that the `BatchRequestOutput` object's `error` is missing properties and in an error response, that the actual `error` contents are nested under the `body` property. The spec shows that...
Coming from user PR https://github.com/openai/openai-python/pull/1570
The 'logprobs' property isn't present gpt-4.5-preview responses, but is marked as required in CreateChatCompletionResponse. This is causing issues when using this model where schema validation is performed on the response,...
When I call the embeddings API with `encoding_format=base64`, the `embedding` field of the response item is a string. ```shell curl -v https://api.openai.com/v1/embeddings \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -H "Content-Type:...
not just yaml.. thanks
The OpenAPI specification defines the following type: ```yaml UsageCodeInterpreterSessionsResult: type: object description: The aggregated code interpreter sessions usage details of the specific time bucket. properties: object: type: string enum: -...
The following exists in the openapi schema: ```yaml response_format: allOf: - $ref: "#/components/schemas/AssistantsApiResponseFormatOption" - nullable: true ``` Which means merging the schemas in the list (detailed [here](https://json-schema.org/understanding-json-schema/reference/combining#allOf)). In `AssistantsApiResponseFormatOption`: ```yaml...
Add an SPDX identifier in the license object of the specification. https://spec.openapis.org/oas/latest.html#fixed-fields-2