Skip to main content

When to use it

Ideal for easy to use text embeddings where short queries are expected to return medium-length passages of text (1-2 paragraphs)..

Quickstart

Installation

Create index

Embed & upsert

Query

Good to know

You must set input_type="search_document" when you embed passages or documents, and input_type="search_query" when you embed queries. For an example, see the Cohere retrieval notebook.