Overview
Cohere's Rerank v4.0 endpoint enables businesses to significantly improve search and retrieval-augmented generation systems. As input, it takes a query and list of potentially relevant documents. Rerank v4.0 then returns the documents as a list sorted by semantic similarity to the provided query. As an intelligent cross-encoding AI model, Rerank v4.0 is able to understand the meaning behind enterprise data and user questions. Rerank v4.0 can be implemented with just a few lines of code, delivers leading performance across over 100 languages, and is uniquely capable of understanding complex information which requires reasoning. These attributes make Rerank v4.0 particularly well suited for global organizations within Finance, Healthcare, Energy, Government, and Manufacturing. Rerank v4.0 can be added to existing systems, whether keyword or semantic, to improve performance.
Highlights
- Cohere's Rerank v4.0 is uniquely capable of understanding complex documents and queries. This leads to more accurate search results when user questions have multiple aspects or require reasoning. Rerank v4.0 also offers strong performance on semi-structured data such as Code, Tables, and JSON Documents. These attributes make the model ideal for global organizations within industries such as Finance, Healthcare, Energy, Government, and Manufacturing.
- Cohere's Rerank v4.0 can be added to existing search and retrieval-augmented generation (RAG) systems with just a few lines of code. This ease of implementation makes is simple to boost semantic understanding and improve search results.
- Cohere's Rerank v4.0 offers leading multilingual performance in over 100 languages, including but not limited to: Arabic, Chinese, English, French, German, Hindi, Japanese, Korean, Portuguese, Russian, and Spanish. This is useful for global organizations who operate across various languages and require a performant AI model to improve their search systems.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.g5.2xlarge Inference (Batch) Recommended | Model inference on the ml.g5.2xlarge instance type, batch mode | $3.50 |
ml.p5.4xlarge Inference (Real-Time) Recommended | Model inference on the ml.p5.4xlarge instance type, real-time mode | $3.50 |
ml.g5.2xlarge Inference (Real-Time) | Model inference on the ml.g5.2xlarge instance type, real-time mode | $3.50 |
ml.g5.xlarge Inference (Real-Time) | Model inference on the ml.g5.xlarge instance type, real-time mode | $3.50 |
Vendor refund policy
No refunds. If any issues please reach out to support+aws@cohere.com .
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker model
An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
Initial Release.
Additional details
Inputs
- Summary
Model input summary here: The model accepts JSON requests that specifies the input texts to be reranked. The maximum number number of documents that can be passed into a single rerank call is 1000. Note: The documentation below is for Version 2 of the Rerank API.
Req { “model”: “...”, "query": "...?", "documents": [“”...], "max_tokens_per_doc": 1, "top_n": 100 }
Res
{ "results": [ { "index": 0, "relevance_score": 0.0048297215 } ],
- Input MIME type
- application/json
Input data descriptions
The following table describes supported input data fields for real-time inference and batch transform.
Field name | Description | Constraints | Required |
|---|---|---|---|
query | The search query. Queries longer than 2000 tokens get automatically truncated. | Type: FreeText | Yes |
documents | A list of texts that will be compared to the `query`. For optimal performance we recommend against sending more than 1,000 documents in a single request. **Note**: long documents will automatically be truncated to the value of max_tokens_per_doc. **Note**: structured data should be formatted as YAML strings for best performance. | Type: FreeText | No |
top_n | Limits the number of returned rerank results to the specified value. If not passed, all the rerank results will be returned. | Default value: [] Type: Integer Minimum: 1 | No |
max_tokens_per_doc | Defaults to 4096. Long documents will be automatically truncated to the specified number of tokens. Compatibility: 'max_tokens_per_doc' is a parameter introduced in Rerank API Version 2 (`"api_version": 2`). | Default value: 4096 Type: Integer Minimum: 1 Maximum: 40000 | No |
Resources
Vendor resources
Support
Vendor support
Contact us at support+aws@cohere.com or at https://cohere.com/contact-sales support+aws@cohere.comÂ
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products



