Table of Contents

Class OpenAiHelper

Namespace
BotManager.OpenAi
Assembly
BotManager.OpenAi.dll

A helper class for the OpenAI plugin.

public static class OpenAiHelper
Inheritance
OpenAiHelper
Inherited Members

Methods

GetOpenAi(RuntimeContext)

Returns the global OpenAiInit from the current context.

public static OpenAiInit? GetOpenAi(this RuntimeContext context)

Parameters

context RuntimeContext

The current runtime context.

Returns

OpenAiInit

Returns the OpenAiInit. Returns null if OpenAI wasn't initialized.