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 in support for custom options to pass for into each model #18

Open
jeetsons opened this issue Dec 30, 2024 · 2 comments
Open

Add in support for custom options to pass for into each model #18

jeetsons opened this issue Dec 30, 2024 · 2 comments

Comments

@jeetsons
Copy link

First off, awesome tool and keep it up!

We're trying to save money on using the Nano model since the regular model costs 3x more but I checked the code and there's no easy to do this atm:

Screenshot by Dropbox Capture

Perhaps we can add something to the command line options to be more generic?

~/go/bin/podscript assemblyai --from-url url --options "speech_model=nano"

@deepakjois
Copy link
Owner

If you are able to make changes to the code, you can build your own copy of this and set the SpeechModel here in TranscriptParams.

params := &aai.TranscriptOptionalParams{
SpeakerLabels: aai.Bool(true),
Punctuate: aai.Bool(true),
FormatText: aai.Bool(true),
}

I could add a cli flag to customize it, but I won't be able to get to it before mid-Jan.

@jeetsons
Copy link
Author

jeetsons commented Jan 1, 2025

sounds good thank you! 💟

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

No branches or pull requests

2 participants