comment-questionQnA

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

chevron-rightcurlhashtag

chevron-rightPythonhashtag

Response

chevron-rightSample Responsehashtag

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 Documentationarrow-up-right)

chevron-rightExample Ihashtag
chevron-rightExample IIhashtag
chevron-rightExample IIIhashtag
chevron-rightExample IV (with OR filters)hashtag

Last updated