QnA

URL and Swagger UI Documentation

Description

The QnA Endpoints allows to prompt questions and a mode to respond to this question. Currently, two modes are available "default" and "attribution".

Hands-on section

Code snippets

curl

Python

Response

Sample Response

Combining QnA with Query DSL

Via the QnA endpoint it is possible to combine search / filter options with the AI / vectorization query. See examples below. For the usage of the filtering query language we refer to the elasticsearch standard (freely accessible at Elastic Documentation)

Example I
Example II
Example III
Example IV (with OR filters)

Last updated