Copied!

AiModelOptionsResolverInterface

AiModelOptionsResolverInterface.php : 19
Interface

Constants

publicMODEL_OPTION

AiModelOptionsResolverInterface.php : 21
public string MODEL_OPTION = 'model'

Methods

publicresolve()

AiModelOptionsResolverInterface.php : 31
public resolve(string $actionHandlerIdentifier, ActionInterface $action) : ResolvedAiModelOptions

Parameters

Name Type Default value Description
$actionHandlerIdentifier string - -
$action ActionInterface - -

Return values

ResolvedAiModelOptions

Tags
Throws
UnsupportedAiModelException
Throws
NoAiModelsException
Throws
NoDefaultAiModelException
Throws
MissingRequiredOptionException
Throws
InvalidOptionValueException
Throws
DuplicatedOptionException

when the model and the handler define the same option