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 GroqSTTService, BaseWhisperSTTService, and refactor OpenAISTTService #1183

Merged
merged 3 commits into from
Feb 9, 2025

Conversation

markbackman
Copy link
Contributor

@markbackman markbackman commented Feb 8, 2025

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.

  • Add BaseWhisperSTTService, which is the base class for OpenAISTTService and GroqSTTService.
  • Refactored OpenAISTTService to use this new base class.
  • Added GroqSTTService which now uses the new base class too.

Updated 14f example to use GroqSTTService.

While I was at it, updated GroqLLMService to use llama-3.3-70b-versatile as the default model.

Also addresses issue: #254.

raise Exception(f"Missing module: {e}")


class BaseWhisperSTTService(SegmentedSTTService):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe rename file to base_whisper.py? we usually do that in all the other base classes.

@aconchillo
Copy link
Contributor

Awesome! LGTM! One minor comment.

@markbackman markbackman merged commit 37cfe87 into main Feb 9, 2025
4 checks passed
@markbackman markbackman deleted the mb/add-groq-stt branch February 9, 2025 12:56
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