Skip to content

FunAudioLLM/llama-index-readers-funasr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

FunASR (SenseVoice/Paraformer/Fun-ASR-Nano) audio reader for LlamaIndex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors