.. _examples.text.experimental.rerank: Document reranking ================== Rerank documents based on their relevancy to the input query. .. literalinclude:: ../../../examples/text/experimental/rerank.py :language: python :caption: See `rerank.py `_ on GitHub. :lines: 7-