Jump to: navigation, search

Configuration

Description

KnowledgeCenterService, Search and ChatDeflection share the configuration namespace '_genesys.cxwidget.knowledgecenter'. KnowledgeCenterService defines connection options and default values for content retrieval options while other plugins have configuration specific for every particular function.

Example

window._genesys.cxwidget.knowledgecenter = {
	host:'http://gks-dep-stbl:9092/gks-server/v1',
	knowledgebases:['knowledgefaq','knowledgeartiсles'],
	lang:'en',
	media:'chat',
	maxTrendingResults:5,
	maxSearchResults:3,
	apiClientId:'widget',
	apiClientMediaType:'selfservice'
}

Options

Name Type Description Default Required
host string Knowledge Center Server API URL n/a Always
knowledgebases object List of knowledge base IDs that knowledge will be searched in. Empty value will allow search in all knowledgebases that are publicly available Always
lang string Language in which knowledge search will be executed en Always
media string Media that content needs to be searched for. Empty value allows any available content to be searched. all
maxTrendingResults number Maximum number of documents in trending response 5
maxSearchResults number Maximum number of documents in search response 3
apiClientId string Client ID of the application using knowledge (for reporting purposes). cxwidget
apiClientMediaType string Media type that knowledge uses (for reporting purposes). selfservice
tenantId number Specifies tenantId that needs to be be used in requests to Knowledge Center. If not defined, this parameter is not added to requests. not defined
This page was last edited on December 22, 2017, at 18:42.
Comments or questions about this documentation? Contact us for support!