RerankInput represents the input to generate a rerank.
documents represent the documents to rank.
model represents the model to use.
query represents the content to rank against.
returnDocuments determines to return the document in the result.
RerankInput represents the input to generate a rerank.