Skip to content

Commit

Permalink
Added e2e tests GH action, with docker compose build
Browse files Browse the repository at this point in the history
  • Loading branch information
dividor committed Jun 29, 2024
1 parent 1d85a3c commit 79d130e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flows/chainlit-ui-evaluation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
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

0 comments on commit 79d130e

Please sign in to comment.