anasfik/openai

Misleading documentation of OpenAI#instance

jkruke opened this issue · 1 comments

The OpenAI.instance getter documentation says "[...] make sure to call the [OpenAI.initialize] method before accessing [instance] [...]". There is no OpenAI.initialize method. It has probably been removed?

/// The singleton instance of [OpenAI], make sure to call the [OpenAI.initialize] method before accessing [instance], otherwise it will throw an [Exception].

Thanks man for noticing this, I changed it.