ollama/docs/whisper.md
2024-08-07 13:04:57 -07:00

15 lines
433 B
Markdown

# Whisper Prototype
### To run
`make {/path/to/whisper.cpp/server}`
### Update routes.go
- replace `whisperServer` with path to server
## api/generate
### Request fields
- "audio" (required): path to audio file
- "whisper_model" (required): path to whisper model
- "transcribe" (optional): if true, will transcribe and return the audio file
- "prompt" (optional): if not null, passed in with the transcribed audio