Skip to main content

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

  1. 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)

  1. 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.)

  1. 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


Download files

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

Source Distribution

ragwrapper-0.0.3.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

ragwrapper-0.0.3-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

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

Hashes for ragwrapper-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e7097ebab9352e08c19baf96b21ec56014eae68878b0617c2004304078771670
MD5 c93c4efa8865d277974d91fd26cd203f
BLAKE2b-256 5b550bff0432bc42bffc92348c1f4984cd94dfda1b4408fd80af622250dce969

See more details on using hashes here.

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

Hashes for ragwrapper-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7a94227973fd0c5506411c26bac4175c16b6ecb68f2f817cbe6101cff07c6d02
MD5 407164bb7f7516ed9d5cf4cde73d0d79
BLAKE2b-256 4b665e45e2fe2fb2541bfa17c182b47ed0f6485dbcae0743cdd03539845c7938

See more details on using hashes here.

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