recallia
Minimal voice-to-notes pipeline with FunASR + Ollama.
Quickstart (Docker)
- Requirements: Docker & docker-compose; NVIDIA GPU + container toolkit recommended; Ollama (runs as a service in compose).
- (Optional) Reuse host Ollama models: set
HOST_OLLAMA_MODELS=/path/to/host/.ollamabeforedocker compose up. - Build & run:
docker compose up --build
- Drop audio files (
.mp3/.wav/.m4a/.aac) intodata/inbox/. Outputs land indata/archive/YYYY-MM-DD/<hash>/.
Flow
- ASR via FunASR (GPU if available).
- Summaries/tags + per-sentence emotions via Ollama.
- Artifacts per file: original audio,
transcript.jsonl,llm_summary.json,llm_emotion.json,run.log. - Metadata in SQLite
data/db.sqlite3.
Config
docker-compose.yaml:OLLAMA_HOST(defaults tohttp://ollama:11434), GPU flags, caches (./cache,./modelscope, optionalHOST_OLLAMA_MODELS).recallia/config.py: ASR device, LLM model, base paths.
Local (no Docker)
uv sync
python -m recallia
Ensure Ollama reachable at OLLAMA_HOST.
Demo data
Use examples/generate_demo_data.py to produce sample audio/text for testing.
Example archive (real output)
data/archive/2025-12-15/7daf3d771c04/
- 02_emergency_call.mp3
- transcript.jsonl
- llm_summary.json
- llm_emotion.json
- run.log
run.logkey fields:- summary: 技术人员发现API网关出现502错误,原因是数据库连接延迟导致CPU负载过高和慢查询问题。决定手动添加索引并切换流量以缓解当前状况。
- tags: api网关, 数据库连接, 索引
- duration_sec: 7.064
llm_summary.jsonsnippet:
{
"response": {
"summary": "技术人员发现API网关出现502错误,原因是数据库连接延迟导致CPU负载过高和慢查询问题。决定手动添加索引并切换流量以缓解当前状况。",
"tags": "api网关, 数据库连接, 索引"
}
}
transcript.jsonlstarts with full text, then per-segment entries. Excerpt:
{"type": "full_text", "text": "Speaker 0: 喂,老张听得到吗?出大问题了, api 网关全是五百零二报错。\nSpeaker 2: 听到了,我刚看监控,数据库连接迟爆了, cpu 直接飙到百分之一百,\n..."}
{"type": "segment", "speaker": "Speaker 0", "text": "喂,", "start_time": 290, "end_time": 530, "emotion": "neutral"}
{"type": "segment", "speaker": "Speaker 2", "text": "数据库连接迟爆了,", "start_time": 10860, "end_time": 12400, "emotion": "neutral"}
Metadata
Release files for recallia 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| recallia-0.0.2.tar.gz | 10.9 kB | Without provenance | Details for recallia-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| recallia-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for recallia-0.0.2-py3-none-any.whl |
Total release size: 23.1 kB
Release files / recallia-0.0.2.tar.gz
| Download URL | recallia-0.0.2.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05bd264fcdc7ba153fd060139835239adb2ff7b0b6e62325abf25e0772356055
|
|
BLAKE2b-256 checksum How to use checksums |
484e93822ad31a455e46df649c2c6ae3eceb8166e0d9719ca9d0c2874eadbcb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / recallia-0.0.2-py3-none-any.whl
| Download URL | recallia-0.0.2-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
179dd68fe3ee95aa96c9cb7a6c6cd487712b6549e423c4707c1501f6ab2ddbf5
|
|
BLAKE2b-256 checksum How to use checksums |
84cef84b0bbae8cd19e7101f4c05bf296219ee20a99ae0bc0de3c04cbf2e3c42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for recallia 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.