CustomerChatAgent
extends Agent
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- instructions() : string
- registerTools() : array<string|int, mixed>
- setQualifyAction() : static
- Set the qualify action for lead notifications.
- setSession() : static
- Set the chat session for context.
Properties
$qualifyAction
protected
QualifyCustomerChatLeadAction|null
$qualifyAction
= null
$session
protected
CustomerChatSession|null
$session
= null
Methods
__construct()
public
__construct([mixed $key = null ]) : mixed
Parameters
- $key : mixed = null
instructions()
public
instructions() : string
Return values
stringregisterTools()
public
registerTools() : array<string|int, mixed>
Return values
array<string|int, mixed>setQualifyAction()
Set the qualify action for lead notifications.
public
setQualifyAction(QualifyCustomerChatLeadAction $action) : static
Parameters
- $action : QualifyCustomerChatLeadAction
Return values
staticsetSession()
Set the chat session for context.
public
setSession(CustomerChatSession $session) : static
Parameters
- $session : CustomerChatSession