deepgram / deepgram-go-sdk

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

Wrong type for `endpointing` param #236

Closed deepankarm closed 5 months ago

deepankarm commented 5 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

davidvonthenen commented 5 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