Metadata-Version: 2.4
Name: llama-index-readers-whisper
Version: 0.4.0
Summary: llama-index readers openai whisper integration
Author-email: Logan Markewich <logan@runllama.ai>
Maintainer: logan-markewich
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4.0,>=3.10
Requires-Dist: llama-index-core<0.15,>=0.13.0
Requires-Dist: openai<3,>=1
Description-Content-Type: text/markdown

# 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:

```bash
pip install llama-index-readers-whisper
```

## Usage

```python
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")
```
