PipelineActions (Recommendation Engine)
PipelineActions (Recommendation Engine)
This is for:
DeveloperIn this article
The pipeline action creators.
See Dispatch Actions.
Loader Function
loadPipelineActions
Loads the pipeline
reducer and returns possible action creators.
Parameters
-
engine:
CoreEngine
The headless engine.
Returns PipelineActionCreators
: The pipeline action creators.
PipelineActionCreators
setPipeline
Sets the query pipeline.
Parameters
-
pipeline:
string
The query pipeline to set (may be empty).
Returns PayloadAction<string>
: A dispatchable action.