Skip to content

environments llm rag

github-actions[bot] edited this page Sep 28, 2024 · 90 revisions

llm-rag

Overview

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

Version: 69

Tags

Preview

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

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

Docker build context

Dockerfile

FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:20240918.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