retrieve
POST
/retrievers/retrieve
Retrieve
Send a query to the retriever to retrieve passages.
Request Body
query
Requiredstring
The query to send to the retriever.
Example:"Is denser free?"
id
Requiredstring
Identifier for a retriever.
Example:"clz957t700007xhx72s0aieda"
Format: "string"
k
Requiredstring
Retrieve top k
passages.
"4"
Format: "int"
Status code | Description |
---|---|
200 | Success |
401 | Bad request |
500 | Internal server error |
A successful response will return the passages retrieved by the retriever.