Yes, you can use the smart_format parameter with the WebSocket API to implement smart formatting in your application. This parameter can be included in the WebSocket URL when establishing a connection.
Here is an example of how to use it in JavaScript:
const socket = new WebSocket('wss://api.deepgram.com/v1/listen?smart_format=true&model=nova-2-ea', ['token', 'xxxxxxx']);
In the above example, smart_format=true is used to enable smart formatting. The model parameter is also used to specify the model to be used for transcription.
Please note that the smart_format parameter does punctuation and paragraphs for you, so you shouldn't need to use both the smart_format and paragraph and punctuation options in this request source (https://github.com/orgs/deepgram/discussions/635).
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: