Configure Azure#
This page contains an instruction for the Azure LLM connection.
To connect Lens Prism to Azure:
- Log into Azure Portal and navigate to Azure services > AI + machine learning > Azure OpenAI.
- In the following table, select already existing or create a new resource.
- In the resource menu, click Resource Management > Keys and Endpoint. A menu containing keys, location, and endpoint opens.
- Copy the content of the KEY 1 or KEY 2 fields.
- Open Lens Desktop and navigate to Preferences > Lens Prism AI.
-
In AI Provider, select Azure and specify the following parameters:
Parameter Recommended value Comments Azure API Key KEY1/KEY2
Find Azure AI Foundry > Home Resource Name resource name
Find in Azure AI Foundry > Home Model IDs Model name
To find, navigate to Azure AI Foundry > Deployments and click the model you need API Version Model version
Find in the model menu Context Window Size - Accordingly to the Azure model settings Max Output Tokens - Accordingly to the Azure model settings Custom Instructions - Optional. Set up personal preferences, such as language, specific details, and so on. These instructions are appended to every prompt as a guidance to personalize and improve Lens Prism responses