Skip to main content

aieng-rag-utils

aieng-rag-utils is a Python library providing utility functions and tools to streamline Retrieval-Augmented Generation (RAG) workflows. It is designed to help AI engineers build, evaluate, and deploy RAG-based applications efficiently.

Features

  • Document loaders, chunkers and pretty-print
  • Web Search
  • Vector store integrations
  • Query and retrieval helpers
  • Evaluation and benchmarking tools

Installation

pip3 install aieng-rag-utils

Sample Usage

from aieng.rag.utils import get_device_name
from aieng.rag.utils.search import DocumentReader
from aieng.rag.utils.pubmed import RAGLLM

device = get_device_name()

doc_reader = DocumentReader(directory_path="./source_documents")
docs, chunks = doc_reader.load()

llm = RAGLLM(
    llm_type="openai",
    llm_name="gpt-4o",
    api_base=OPENAI_BASE_URL,
    api_key=OPENAI_API_KEY,
).load_model(**rag_cfg) # RAG Configuration

Metadata

Release files for aieng-rag-utils 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aieng-rag-utils 1.0.1
File Size Uploaded Provenance
aieng_rag_utils-1.0.1.tar.gz 8.3 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aieng-rag-utils 1.0.1
File Interpreter ABI Platform
aieng_rag_utils-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / aieng_rag_utils-1.0.1.tar.gz

Download URL aieng_rag_utils-1.0.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dff405fd61ce79e9890be267888c0dd7028633f19e10a1aa58f3570565f512c0
BLAKE2b-256 checksum
How to use checksums
09ecbc0b5272296ffbf9463e0beaea5cc83f9365523d722ec4ffa9b2c9b309d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.

Transparency log

Release files / aieng_rag_utils-1.0.1-py3-none-any.whl

Download URL aieng_rag_utils-1.0.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8689dd22a301de3f70cade76618dc9863485769eec5f00eef3b8a64eb3d9904e
BLAKE2b-256 checksum
How to use checksums
682f006b6ef5ab4fbfb12690d996880f49b4707b43eea889a4b7b03085d042dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.

Transparency log

Security for aieng-rag-utils 1.0.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aieng_rag_utils-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 17, 2026.

Transparency log

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.

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