Class: KeyConfig

KeyConfig(googleApiKey, googleCxId, openaiApiKey)

Constructor function for creating a KeyConfig object.

Constructor

new KeyConfig(googleApiKey, googleCxId, openaiApiKey)

Parameters:
Name Type Description
googleApiKey string

The Google API key.

googleCxId string

The Google CX ID.

openaiApiKey string

The OpenAI API key.

Source: