PurrfectKit’s documentation

_images/repo-logo.png

PurrfectKit (/purr-fekt-kit/) is a Python library for effortless Retrieval-Augmented Generation (RAG) workflows.

https://img.shields.io/badge/python-3.10–3.13-blue https://img.shields.io/pypi/v/purrfectkit?color=gold&label=PyPI https://img.shields.io/pypi/dm/purrfectkit?color=purple https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json https://img.shields.io/docker/v/suwalutions/purrfectkit?label=docker https://codecov.io/github/suwalutions/PurrfectKit/branch/meow/graph/badge.svg?token=Z6YETHJXCL

Note

This project is under active development.

PurrfectKit simplifies Retrieval-Augmented Generation (RAG), a technique combining information retrieval and text generation to answer queries using external documents.

The workflow involves five steps, each named after a Thai cat breed for a memorable experience:

  1. Suphalak: Extract text from files (e.g., PDFs).

  2. Malet: Split text into manageable chunks.

  3. WichienMaat: Convert chunks into numerical embeddings for search.

  4. KhaoManee: Search for chunks relevant to a query.

  5. Kornja: Generate answers using retrieved chunks (under development).