Skip to main content

llama-index readers FunASR (SenseVoice / Paraformer / Fun-ASR-Nano) integration

Project description

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.

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_funasr-0.1.0.tar.gz (3.2 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_funasr-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_funasr-0.1.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_funasr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f80d18cf0d8aaa6e1e9b7340a42ddd23dba66f5dc62ea710c8b618e8c6bf3c4
MD5 58bd4df980bb3867260d48ebb12b46a9
BLAKE2b-256 13b8ef769819be52d5a2d08c5cd4c214b8df1fda57debae90cd1e3f94add27ec

See more details on using hashes here.

File details

Details for the file llama_index_readers_funasr-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_funasr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a3046bc42b036cbccc3bd507675c359063b87205851dbcb119ae499449a99d4
MD5 8b4126928000e4871c1ac526a0b79d47
BLAKE2b-256 9c8c66243ed28d6819b3e12998b012985b224a8ea506b59922615c34b5d273fb

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