Skip to main content

llama-index readers openai whisper integration

Project description

OpenAI Whisper Reader

Overview

Whisper Reader reads audio files and transcribes them to text using the OpenAI Whisper API.

Installation

You can install Whisper Reader via pip:

pip install llama-index-readers-whisper

Usage

from llama_index.readers.whisper import WhisperReader

# Initialize WhisperReader
reader = WhisperReader(
    model="whisper-1",
    api_key="your-api-key",
)

# Load data from audio file
documents = reader.load_data("path/to/your/audio/file.mp3")

# load data async
documents = await reader.aload_data("path/to/your/audio/file.mp3")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_whisper-0.4.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_whisper-0.4.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_whisper-0.4.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_whisper-0.4.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_whisper-0.4.0.tar.gz
Algorithm Hash digest
SHA256 160e73b40f6522fcf28f0bc817ab009f1b96ba3ff98a86e3503f4d1c393e2d1c
MD5 17c00900af8448aa14a42710a2e6c4f7
BLAKE2b-256 0f6125dce949874899e381199c5549a986e8de1d37d9eb8a7d8ded1441356cf7

See more details on using hashes here.

File details

Details for the file llama_index_readers_whisper-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_whisper-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_whisper-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e7d2cfcb5e57730b9aa53566706243cb13857a041b58e5e4cd07745ef58678e
MD5 5f713b04cec7cdd3b27bbe335fe54e07
BLAKE2b-256 9859d70e41f21af5fa7327e5f651d29865fbd4838bbe08c7e344b444ab7c26af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page