Skip to main content

aa-rag

Description

RAG Server for AI2APPS. This server provides a Retrieval-Augmented Generation (RAG) API to support advanced AI applications.


Requirements

  1. OpenAI API Key:

    • The service supports only the OpenAI interface style.
    • Ensure your .env file includes the following line:
      OPENAI_API_KEY=<your_openai_api_key>
      
  2. Environment Setup:

    • Make sure your environment is properly configured to load environment variables from a .env file.
    • For complete details on how to configure the application using environment variables and a .env file, please see the Configuration Parameters document.

Installation

Installation via PyPI

Install the package from PyPI:

pip install aa-rag

Installation via Source Code

The project build via the uv tool. To install the project from source code, follow these steps:

  1. Install uv:

    • On macOS, it is recommended to use Homebrew:
      brew install uv
      
    • For other operating systems, please refer to the uv installation guide.
  2. Clone the Repository:

    git clone https://github.com/continue-ai-company/aa_rag.git
    cd aa_rag
    
  3. Synchronize Dependencies:

    • Install dependencies as specified in the uv.lock file:
      uv sync
      
    • This command will create the virtual environment in the current project directory and install all necessary dependencies.

Optional

If you want to install the package with the online extra, you can use the following command:

pip install "aa-rag[online]" # install package with pip
uv sync --extras online # install package with uv

Usage

  1. Start the Web Server:

    • If you installed the package via PyPI, you can run the server using the following command:
      aarag
      
    • If you installed the package from source code and are using the uv tool, you can run the server using the following command:
      uv run aarag
      
  2. Access the API Documentation:

    • Open your browser and navigate to:
    http://localhost:222/docs
    
    • This page provides an interactive Swagger UI to explore and test all available APIs.

Metadata

Release files for aa-rag 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aa-rag 0.4.3
File Size Uploaded Provenance Actions
aa_rag-0.4.3.tar.gz 315.5 kB Without provenance Details for aa_rag-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aa-rag 0.4.3
File Interpreter ABI Platform Actions
aa_rag-0.4.3-py3-none-any.whl Python 3 none any Details for aa_rag-0.4.3-py3-none-any.whl

Total release size: 368.0 kB

Release files / aa_rag-0.4.3.tar.gz

Download URL aa_rag-0.4.3.tar.gz
Size 315.5 kB
Tags Source
SHA-256 checksum
How to use checksums
75709d12952c7fe807071c940fb632c55f7288da166819067fa7ca741269c13a
BLAKE2b-256 checksum
How to use checksums
e6962ce8d3d8aa050937c428a91521274256e3441b2c19304e001c2c2c68312e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.16

Release files / aa_rag-0.4.3-py3-none-any.whl

Download URL aa_rag-0.4.3-py3-none-any.whl
Size 52.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7f9b5eb2d86ad7625f1e38c681b4fb8094f828acb86a56fa3e4142f1eb1a5a86
BLAKE2b-256 checksum
How to use checksums
08d8ee88c8b3e55473caeb96adff2ac12a7f21c3c51b69119970432beeeac6e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.16

Security for aa-rag 0.4.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.

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page