openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

duration type in TranscriptionVerbose

Open viewee-ohm opened this issue 1 year ago • 0 comments

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • [X] This is an issue with the Python library

Describe the bug

image

in pyantic model duration is set to str

but the example in api it returns float type

To Reproduce

openai_client.audio.transcriptions.create

Code snippets

No response

OS

macOS

Python version

Python 3.10.15

Library version

1.51.0

viewee-ohm avatar Oct 09 '24 08:10 viewee-ohm