Skip to main content
Cohere

Search documentation

Type to search this documentation.

On this pageOverview

Rerank API

In this guide, we show how to use the Rerank endpoint to rank a series of articles based on a simple query. This guide uses a simple subset of article titles to illustrate the endpoint’s functionality. To see a more robust semantic search demo, see our Colab.

First, let's install the SDK (the examples below are in Python, Typescript, and Go):

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu