Skip to main content

AutoRAG is a flexible and scalable solution for building Retrieval-Augmented Generation (RAG) systems.

Project description

AutoRAG

Powering seamless retrieval and generation workflows for our internal AI systems

Python Version Code Formatter Code Linter Code Checker Code Coverage

Overview

AutoRAG is a flexible and scalable solution for building Retrieval-Augmented Generation (RAG) systems.

This SDK provides out-of-the-box functionality for creating and managing retrieval-augmented generation workflows, offering a modular, highly-configurable interface. It supports multiple vector stores and leverages http clients like httpx for handling requests, ensuring seamless integration.

Features

  • Modular architecture: The SDK allows you to swap, extend, or customize components like retrieval models, vector stores, and response generation strategies.
  • High scalability: Built to handle large-scale data retrieval and generation, enabling robust, production-ready applications.
  • Celery for dependency injection: Efficient background tasks with support for distributed task execution.
  • Multi-flow support: Easily integrate various vector databases (ex: Qdrant, Azure AI Search) with various language models providers (ex: OpenAI, vLLM, Ollama) using standardized public methods for seamless development.

Installation

  1. Create a virtual environment, we recommend Miniconda for environment management:
    conda create -n autorag python=3.12
    conda activate autorag
    
  2. Install the package:
    pip install autonomize-autorag
    

Usage

The full set of API can be found in api.md

import os
from autorag.language_models import OpenAI

client = OpenAI(
    api_key=os.environ.get("OPENAI_API_KEY"),
)

generation = client.generate(
    message="What is GPT?"
    model="gpt-4o"
)

Contribution

To contribute in our AutoRAG SDK, please refer to our Contribution Guidelines.

License

Copyright (C) Autonomize AI - All Rights Reserved

This file is part of this project.

This project can not be copied and/or distributed without the express permission of Autonomize AI.

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

autonomize_autorag-0.1.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

autonomize_autorag-0.1.3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file autonomize_autorag-0.1.3.tar.gz.

File metadata

  • Download URL: autonomize_autorag-0.1.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.6.0

File hashes

Hashes for autonomize_autorag-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7c54dd041f1e8c65bc66722c43a29cc850ff291344131d21ecb77c8c151f4897
MD5 10ebcf21d96383b14f5279a309c08145
BLAKE2b-256 6faa6f15e7f85de82fdeaeb265c422a0e19c33714d26e3837b659ad054db165e

See more details on using hashes here.

File details

Details for the file autonomize_autorag-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for autonomize_autorag-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f35aa6f0218a5f45acb98c6a197831873d6ec550f273787e1533adc3ac36f918
MD5 e05b219b5c38acfe76f482efe3eef93d
BLAKE2b-256 52ab00b1b692277d30a72aa4a090ef6b0500e8e92026a86fb08d894bfc1dd43e

See more details on using hashes here.

Supported by

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