UNA
BxDolAI Class Reference
Inheritance diagram for BxDolAI:
BxDolFactory iBxDolSingleton BxDolFactory iBxDolSingleton

Public Member Functions

 __clone ()
 getProfileId ()
 getAutomatorInstructions ($sType, $bIncludeCommon=false)
 getModel ($iId)
 getAutomator ($iId, $bFullInfo=false)
 getAutomatorsEvent ($sUnit, $sAction)
 getAutomatorsScheduler ()
 chat ($sEndpoint, $sModel, $sApiKey, $aParams, $aMessages)
 callAutomator ($sType, $aParams=[])
 evalCode ($aAutomator, $isWriteLog=true, $aParams=null)
 __clone ()
 getProfileId ()
 getModels ($aParams=[])
 getModel ($iId)
 getModelObject ($iId)
 getProviderObject ($iId)
 getAssistants ($aParams=[])
 getAssistantById ($iId)
 getAssistantByName ($sName)
 getAssistantChatById ($iId)
 getAssistantChatsTransient ($iLifetime=0)
 updateAssistantChatById ($iId, $aSet)
 getAssistantChatCmts ()
 getAssistantChatCmtsObject ($iId, $oTemplate=false)
 getHelperById ($iId)
 getHelperByName ($sName)
 getAutomator ($iId, $bFullInfo=false)
 getAutomatorInstruction ($sType, $mixedParams=false)
 getAutomatorCmts ()
 getAutomatorCmtsObject ($iId, $oTemplate=false)
 getAutomatorsEvent ($sUnit, $sAction)
 getAutomatorsScheduler ()
 getAutomatorsWebhook ($iProviderId)
 callAutomator ($sType, $aParams=[])
 evalCode ($aAutomator, $aParams=[])
 emulCode ($aAutomator, $aParams=[])
 log ($mixedContents, $sSection='')

Static Public Member Functions

static getInstance ()
static getInstance ()
static callHelper ($mixedHelper, $sMessage)
static pruning ()
static getDefaultApiKey ()
static getDefaultModel ()
static getAssistantForStudio ()
static getAssistantForLiveSearch ()
static getAssistantForAskBlock ()

Protected Member Functions

 _callAutomatorEvent ($aParams=[])
 _callAutomatorScheduler ($aParams=[])
 _callAutomatorEvent ($aParams=[])
 _callAutomatorScheduler ($aParams=[])
 _callAutomatorWebhook ($aParams=[])
 _evalCode ($aAutomator, $aParams=[])

Protected Attributes

 $_oDb
 $_sPathInst
 $_iProfileId
 $_aExcludeAlertUnits
 $_sCmtsAutomators
 $_sCmtsAssistantsChats
 $_bWriteLog

Constructor & Destructor Documentation

◆ __construct()

BxDolAI::__construct ( )
protected

Reimplemented from BxDolFactory.

Member Function Documentation

◆ __clone()

BxDolAI::__clone ( )

Prevent cloning the instance

◆ getInstance()

BxDolAI::getInstance ( )
static

Get singleton instance of the class

Implements iBxDolSingleton.


The documentation for this class was generated from the following files:
  • ai/BxDolAI.php
  • inc/classes/BxDolAI.php