rankDocuments
Ranks documents in the storage based on their relevance to the given query. Each document is assigned a similarity score that represents how closely it matches the query.
Return
A flow emitting ranked documents, where each document is paired with its similarity score.
Parameters
query
The query string used to rank the documents.