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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file llama_index_readers_whisper-0.2.1.tar.gz.
File metadata
- Download URL: llama_index_readers_whisper-0.2.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b21587158f7e892de2a3887ad2d799a7d6808e8f7bb4e4982a45ce1625071ace
|
|
| MD5 |
7622cafe4f957221f419e35cd573321c
|
|
| BLAKE2b-256 |
016dd1b4d508b1616b7d3fb9c545df9440137f89916c01d14c419029d34a86cf
|
File details
Details for the file llama_index_readers_whisper-0.2.1-py3-none-any.whl.
File metadata
- Download URL: llama_index_readers_whisper-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19e1e68954c2c3f3f6e979fd28e72cea6e307724f085c61ddfdedbd3eb765960
|
|
| MD5 |
ec0409082d009dafeb4118f0f36179ba
|
|
| BLAKE2b-256 |
9e7e9c5205649b498f97328cf1523f50a4ccc2f0b5a402bd3a0c9af5e6f80e30
|