RAG Automation Wrapper
Overview
This project provides a Python wrapper around LangChain to automate Retrieval-Augmented Generation (RAG). The package abstracts the RAG workflow into two modular components: Data Ingestion, Retrieval and Generation. The wrapper is designed for seamless integration with various data sources, retrieval methods, and large language models (LLMs), making it easier to prototype and deploy RAG-based systems.
Key Features
Data Ingestion: Handle various data formats and load them into a retrievable format. Retrieval: Efficiently search and retrieve relevant data using a combination of query transformation techniques and vector databases. Generation: Use state-of-the-art LLMs to generate contextually relevant responses based on the retrieved information. Components
- Data Ingestion The ingestion component ingests documents or datasets from various sources, such as plain text, PDFs, CSVs, or databases, and converts them into an indexed format for retrieval. This ensures that your data is well-structured and easily searchable.
Supported data formats: Text, PDFs, CSVs, JSON Databases (SQL, NoSQL)
- Retrieval The retrieval component is responsible for fetching relevant data from the indexed sources using various search techniques, including vector-based search, keyword-based search, or a hybrid of both.
Support for multiple databases (e.g., FAISS, Elasticsearch) Query transformation for enhanced search accuracy Embedding-based retrieval (using sentence-transformers, OpenAI embeddings, etc.)
- Generation The generation component utilizes the retrieved data to generate responses using a large language model (LLM). This component can be customized with different models such as OpenAI's GPT, Hugging Face Transformers, or any local LLMs.
LLM-based contextual generation Support for different temperature and decoding strategies for controlled output Integration with OpenAI, Hugging Face, or custom LLMs
Metadata
Release files for ragwrapper 0.0.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 |
|---|---|---|---|---|
| ragwrapper-0.0.3.tar.gz | 13.5 kB | Without provenance | Details for ragwrapper-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ragwrapper-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for ragwrapper-0.0.3-py3-none-any.whl |
Total release size: 29.9 kB
Release files / ragwrapper-0.0.3.tar.gz
| Download URL | ragwrapper-0.0.3.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7097ebab9352e08c19baf96b21ec56014eae68878b0617c2004304078771670
|
|
BLAKE2b-256 checksum How to use checksums |
5b550bff0432bc42bffc92348c1f4984cd94dfda1b4408fd80af622250dce969
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / ragwrapper-0.0.3-py3-none-any.whl
| Download URL | ragwrapper-0.0.3-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7a94227973fd0c5506411c26bac4175c16b6ecb68f2f817cbe6101cff07c6d02
|
|
BLAKE2b-256 checksum How to use checksums |
4b665e45e2fe2fb2541bfa17c182b47ed0f6485dbcae0743cdd03539845c7938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for ragwrapper 0.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.