-
Notifications
You must be signed in to change notification settings - Fork 16
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
Added speech-to-text node using Deepgram API #133
Conversation
WalkthroughThe changes introduce a new class, Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 3
🧹 Outside diff range and nitpick comments (1)
athina/steps/transcribe_speech_to_text.py (1)
27-27
: Adjust type hint for 'language' parameterThe
language
attribute is declared asOptional[str]
with a default value of"en"
. Since it has a default value and is not intended to beNone
, it should be typed asstr
instead ofOptional[str]
.Apply this diff to change the type hint:
- language: Optional[str] = "en" + language: str = "en"
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
athina/steps/__init__.py
(2 hunks)athina/steps/transcribe_speech_to_text.py
(1 hunks)
🔇 Additional comments (2)
athina/steps/__init__.py (2)
14-14
: LGTM! Import statement follows module conventions.
The import statement correctly imports the new TranscribeSpeechToText
class and follows the established import pattern.
33-34
: LGTM! Proper all list update.
The TranscribeSpeechToText
class is correctly added to the __all__
list, maintaining alphabetical order and consistent formatting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase with main and bump up the version
Summary by CodeRabbit
TranscribeSpeechToText
class for audio transcription using the Deepgram API.