Skip to main content

LlamaIndex Readers Integration: FunASR

Transcribe audio into LlamaIndex Documents with FunASR — self-hosted speech-to-text powered by SenseVoice / Paraformer / Fun-ASR-Nano. Runs locally, no cloud API; strong on Chinese and 50+ languages.

Installation

pip install llama-index-readers-funasr

Usage

from llama_index.readers.funasr import FunASRReader

reader = FunASRReader(model="iic/SenseVoiceSmall", device="cuda")
documents = reader.load_data("meeting.wav")
print(documents[0].text)

Pass hub="hf" with model="FunAudioLLM/SenseVoiceSmall" to load from HuggingFace. The built-in VAD handles audio of any length.

Metadata

Release files for llama-index-readers-funasr 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-funasr 0.1.0
File Size Uploaded
llama_index_readers_funasr-0.1.0.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 7.5 kB

Release files / llama_index_readers_funasr-0.1.0.tar.gz

Download URL llama_index_readers_funasr-0.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5f80d18cf0d8aaa6e1e9b7340a42ddd23dba66f5dc62ea710c8b618e8c6bf3c4
BLAKE2b-256 checksum
How to use checksums
13b8ef769819be52d5a2d08c5cd4c214b8df1fda57debae90cd1e3f94add27ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

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

Download URL llama_index_readers_funasr-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a3046bc42b036cbccc3bd507675c359063b87205851dbcb119ae499449a99d4
BLAKE2b-256 checksum
How to use checksums
9c8c66243ed28d6819b3e12998b012985b224a8ea506b59922615c34b5d273fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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