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