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
contextRuntimeContextThe current runtime context.
Returns
- OpenAiInit
Returns the OpenAiInit. Returns
nullif OpenAI wasn't initialized.