indexers.hooks.hook_factory
indexers.hooks.hook_factory
Classes
| Name | Description |
|---|---|
| HookBase | Abstract base class for all hooks requiring customisation. |
HookBase
indexers.hooks.hook_factory.HookBase(**kwargs)Abstract base class for all hooks requiring customisation.
Subclasses must implement the call method to define the hook’s behaviour when applied to VectorStore input or output data.
Attributes
| Name | Type | Description |
|---|---|---|
| hook_type | str | A string identifier for the hook type. Defaults to “generic” and can be overridden by subclasses or set via kwargs. |
| kwargs | Additional keyword arguments passed at initialisation. |