Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add streaming features and missing pre recorded features #74

Closed
wants to merge 75 commits into from

Conversation

DamienDeepgram
Copy link
Contributor

@DamienDeepgram DamienDeepgram commented Jul 13, 2024

Proposed changes

Add streaming features and support for pre-recorded features when streaming.

Note that this modifies some public enum's which are used internally but might need to be taken into account

  • Bumped the minor version but it might need a major bump?

Streaming Features

  • endpointing
  • utterance_end_ms
  • interim_results
  • no_delay
  • vad_events

Streaming Functions

  • keep_alive

New Streaming Message Types

  • Utterance End
  • Speech Started

Advanced Streaming Example

  • /examples/advanced_stream.rs

Pre-Recorded Features

  • encoding
  • smart_format
  • callback
  • callback_method
  • filler_words
  • paragraphs
  • diarize_version
  • dictation
  • measurements
  • extra

Pre-Recorded Audio Intelligence Features

  • detect_entities

  • sentiment

  • topics

  • summarize

  • intents

  • custom_intents

  • custom_intent_mode

  • topics

  • custom_topics

  • custom_topic_mode

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update or tests (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING.md doc
  • I have added tests and/or examples that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Also considered a different approach with a SerializeStreamingOptions and have the code still just in case but this followed existing patterns


@DamienDeepgram DamienDeepgram requested a review from jcdyer July 13, 2024 02:04
@DamienDeepgram DamienDeepgram changed the title Add streaming features Add streaming features and missing pre recorded features Jul 13, 2024
@DamienDeepgram DamienDeepgram requested a review from jcdyer July 16, 2024 15:00
@DamienDeepgram
Copy link
Contributor Author

Closing and moving to a new PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants