Skip to main content

Search a pipeline

POST 

/pipelines/:pipeline_id/search

Runs one similarity, maximal marginal relevance (MMR) or full-text search on a pipeline and returns the matching fragments as a JSON array, without the list envelope. The request body names the search text, the reader's classifications, the search type with the parameters of the type and an optional metadata filter.

Permissions. Read and execute on the pipeline.

Search requests describes every field, the search types, the response and the errors.

Request​

Responses​

The body is an array of fragments ordered by score, which can be empty.