This release is a pre-release and may not be stable for production use.
llm-groq-whisper
Transcribe audio using the Groq.com Whisper API
Installation
Install this plugin in the same environment as LLM.
llm install llm-groq-whisper
Usage
Run transcripts using:
llm groq-whisper audio.mp3
llm groq-whisper --help
Usage: llm groq-whisper [OPTIONS] AUDIO_FILE
Run transcriptions or translations using the Groq Whisper API
Usage: llm groq-whisper audio.mp3 > output.txt cat audio.mp3 | llm
groq-whisper - > output.txt
Examples: # Basic transcription llm groq-whisper audio.mp3
# Translation to English llm groq-whisper --translate audio.mp3
# Transcription with specific model and language llm groq-whisper
--model whisper-large-v3 --language fr audio.mp3
# Detailed JSON output with timestamps llm groq-whisper --response-
format verbose_json audio.mp3
Options:
--key TEXT Groq API key to use
--model [whisper-large-v3-turbo|distil-whisper-large-v3-en|whisper-large-v3]
Whisper model to use
--response-format [json|verbose_json|text]
Response format
--language TEXT Language code (e.g., 'en' for English). Only
for whisper-large-v3-turbo and whisper-
large-v3
--temperature FLOAT Temperature between 0 and 1
--prompt TEXT Optional context or spelling guidance (max 224
tokens)
--translate Use translation endpoint instead of
transcription
--help Show this message and exit.
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-groq-whisper
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
python -m pytest
Release files for llm-groq-whisper 0.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_groq_whisper-0.1a0.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_groq_whisper-0.1a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / llm_groq_whisper-0.1a0.tar.gz
| Download URL | llm_groq_whisper-0.1a0.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
934f0aae45536d39af4a954c15d75804271a27575f26a2b9eb651973364a2842
|
|
BLAKE2b-256 checksum How to use checksums |
c3d3ebbf38e4a31b40af5ad9e7381aeb74dfe7b897b0c227c7add9e5a3b9afc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2024.
Transparency logRelease files / llm_groq_whisper-0.1a0-py3-none-any.whl
| Download URL | llm_groq_whisper-0.1a0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94073c2be690ace3f63717a3ddb9c5f981afdd00cdabc452593cbd34966da4a4
|
|
BLAKE2b-256 checksum How to use checksums |
50288a20fef1b8d78b6187d5c9a51fee1f7fd0fd5ef45bbb8531a652fefbbeea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2024.
Transparency log