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