OpenAI#
This page contains instruction for the OpenAI LLM connection.
To connect Lens Prism to OpenAI:
- Log into the Open AI Platform with your personal or organization email.
- In the upper-right corner, select Dashboard and then, in the navigation panel on the left, open the API Keys menu.
-
Click Create new secret key and, in the following modal, configure the key:
Parameter Recommended value Name Lens Prism
Project Default project
Permissions All
Proceed to the next step by clicking Create secret key.
-
In the following modal, click Copy, then Done.
Info
For security reasons, you cannot view or copy an existing API key again after you have created it. Keep that in mind when configuring Lens Prism, and do not copy anything else until you have the OpenAI API Key field configured. Otherwise, revoke the key and create a new one.
The video below illustrates creating of an API key:
-
Open Lens Desktop and navigate to Preferences > Lens Prism AI.
-
In AI Provider, select OpenAI and specify the following parameters:
Parameter Recommended value Comments OpenAI API Key api-key
Paste the API key from the step 4 of this instruction 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