Function: getOpenAISession()
getOpenAISession(
options
):OpenAISession
Get a session for the OpenAI API. If one already exists with the same options, it will be returned. Otherwise, a new session will be created.
Parameters
• options: ClientOptions
& object
= {}