From 79d130ee6405410b1c8f433ed6633a657540f118 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Sat, 29 Jun 2024 17:21:43 -0400 Subject: [PATCH] Added e2e tests GH action, with docker compose build --- flows/chainlit-ui-evaluation/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flows/chainlit-ui-evaluation/Dockerfile b/flows/chainlit-ui-evaluation/Dockerfile index dbeda547..ca0d3c1a 100644 --- a/flows/chainlit-ui-evaluation/Dockerfile +++ b/flows/chainlit-ui-evaluation/Dockerfile @@ -20,6 +20,8 @@ RUN pip3 install chainlit==1.1.305 # Needed for promptflow connections RUN pip install keyrings.alt +WORKDIR /app/chainlit-ui-evaluation + # Set up Connections -RUN cd /app/chainlit-ui-evaluation && pf connection create --file ./openai.yaml --set api_key=$OPENAI_API_KEY --name open_ai_connection -RUN cd /app/chainlit-ui-evaluation && pf connection create --file ./azure_openai.yaml --set api_key=$OPENAI_API_KEY --set api_base=$OPENAI_API_ENDPOINT --name azure_openai \ No newline at end of file +RUN pf connection create --file ./openai.yaml --set api_key=$OPENAI_API_KEY --name open_ai_connection +RUN pf connection create --file ./azure_openai.yaml --set api_key=$OPENAI_API_KEY --set api_base=$OPENAI_API_ENDPOINT --name azure_openai