RAG pipeline primitives: ingestion, retrieval, context management, and security
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rag_forge_core-0.1.3.tar.gz.
File metadata
- Download URL: rag_forge_core-0.1.3.tar.gz
- Upload date:
- Size: 61.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03d8c78bbb8932d2c9b8cd33601f3bb420d1625d3884786706b40e063ffaac8f
|
|
| MD5 |
c8937cb3eb269937e1df777c48f649fc
|
|
| BLAKE2b-256 |
94fa0cdc8c850fabcc39c3ef44f6be475576c2f14b2f47f39945c19abd20b26b
|
Provenance
The following attestation bundles were made for rag_forge_core-0.1.3.tar.gz:
Publisher:
publish.yml on hallengray/rag-forge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rag_forge_core-0.1.3.tar.gz -
Subject digest:
03d8c78bbb8932d2c9b8cd33601f3bb420d1625d3884786706b40e063ffaac8f - Sigstore transparency entry: 1287230569
- Sigstore integration time:
-
Permalink:
hallengray/rag-forge@ad7d39eccedbab013b42b6ed56a14f7c89fd2951 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/hallengray
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ad7d39eccedbab013b42b6ed56a14f7c89fd2951 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rag_forge_core-0.1.3-py3-none-any.whl.
File metadata
- Download URL: rag_forge_core-0.1.3-py3-none-any.whl
- Upload date:
- Size: 67.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8197729d094c1caeb87005c5c9a691811ff06b373f809a418d9dfbc122d02140
|
|
| MD5 |
bb3d6add43b920140f0c6a482b1c8f38
|
|
| BLAKE2b-256 |
d2cf40ac00b30a4a29fc4c5f78a05671d3cebb7af5fb577135e98ca3c369dbb2
|
Provenance
The following attestation bundles were made for rag_forge_core-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on hallengray/rag-forge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rag_forge_core-0.1.3-py3-none-any.whl -
Subject digest:
8197729d094c1caeb87005c5c9a691811ff06b373f809a418d9dfbc122d02140 - Sigstore transparency entry: 1287230627
- Sigstore integration time:
-
Permalink:
hallengray/rag-forge@ad7d39eccedbab013b42b6ed56a14f7c89fd2951 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/hallengray
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ad7d39eccedbab013b42b6ed56a14f7c89fd2951 -
Trigger Event:
release
-
Statement type: