Copied!

OptionDefinitionProviderInterface

OptionDefinitionProviderInterface.php : 16
Interface

Adds options to the catalog an action handler's models pick their options from, e.g. a project-specific `top_p`, without changing the connector. A model uses an added option once its configuration selects it, or when it selects no options and takes the whole catalog.

Constants

publicSERVICE_TAG

OptionDefinitionProviderInterface.php : 18
public string SERVICE_TAG = 'ibexa.connector_ai.ai_model.option_definition_provider'

Methods

publicgetOptionDefinitions()

OptionDefinitionProviderInterface.php : 22
public getOptionDefinitions(string $actionHandlerIdentifier) : OptionDefinitionCollection

Parameters

Name Type Default value Description
$actionHandlerIdentifier string - -

Return values

OptionDefinitionCollection

publicsupportsActionHandler()

OptionDefinitionProviderInterface.php : 20
public supportsActionHandler(string $actionHandlerIdentifier) : bool

Parameters

Name Type Default value Description
$actionHandlerIdentifier string - -

Return values

bool