Semantic Search

URL and Swagger UI Documentation

Description

The Semantic Search Endpoint allows to search for semantically relevant documents sections and use filters to restrict the documents you want to search within.

Hands-on section

Code snippets

curl

Python

Response

Sample response

Combining Semantic Search with Reranking

Via the Semantic Search endpoint it is possible let the Legal Data Hub do the reranking. Simply set the post_reranking parameter.

Sample I

Combining Semantic Search with Query DSL

Via the Semantic Search 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 Elastic Search standard (freely accessible at Elastic Documentation)

Sample I
Sample II
Sample III (with or filters)

Selecting Multiple Modules in a Request

Sample IV (multiple modules)

Last updated