v1

Vector

Perform a natural language search over Wikipedia pages using semantic relevance. The result includes a list of page sections most closely matched to your query intent.

post/v1/vector/wikipedia/all

Request body

promptstring required

Natural language query to search the Wikipedia pages database

wikiRevisionFromstring date-time nullable

'wikiRevisionFrom' filter, will search pages modified after the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00.

wikiRevisionTostring date-time nullable

'wikiRevisionFrom' filter, will search pages modified before the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00.

pageviewsFrominteger nullable

'pageviewsFrom' filter, will search pages with at least the provided number of views per day.

pageviewsTointeger nullable

'pageviewsFrom' filter, will search pages with at most the provided number of views per day.

sizeinteger nullable

The number of items per page.

pageinteger nullable

The page number to retrieve.

Response

Successful response

statusinteger required

Changes