Skip to content

environments llm rag

github-actions[bot] edited this page Aug 30, 2024 · 93 revisions

llm-rag

Overview

An environment for standard Large Language Model Retrieval Augmented Generation components.

Version: 68

Tags

Preview

View in Studio: https://ml.azure.com/registries/azureml/environments/llm-rag/version/68

Docker image: mcr.microsoft.com/azureml/curated/llm-rag:68

Docker build context

Dockerfile

FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:20240818.v1

# Set the shared environment path
ENV AZUREML_CONDA_ENVIRONMENT_PATH /azureml-envs/rag

# Prepend the path to AzureML conda environment
ENV PATH $AZUREML_CONDA_ENVIRONMENT_PATH/bin:$PATH

# Create conda environment
COPY conda_dependencies.yaml .
RUN conda env create -p $AZUREML_CONDA_ENVIRONMENT_PATH -f conda_dependencies.yaml -q && \
    rm conda_dependencies.yaml && \
    conda run -p $AZUREML_CONDA_ENVIRONMENT_PATH pip cache purge && \
    conda clean -a -y
Clone this wiki locally