|
| get_response (... $args) |
| Get the instantiated Response Class for the action described by this processor.
|
|
| query_ai_api () |
| Query the AI service.
|
|
◆ __construct()
core_ai\process_base::__construct |
( |
protected provider readonly provider | $provider, |
|
|
protected base readonly base | $action ) |
Class constructor.
- Parameters
-
provider | $provider | The provider that will process the action. |
base | $action | The action to process. |
- Parameters
-
$provider | The provider that will process the action. |
$action | The action to process. |
◆ get_response()
core_ai\process_base::get_response |
( |
| ... | ) |
|
|
protected |
Get the instantiated Response Class for the action described by this processor.
- Parameters
-
mixed | ...$args The arguments to pass to the response class constructor. |
- Return values
-
◆ process()
core_ai\process_base::process |
( |
| ) |
|
Process the AI request.
- Return values
-
response_base | The result of the action. |
◆ query_ai_api()
core_ai\process_base::query_ai_api |
( |
| ) |
|
|
abstractprotected |
The documentation for this class was generated from the following file:
- ai/classes/process_base.php