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

feat: add transcript endpoint #211

Merged
merged 1 commit into from May 9, 2023
Merged

feat: add transcript endpoint #211

merged 1 commit into from May 9, 2023

Conversation

mudler
Copy link
Owner

@mudler mudler commented May 9, 2023

Part of: #138

This is a quick wire to whisper.cpp following loosely the work already in https://github.com/go-skynet/whisper, wires https://github.com/ggerganov/whisper.cpp with go and uses ffmpeg for converting input audios to wav.

It adds transcription endpoint to LocalAI - however:

  • It does not output the format indicated by the user (this is a first implementation round, lots to refine), always defaults to { "text" : " ... " }
  • It shells out to ffmpeg to convert the audio input (it is not added to the image, separate images must be arranged for this)
  • lots to improve

@mudler mudler changed the title feat: add transcribe endpoint feat: add transcript endpoint May 9, 2023
@mudler mudler mentioned this pull request May 9, 2023
5 tasks
@mudler mudler merged commit 9f42657 into master May 9, 2023
3 checks passed
@mudler mudler deleted the whisper branch May 9, 2023 09:43
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.

None yet

1 participant