1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
#
# Environment variables required for running tests.
#
# All values should be empty by default. Fill them in locally before running live tests on your dev box,
# but do not commit these changes to the repository.
#
# To run tests you need an AI Foundry project with the following AI models deployed:
# - One non-OpenAI chat completion model that supports function call tools. We use `Mistral-Large-2411`.
# - One OpenAI chat completion model that supports image input. We use `gpt-4o`.
# - One OpenAI chat completion model that supports audio input. We use `gpt-4o-audio-preview`.
# - One non-OpenAI model that supports both text and image embeddings. We use `Cohere-embed-v3-english`.
#
# In addition to filling in the values below, you will also need to sign in using "az login --tenant <tenant-id>",
# where `tenant-id` is the Azure tenant where the AI Foundry project was deployed.
#
# since some tests use Entra ID authentication.
#
# To find the values below:
# - Open the "Management center" in your AI Foundry project.
# - Click on "Models + endpoints" tab
# - Click on the relevant model deployment
# - For non OpenAI models:
# - The _ENDPOINT value can be found under the "Endpoint" box, under "Target URI". Copy it as-is.
# - The _KEY value can be found under the "Endpoint" box, under "Key"
# - For OpenAI models:
# - The _ENDPOINT value can be found under the "Endpoint" box, under "Target URI", but you need
# to remove the trailing `/chat/completions?api-version=YYYY-MM-DD-preview`.
# - The _API_VERSION value is the one found at the end of the "Target URI", and has the from
# YYYY-MM-DD-preview or YYYY-MM-DD.
# - The _KEY value can be found under the "Endpoint" box, under "Key"
# - The AZURE_AI_CHAT_MODEL is the non-OpenAI chat completions model name (not model deployment name!).
# Find it in the "Models + endpoints" tab, under the "Model name" column.
#
# For chat completions test, including tools
AZURE_AI_CHAT_ENDPOINT=
AZURE_AI_CHAT_KEY=
AZURE_AI_CHAT_MODEL=
# For chat completions tests using image input
AZURE_OPENAI_CHAT_ENDPOINT=
AZURE_OPENAI_CHAT_API_VERSION=
AZURE_OPENAI_CHAT_KEY=
# For chat completions tests using audio input
AZURE_OPENAI_CHAT_AUDIO_ENDPOINT=
AZURE_OPENAI_CHAT_AUDIO_API_VERSION=
AZURE_OPENAI_CHAT_AUDIO_KEY=
# For text embedding tests
AZURE_AI_EMBEDDINGS_ENDPOINT=
AZURE_AI_EMBEDDINGS_KEY=
# For image embedding tests
AZURE_AI_IMAGE_EMBEDDINGS_ENDPOINT=${AZURE_AI_EMBEDDINGS_ENDPOINT}
AZURE_AI_IMAGE_EMBEDDINGS_KEY=${AZURE_AI_EMBEDDINGS_KEY}
|