Closed ggrossman closed 4 weeks ago
Please see pull request: https://github.com/deepgram/deepgram-python-sdk/pull/475
Documentation has been updated to use custom_options
and addons
, so closing this issue
Link for those that are interested: https://developers.deepgram.com/docs/the-deepgram-model-improvement-partnership-program#want-to-opt-out
What is the current behavior?
The Model Improvement Program documentation says that to opt out of the Model Improvement Program using the Deepgram Python SDK, you can add
mip_opt_out: true
to thePrerecordedOptions
:The sample appears to have a syntax error; it should read
mip_opt_out=True
. Perhaps copy and pasted from Javascript?But even with that fixed, it fails with an error because
mip_opt_out
is not expected as a keyword argument.Steps to reproduce
Attempt to run the above code sample. (The code sample also needs to be fixed to use proper Python syntax.)
Expected behavior
mip_opt_out
is part of the Deepgram API and should be accepted by the Python SDK.Please tell us about your environment
macOS Sequoia 15.0.1, Python 3.12.4
Other information