Catalog PyPI
PACKAGE EXPLORERView in registry

aieng-rag-utils

PyPI

Helper modules for AI Engineering RAG Bootcamp reference implementations

Versions collected1
Direct dependencies22From release 1.0.1
Last observed21 Oct, 10:38 UTC

README

Version 1.0.1 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.117 Apr 202622

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6969c29ca97f91e4b67b8670ffdd6dd459d92475fabc8e059d8fd20afa3dae49