-
Notifications
You must be signed in to change notification settings - Fork 127
environments llm rag
github-actions[bot] edited this page Dec 17, 2024
·
97 revisions
An environment for standard Large Language Model Retrieval Augmented Generation components.
Version: 74
Preview
View in Studio: https://ml.azure.com/registries/azureml/environments/llm-rag/version/74
Docker image: mcr.microsoft.com/azureml/curated/llm-rag:74
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu22.04:20241215.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