File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ GPT_API_VERSION="2024-08-01-preview"
44EMBEDDING_MODEL = " text-embedding-3-small"
55EMBEDDING_API_VERSION = " 2023-05-15"
66ENDPOINT = " https://ai4se-openai.openai.azure.com/"
7- AZURE_OPENAI_API_KEY = " ${ {AZURE_OPENAI_API_KEY } }"
7+ AZURE_OPENAI_API_KEY = " ${ { secrets. AZURE_OPENAI_API_KEY } }"
Original file line number Diff line number Diff line change 2222 username : ${{ secrets.DOCKER_USERNAME }}
2323 password : ${{ secrets.DOCKER_PASSWORD }}
2424
25+ - name : Set up .env file
26+ run : |
27+ echo "API_TYPE=azure" >> .env
28+ echo "GPT_MODEL=gpt-4o-mini" >> .env
29+ echo "GPT_API_VERSION=2024-08-01-preview" >> .env
30+ echo "EMBEDDING_MODEL=text-embedding-3-small" >> .env
31+ echo "EMBEDDING_API_VERSION=2023-05-15" >> .env
32+ echo "ENDPOINT=https://ai4se-openai.openai.azure.com/" >> .env
33+ echo "AZURE_OPENAI_API_KEY=${{ secrets.AZURE_OPENAI_API_KEY }}" >> .env
34+
2535 - name : Build and push Docker image
2636 uses : docker/build-push-action@v4
2737 with :
You can’t perform that action at this time.
0 commit comments