LLMBaseActionTypeInterface
LLMBaseActionTypeInterface.php
:
13
Interface
Extends
ActionTypeInterface
Type of action e.g. "image to text".
Methods¶
createAction()
¶
ActionTypeInterface.php
:
42
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$input | DataType<string|int, mixed> | - | - |
$parameters | array<string, mixed> | [] | - |
Return values
getActionHandlers()
¶
ActionTypeInterface.php
:
47
|
|
Return values
iterable<string|int, ActionHandlerInterface>
getBasePrompt()
¶
LLMBaseActionTypeInterface.php
:
15
|
|
Return values
string
getIdentifier()
¶
ActionTypeInterface.php
:
22
Returns unique identifier of the action type.
|
|
Return values
string
getInputIdentifier()
¶
ActionTypeInterface.php
:
29
|
|
Return values
string
getName()
¶
ActionTypeInterface.php
:
27
Returns human-readable name of the action type.
|
|
Return values
string
getOptions()
¶
ActionTypeInterface.php
:
36
|
|
Return values
array<string, scalar|array<string|int, mixed>>
getOutputIdentifier()
¶
ActionTypeInterface.php
:
31
|
|
Return values
string