We recommend that you create a Data Connector Configuration called "OpenAI" via the Verj.io Runtime Environment's Administration Application.
The Data Connector Configuration should include the following properties:
apikey
, your OpenAI API key.
The Data Connector Configuration may also include the following properties
org
, an organisation ID.
model
, the default OpenAI model to use.
An OpenAI Data Connector is then available at connectors.verjio.openai
using that configuration.
If you are unable to do that, you may use this constructor to create a new OpenAI Data Connector.
This method accepts an API key, an optional organisation ID and an optional default model.