deepgram / deepgram-go-sdk

Go SDK for Deepgram's automated speech recognition APIs.
https://developers.deepgram.com
MIT License
31 stars 27 forks source link

Wrong type for `endpointing` param #236

Closed deepankarm closed 3 months ago

deepankarm commented 3 months ago

Shouldn't endpointing be a boolean as per the streaming API docs?

https://github.com/deepgram/deepgram-go-sdk/blob/a48acc88c2aaa5c29b2727cfff966d0ae1300237/pkg/client/interfaces/types-stream.go#L22

dvonthenen commented 3 months ago

Unless there are plans of deprecating the ability to specify the endpoint time (will check on this, but I don't believe it is), this should be a string and that particular documentation is wrong. Please see: https://developers.deepgram.com/docs/endpointing