Thank you for providing the specific error message you're encountering. This error is related to the use of the 'tier' parameter, which is actually deprecated in the current Deepgram API. Let me explain the issue and provide a solution based on the information from our knowledge sources.
The error you're seeing, "Invalid 'tier' value of 'nova-3'," indicates that you're using an outdated method to specify the model in your API request. According to the Tier (Deprecated) documentation:
Deprecation warning. Please use the model syntax outlined in the Models & Languages Overview.
This means that instead of using the 'tier' parameter, you should be using the 'model' parameter directly. Here's how you can correct this:
Instead of using:
tier=nova-3
You should use:
model=nova-3
For example, your API request URL should look like this:
<https://api.deepgram.com/v1/listen?model=nova-3&language=en&smart_format=true...>
This change aligns with the current Deepgram API structure as described in the Models & Languages Overview documentation. The nova-3 model is specifically mentioned there:
<https://api.deepgram.com/v1/listen?model=nova-3>
By making this adjustment, you should be able to resolve the 'dg-error' you're experiencing. Remember to update any other instances in your code where you might be using the 'tier' parameter for specifying models.
If you continue to experience issues after making this change, please don't hesitate to ask for further assistance.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: