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 JigsawStack provider for TTS and STT #11

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

iamNarcisse
Copy link

@iamNarcisse iamNarcisse commented Jan 29, 2025

This PR adds Text-to-Speech (TTS) and Speech-to-Text (STT) functionalities using the JigsawStack AI SDK in src/jigsawstack.ts.

Key changes:

  • Added module imports and type definitions.
  • Created a jigsawstack object with TTS and STT functions.
  • Introduced TranscribeWithUrlOptions and transcribeWithUrl in src/index.ts to support transcription via audio URLs.
  • The necessary tests for both TTS and STT functionalities

@haydenbleasel

Copy link

vercel bot commented Jan 29, 2025

@iamNarcisse is attempting to deploy a commit to the Hayden Bleasel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jan 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
orate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2025 10:25pm

@haydenbleasel
Copy link
Owner

Hey @iamNarcisse, thanks for the PR! I added the docs and updated the website. I think the key issue we'll have in accepting this is that audio.speech_to_text only takes a URL. Every other provider takes a File / Buffer / ArrayBuffer and we'll need that to keep the interface uniform.

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