Skip to main content

LlamaIndex Readers Integration: Lokutor

Transcribe audio files into LlamaIndex Documents with Lokutor speech-to-text (Conv 2.0; English, Spanish, Catalan, Galician, Basque, Portuguese, French, Italian, German), with optional speaker diarization.

pip install llama-index-readers-lokutor
export LOKUTOR_API_KEY=...   # https://app.lokutor.com
from llama_index.readers.lokutor import LokutorReader

reader = LokutorReader(language="en", diarize=True)  # language=None detects it
docs = reader.load_data("meeting.wav")
print(docs[0].text, docs[0].metadata["speakers"])

# index it
from llama_index.core import VectorStoreIndex
index = VectorStoreIndex.from_documents(docs)
  • load_data / aload_data take a path, bytes or a file-like object, and return one Document.
  • Metadata: file_path, language_code; with diarize=True also speakers; with include_words=True the per-word timings in words.
  • Lokutor decodes WAV only (PCM 8 or 16 bit, mono or stereo, 8-48 kHz). Convert MP3/M4A first.
  • API errors (bad key, unsupported audio, no balance) raise RuntimeError with Lokutor's message.

API docs: docs.lokutor.com. Licence: Apache-2.0.

Metadata

Release files for llama-index-readers-lokutor 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llama-index-readers-lokutor 0.1.0
File Size Uploaded Provenance Actions
llama_index_readers_lokutor-0.1.0.tar.gz 7.4 kB Without provenance Details for llama_index_readers_lokutor-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llama-index-readers-lokutor 0.1.0
File Interpreter ABI Platform Actions
llama_index_readers_lokutor-0.1.0-py3-none-any.whl Python 3 none any Details for llama_index_readers_lokutor-0.1.0-py3-none-any.whl

Total release size: 15.8 kB

Release files / llama_index_readers_lokutor-0.1.0.tar.gz

Download URL llama_index_readers_lokutor-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f5020eb945beb5376df7926a69dae1185896c61d6e536b42a47ac37c95f75ab3
BLAKE2b-256 checksum
How to use checksums
077d4a44917d756087d51e1dd4a9ae29baad996ec081aded83bd3a9c62d5e329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / llama_index_readers_lokutor-0.1.0-py3-none-any.whl

Download URL llama_index_readers_lokutor-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43a42a774e9f3225d19f2ddcf121cd82146c34d257437e193c43cc45f6ff6aa5
BLAKE2b-256 checksum
How to use checksums
3c25fe384f66e7aa849eabdd4b1b805cf5d47228fca39188aa77143ca803ffb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for llama-index-readers-lokutor 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page