OpenAI Connection¶
The OpenAI connection type enables access to OpenAI APIs.
Default Connection IDs¶
OpenAI hook points to openai_default
connection by default.
Configuring the Connection¶
- API Key (required)
Specify your OpenAI API Key to connect.
- Host (optional)
The host address of the OpenAI instance.
- Extra (optional)
Specify the extra parameters (as json dictionary) that can be used in the connection. All parameters are optional. This
extra
field accepts a nested dictionary with keyopenai_client_kwargs
as key-value pairs that are passed to the OpenAI client on instantiation. For example, to set the timeout for the client, you can pass the following dictionary as theextra
field:{ "openai_client_kwargs": { "timeout": 10, "api_key": "YOUR_API_KEY" } }