Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ragkitx-0.1.5.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ragkitx-0.1.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

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

Hashes for ragkitx-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d5d3c2c2ae66f82ff5e0694312a6f6f8d4ac50a21ba48b603870933a4c85f6e8
MD5 e0e76a0e78f2f914c77d1a6add0da024
BLAKE2b-256 3e385d92a6dc9cf4b046b56956f9d25ee63906eb5f050dcac197934375b45f1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ragkitx-0.1.5.tar.gz:

Publisher: publish.yml on jannctu/ragkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ragkitx-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3c8f895bbe35c30a45a3ae06c234ef24e19096aa2757e50961034118c9678434
MD5 cf620d6431742323c0fc2a9c29468a23
BLAKE2b-256 23fe4efd921a2f9f8b64ff71383aeae4939587791fe50a9c8061fb41fb90199e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ragkitx-0.1.5-py3-none-any.whl:

Publisher: publish.yml on jannctu/ragkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page