- Notifications
You must be signed in to change notification settings - Fork468
Description
Two orthogonal but related comments:
Originally from@SBrandeis in#1291 (comment) (+see#1291 (comment))
More general remark: the types for stand-alone methods (automaticSpeechRecognition) have a correct typing, while methods on the InferenceClient class (client.automaticSpeechRecognition) do not
Until this is fixed, I would advocate to use the stand-alone functions for better user experience
Originally from@SBrandeis in#1291 (comment)
Maybe let's add an import statement for this
Side note: I think thefs
API is only available in a NodeJS context 😅
The equivalent in the Browser is theFile Reader API
I think it's fine if the snippets are only compatible with Node, for simplicity - thoughts@julien-c@coyotte508 ?
Let's be sure we align with Python client as well.