You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model:
description: ID of the model to use. You can use the `text-davinci-edit-001` or `code-davinci-edit-001` model with this endpoint.type: stringexample: "text-davinci-edit-001"anyOf:
- type: string
- type: stringenum: ["text-davinci-edit-001","code-davinci-edit-001"]
This example also have an additional type: string and breaks RicoSuter/NSwag
Could it be changed to:
model:
description: ID of the model to use. You can use the `text-davinci-edit-001` or `code-davinci-edit-001` model with this endpoint.example: "text-davinci-edit-001"type: stringenum: ["text-davinci-edit-001","code-davinci-edit-001"]
without breaking compatibles with other language client generators?
The text was updated successfully, but these errors were encountered:
bobend
added a commit
to drdk/openai-openapi
that referenced
this issue
Jul 6, 2023
The anyOf type is done on purpose – customers sometimes need to pass fine-tuned models into the SDKs which are arbitrary strings, but we also want to provide autocomplete suggestions for publicly documented models. The SDK generator will need to be updated to support this.
Fx:
This example also have an additional
type: string
and breaks RicoSuter/NSwagCould it be changed to:
without breaking compatibles with other language client generators?
The text was updated successfully, but these errors were encountered: