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.1.tar.gz (12.2 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.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file ragwrapper-0.0.1.tar.gz.

File metadata

  • Download URL: ragwrapper-0.0.1.tar.gz
  • Upload date:
  • Size: 12.2 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.1.tar.gz
Algorithm Hash digest
SHA256 f585577fd78cee42daa9faaf5af505b5c86447a7764318f10801d0ca5b5a08cc
MD5 569ff94455025aa1d9938aa1177a980a
BLAKE2b-256 1b6f02e18f7afee1db7c25af1056106f95134cf36899cfd0116f357f7f1cc3bd

See more details on using hashes here.

File details

Details for the file ragwrapper-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ragwrapper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f2f402c24dc8cec5a88a57fd31810d217984da835636f8ec5a5d7cb1b696a6
MD5 34ee7de2d577b40f0f27deae0cbf1f1e
BLAKE2b-256 6100790bf0dda7bd1191be2405f7ff5d8127bbf0160ad050366f329b235539c1

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