Interface InsightEngineSearchConfigurationOptions

The insight engine search configuration options.

interface InsightEngineSearchConfigurationOptions {
    locale?: string;
    proxyBaseUrl?: string;
}

Properties

locale?: string

The locale of the current user. Must comply with IETF’s BCP 47 definition: https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

Notes: Coveo Machine Learning models use this information to provide contextually relevant output. Moreover, this information can be referred to in query expressions and QPL statements by using the $locale object.

proxyBaseUrl?: string

The base URL to use to proxy Coveo insight requests (e.g., https://example.com/insight).

This is an advanced option that you should only set if you need to proxy Coveo insight requests through your own server. In most cases, you should not set this option.

See Headless proxy: Insight engine.