The Coveo Headless Insight sub-package exposes exposes the engine, controllers, actions, and utility functions to build an insight experience.
import { buildSearchBox, buildInsightEngine, getSampleInsightEngineConfiguration } from '@coveo/headless/insight';const engine = buildInsightEngine({ configuration: getSampleInsightEngineConfiguration()});const searchBox = buildSearchBox(engine); Copy
import { buildSearchBox, buildInsightEngine, getSampleInsightEngineConfiguration } from '@coveo/headless/insight';const engine = buildInsightEngine({ configuration: getSampleInsightEngineConfiguration()});const searchBox = buildSearchBox(engine);
The Coveo Headless Insight sub-package exposes exposes the engine, controllers, actions, and utility functions to build an insight experience.
Example