magnifying-glassSemantic 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.

circle-exclamation

Hands-on section

Code snippets

chevron-rightcurlhashtag

chevron-rightPythonhashtag

Response

chevron-rightSample responsehashtag

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.

chevron-rightSample Ihashtag

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

chevron-rightSample Ihashtag
chevron-rightSample IIhashtag
chevron-rightSample III (with or filters)hashtag

Selecting Multiple Modules in a Request

chevron-rightSample IV (multiple modules)hashtag

Last updated