Handle is_final and endpointing together with utterance end#264
Merged
Conversation
Member
|
hey bud, what's this for? might be worth making this a separate example file. don't be afraid to make as many examples as you want, just name them appropriately |
Contributor
Author
|
This is to properly handle the websocket messages for endpointing, utterance end and interim results Here is the same for the Python SDK example |
lukeocodes
approved these changes
Apr 25, 2024
lukeocodes
added a commit
that referenced
this pull request
Apr 27, 2024
* feat: add _experimentalCustomFetch config to override fetch (#245) * feat: allow to provide custom fetch method to AbstractRestfulClient * fix: allow to provide both fetch and fetch options * refactor: init custom fetch in resolveFetch * rename `customFetch` to `_experimentalCustomFetch` i want to avoid taking any new namespaces while i think about the best way to do this * use `_experimentalCustomFetch` instead of `customFetch` for fetch override * test: added custom fetch test --------- Co-authored-by: Luke Oliff <luke@lukeoliff.com> * chore: Bump es5-ext from 0.10.62 to 0.10.64 (#250) Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.62 to 0.10.64. - [Release notes](https://github.com/medikoo/es5-ext/releases) - [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md) - [Commits](medikoo/es5-ext@v0.10.62...v0.10.64) --- updated-dependencies: - dependency-name: es5-ext dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add get auth token details method to manage client (#262) * chore: edit example for is_final and endpointing together with utterance end (#264) * fix: add missing expiration_date to CreateProjectKeyResponse (#265) * fix: update user agent to include JS or node (#269) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Bartosz Jarocki <bartosz.jarocki@hey.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: DamienDeepgram <138720050+DamienDeepgram@users.noreply.github.com> Co-authored-by: Lachlan Donald <lachlan@ljd.cc>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
This is an improved version to make it easier to understand the docs here
Users tend to not understand how to handle these things and our samples do not include how it works
Types of changes
What types of changes does your code introduce to the community Python SDK?
Put an
xin the boxes that apply