A package for LLMOps related tasks
Project description
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
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 ragwrapper-0.0.3.tar.gz.
File metadata
- Download URL: ragwrapper-0.0.3.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7097ebab9352e08c19baf96b21ec56014eae68878b0617c2004304078771670
|
|
| MD5 |
c93c4efa8865d277974d91fd26cd203f
|
|
| BLAKE2b-256 |
5b550bff0432bc42bffc92348c1f4984cd94dfda1b4408fd80af622250dce969
|
File details
Details for the file ragwrapper-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ragwrapper-0.0.3-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a94227973fd0c5506411c26bac4175c16b6ecb68f2f817cbe6101cff07c6d02
|
|
| MD5 |
407164bb7f7516ed9d5cf4cde73d0d79
|
|
| BLAKE2b-256 |
4b665e45e2fe2fb2541bfa17c182b47ed0f6485dbcae0743cdd03539845c7938
|