Suggestions

The service is designed for use as a type ahead service. It returns high quality semantic search results with dynamic snippets returned from an advanced extractive qa reader model.

SecurityoAuthUser or oAuthCustomer or oAuthAnonymousCustomer
Request
query Parameters
q
required
string

The users query.

portalId
required
number

The unique id an eGain Knowledge Base Portal.

personalizationProfileId
number

The unique id of the eGain Knowledge personalization profile id.

languageCode
string
Default: "en-US"

The eGain Knowledge Base Language ID. Only English or en-US is supported at this time.

Value: "en-US"
departmentId
number

Department Id.

userId
number

User Id.

Responses
200

SemanticSuggestions Response

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal server error

get/instantanswers/suggestions
Request samples
Response samples
application/json
{
  • "suggestions": [
    ]
}