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 api docs for audio-to-text pipeline #594

Merged
merged 7 commits into from
Jul 17, 2024

Conversation

eliteprox
Copy link
Collaborator

adds api docs for the speech-to-text pipeline using openai/whisper-large-v3 model. These changes are needed for livepeer/go-livepeer#3078

@eliteprox eliteprox requested a review from a team as a code owner June 19, 2024 07:04
@0xcadams 0xcadams requested a review from rickstaa June 25, 2024 20:00
@eliteprox eliteprox changed the title Add api docs for speech-to-text pipeline Add api docs for audio-to-text pipeline Jul 11, 2024
{
"pipeline": "audio-to-text",
"model_id": "openai/whisper-large-v3",
"price_per_unit": 12882811,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@rickstaa Curious about your thoughts on pricing. The audio-to-text pipeline uses milliseconds as the unit (second * 1000)

Copy link
Member

Choose a reason for hiding this comment

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

@eliteprox I like the pricing per millisecond 👍🏻. The pricing seems a bit low, but that's fine since we can let the market take effect. With the current pricing, it would cost 12882811*1000*60*10**-18*3205.48 = $0.0025 per minute of audio, whereas OpenAI charges $0.006, making us very competitive.

eliteprox and others added 2 commits July 12, 2024 12:44
This commit applies some small audio-to-text documentation improvements.
Copy link
Member

@rickstaa rickstaa left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@rickstaa rickstaa merged commit 1fc870e into livepeer:main Jul 17, 2024
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