initialize

fun initialize(lorekeeperConfig: LorekeeperConfig)(source)

Initializes the OpenAI client with the provided configuration.

If the configuration has no API key, the client will not be created and isConfigured will return false.

Parameters

lorekeeperConfig

The configuration to use