huri-module-rag
Retrieval-augmented answers with long-term memory (Qdrant + an OpenAI-compatible LLM), and the question aggregator.
| Module | Topics | What it does |
|---|---|---|
rag |
huri.question → huri.token |
Answers questions from memory with an LLM, streaming tokens |
qag |
huri.partial_question → huri.question |
Joins a transcript and its emotion into a question |
pip install -e 'packages/huri-module-rag[rag]' # from a huri-modules checkout, next to huri-core and huri-events
HURI_MODULES=rag,qag ... # enable it on the server
rag and the ingestion and memory tools (python -m huri_rag.ingestion,
memory_inspect, memory_maintenance) need the rag extra (Qdrant client,
sentence-transformers, httpx, pypdf, semantic_chunker); qag only joins events
and needs none of it, so a host that runs qag alone installs the package
without the extra ([tool.huri-modules.extras] in pyproject.toml; huri hub install and scripts/install_local.sh add it). Hardware pins of rag:
requirements-amd.rag.txt (install it before the package).
A distribution of
huri-modules, versioned in its
pyproject.toml (see RELEASING.md there). It depends on huri-core and
huri-events, which are not on PyPI: without a checkout, install them from git
in the same pip command, so pip never looks them up on an index:
ref=0.1.0 # a huri-modules release tag
core=0.4.0 # HURI_CORE_REF in that release's versions.env
pip install \
"huri-core[server] @ git+https://github.com/Lucy-Robotics/huri-core.git@$core" \
"huri-events @ git+https://github.com/Lucy-Robotics/huri-modules.git@$ref#subdirectory=packages/huri-events" \
"huri-module-rag[rag] @ git+https://github.com/Lucy-Robotics/huri-modules.git@$ref#subdirectory=packages/huri-module-rag"
Metadata
Release files for huri-module-rag 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| huri_module_rag-0.1.0.tar.gz | 22.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| huri_module_rag-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.7 kB
Release files / huri_module_rag-0.1.0.tar.gz
| Download URL | huri_module_rag-0.1.0.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
537d4dc21721f09adfe0a0025d1a6973f04862772f02dd0dcf5ea49e967fe305
|
|
BLAKE2b-256 checksum How to use checksums |
3184509625e49382a5a7e4f76b7d111a5a892a3f879e3deef6161d9f3dba3c43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / huri_module_rag-0.1.0-py3-none-any.whl
| Download URL | huri_module_rag-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9617a837faafe2b0934550242fa8bc0f77103a220c47c7cf14d8271c005f4fdd
|
|
BLAKE2b-256 checksum How to use checksums |
4eedfd67819276b534729ad3f1465a9510d0b19fbfd6b83ee324455920256176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|