rag-forge-core
RAG pipeline primitives for the RAG-Forge toolkit: ingestion, chunking, retrieval, context management, and security.
Installation
pip install rag-forge-core
Usage
This package provides the building blocks used by the rag-forge CLI. For end-user usage, see the main RAG-Forge documentation.
from rag_forge_core.chunking.factory import create_chunker
from rag_forge_core.chunking.config import ChunkConfig
chunker = create_chunker(ChunkConfig(strategy="recursive", chunk_size=512))
chunks = chunker.chunk("Some long document text...", source="doc.md")
Modules
rag_forge_core.chunking— Five chunking strategies (recursive, fixed, semantic, structural, llm-driven)rag_forge_core.retrieval— Dense, sparse, and hybrid retrieval with rerankingrag_forge_core.security— InputGuard, OutputGuard, PII scanning, prompt injection detectionrag_forge_core.context— Contextual enrichment and semantic cachingrag_forge_core.plugins— Plugin registry for custom extensions
License
MIT
Metadata
Release files for rag-forge-core 0.2.3
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 |
|---|---|---|---|---|
| rag_forge_core-0.2.3.tar.gz | 61.6 kB | With provenance | Details for rag_forge_core-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rag_forge_core-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for rag_forge_core-0.2.3-py3-none-any.whl |
Total release size: 129.3 kB
Release files / rag_forge_core-0.2.3.tar.gz
| Download URL | rag_forge_core-0.2.3.tar.gz |
|---|---|
| Size | 61.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82ff8b21b15e02e52140e5505776e263707ac822ce7cd791147cf3c17e9af5d3
|
|
BLAKE2b-256 checksum How to use checksums |
34836a1c81136d46d26843bea9553df5df70a4c42d8504ca27a3e1f7a298f7ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 16, 2026.
Transparency logRelease files / rag_forge_core-0.2.3-py3-none-any.whl
| Download URL | rag_forge_core-0.2.3-py3-none-any.whl |
|---|---|
| Size | 67.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f85d3050ae05e6f5d07b4511fc3acd51e1c75a8a9df6c9de4713be33863d0192
|
|
BLAKE2b-256 checksum How to use checksums |
5ed95228d64394a57e62b1cb7882dde5c5b8732405005d05246c1bfa3fbef496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 16, 2026.
Transparency logSecurity for rag-forge-core 0.2.3
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
Both files in this release have been uploaded with provenance metadata.
Attestation for rag_forge_core-0.2.3.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 16, 2026.
Transparency logA 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.