Modular RAG toolkit
Project description
ragkit
Modular RAG toolkit – A flexible and pluggable framework for Retrieval-Augmented Generation (RAG) workflows.
Features
- Plug-and-play architecture for embedding models and vector stores
- Support for hybrid search (vector + keyword)
- Extensible design with Pydantic models
- Qdrant vector store support
- OpenAI and SentenceTransformer embedding
Installation
pip install ragkit
## Usage
```python
from ragkit.search import DocumentSearchService
from ragkit.embedding import OpenAIEmbedder
from ragkit.vectorstore import QdrantVectorStore
# Initialize components
embedder = OpenAIEmbedder(api_key="your-openai-api-key")
store = QdrantVectorStore(vector_size=1536)
search_service = DocumentSearchService(embedder, store)
# Perform search
results = search_service.search("Tell me about vector databases")
Project details
Release history Release notifications | RSS feed
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 ragkitx-0.1.5.tar.gz.
File metadata
- Download URL: ragkitx-0.1.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5d3c2c2ae66f82ff5e0694312a6f6f8d4ac50a21ba48b603870933a4c85f6e8
|
|
| MD5 |
e0e76a0e78f2f914c77d1a6add0da024
|
|
| BLAKE2b-256 |
3e385d92a6dc9cf4b046b56956f9d25ee63906eb5f050dcac197934375b45f1e
|
Provenance
The following attestation bundles were made for ragkitx-0.1.5.tar.gz:
Publisher:
publish.yml on jannctu/ragkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ragkitx-0.1.5.tar.gz -
Subject digest:
d5d3c2c2ae66f82ff5e0694312a6f6f8d4ac50a21ba48b603870933a4c85f6e8 - Sigstore transparency entry: 345925356
- Sigstore integration time:
-
Permalink:
jannctu/ragkit@cd51eda3eac3467c5a9bda85d9eabb5b4dd0e020 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/jannctu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd51eda3eac3467c5a9bda85d9eabb5b4dd0e020 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ragkitx-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ragkitx-0.1.5-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c8f895bbe35c30a45a3ae06c234ef24e19096aa2757e50961034118c9678434
|
|
| MD5 |
cf620d6431742323c0fc2a9c29468a23
|
|
| BLAKE2b-256 |
23fe4efd921a2f9f8b64ff71383aeae4939587791fe50a9c8061fb41fb90199e
|
Provenance
The following attestation bundles were made for ragkitx-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on jannctu/ragkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ragkitx-0.1.5-py3-none-any.whl -
Subject digest:
3c8f895bbe35c30a45a3ae06c234ef24e19096aa2757e50961034118c9678434 - Sigstore transparency entry: 345925365
- Sigstore integration time:
-
Permalink:
jannctu/ragkit@cd51eda3eac3467c5a9bda85d9eabb5b4dd0e020 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/jannctu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cd51eda3eac3467c5a9bda85d9eabb5b4dd0e020 -
Trigger Event:
push
-
Statement type: