Build#

Building and Installing Context Aware RAG#

Prerequisites#

Before you begin using Context Aware RAG, ensure that you meet the following software prerequisites.

  1. Clone the repository

git clone git@github.com:NVIDIA/context-aware-rag.git
cd context-aware-rag/
  1. Create a Python environment

uv venv --seed .venv
source .venv/bin/activate
  1. (A) Install the Context Aware RAG library from source

uv pip install -e .
  1. (B) Build and install from wheel file

uv build
uv pip install dist/vss-ctx-rag-0.5.0-py3-none-any.whl