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

Export Speech-to-Text Endpoint #806

Merged
merged 8 commits into from
Sep 22, 2024
Merged

Export Speech-to-Text Endpoint #806

merged 8 commits into from
Sep 22, 2024

Conversation

ijemmao
Copy link
Collaborator

@ijemmao ijemmao commented Aug 29, 2024

Describe your changes

  • Expose a new /speech-to-text endpoint in the v2 router to allow for speech transcription
    • This endpoint will expect an incoming payload of either a publicly hosted audio URI or a Base 64 string
  • Move @sendgrid/mail logic to conditional blocks of code to prevent from interfering with Jest tests
  • Introduce DeveloperUsage collection type which tracks generate API usage for the different API types that we currently offer or plan to offer
  • Add new and update existing Jest tests + update Jest global configurations

Issue ticket number and link

N/A

Motivation and Context

We want to add more features and functionality to the Igbo API! IgboSpeech has currently been delivered to users via a demo website. However, the ultimate final form we want for IgboSpeech is for it to be served via a REST API to enable any developer to use the technology in their own projects.

How Has This Been Tested?

  • Created new and updated existing tests
  • Ran all tests locally and relying on GitHub Actions to confirm all tests are passing in a new environment

Screenshots (if appropriate):

N/A

@ijemmao ijemmao requested a review from ebubae August 29, 2024 01:30
@ijemmao ijemmao force-pushed the io/export-speech-to-text branch 2 times, most recently from 5cbd6d4 to c87d625 Compare August 29, 2024 18:34
ebubae
ebubae previously approved these changes Sep 3, 2024
Copy link
Collaborator

@ebubae ebubae left a comment

Choose a reason for hiding this comment

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

These changes look great! This will be the first of many AI features in the Igbo API 🥳

The developer usage will be really crucial for billing and having users understand their charges.

@ijemmao ijemmao force-pushed the io/export-speech-to-text branch from 9d4a285 to a15d3d5 Compare September 22, 2024 02:00
@ijemmao ijemmao merged commit 684c338 into master Sep 22, 2024
4 checks passed
@ijemmao ijemmao deleted the io/export-speech-to-text branch September 22, 2024 02:18
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