diff --git a/fern/pages/text-embeddings/reranking/overview.mdx b/fern/pages/text-embeddings/reranking/overview.mdx index 89523f60..dd0593b9 100644 --- a/fern/pages/text-embeddings/reranking/overview.mdx +++ b/fern/pages/text-embeddings/reranking/overview.mdx @@ -36,7 +36,7 @@ docs = [ "Charlotte Amalie is the capital and largest city of the United States Virgin Islands. It has about 20,000 people. The city is on the island of Saint Thomas.", "Washington, D.C. (also known as simply Washington or D.C., and officially as the District of Columbia) is the capital of the United States. It is a federal district. The President of the USA and many major national government offices are in the territory. This makes it the political center of the United States of America.", "Capital punishment (the death penalty) has existed in the United States since before the United States was a country. As of 2017, capital punishment is legal in 30 of the 50 states. The federal government (including the United States military) also uses capital punishment."] -results = co.rerank(model="rerank-english-v3.0", query=query, documents=docs, top_n=5, return_documents=True) +results = co.rerank(model="rerank-v3.5", query=query, documents=docs, top_n=5) ``` **Response** @@ -107,7 +107,7 @@ docs = [ {"Title":"The Capital of United States Virgin Islands","Content":"Charlotte Amalie is the capital and largest city of the United States Virgin Islands. It has about 20,000 people. The city is on the island of Saint Thomas."}, {"Title":"Washington D.C.","Content":"Washington, D.C. (also known as simply Washington or D.C., and officially as the District of Columbia) is the capital of the United States. It is a federal district. The President of the USA and many major national government offices are in the territory. This makes it the political center of the United States of America."}, {"Title":"Capital Punishment in the US","Content":"Capital punishment (the death penalty) has existed in the United States since before the United States was a country. As of 2017, capital punishment is legal in 30 of the 50 states. The federal government (including the United States military) also uses capital punishment."}] -results = co.rerank(model="rerank-english-v3.0", query=query, documents=docs, rank_fields=['Title','Content'],top_n=5, return_documents=True) +results = co.rerank(model="rerank-v3.5", query=query, documents=docs, rank_fields=['Title','Content'],top_n=5, return_documents=True) ``` @@ -172,7 +172,7 @@ In the `docs` parameter, we are passing in a list of objects which have the key ## Multilingual Reranking -Cohere offers a multilingual model, `rerank-multilingual-v3.0`. Please note that performance may vary across languages. The model is trained on the following languages: +Cohere's `rerank-v3.5` and `rerank-multilingual-v3.0` models have been trained for performance across a variety of languages. Please note that performance may vary across languages. The model is trained on the following languages: | ISO Code | Language Name | | -------- | -------------- | diff --git a/fern/pages/v2/text-embeddings/reranking/overview.mdx b/fern/pages/v2/text-embeddings/reranking/overview.mdx index 660176da..8ef0e45d 100644 --- a/fern/pages/v2/text-embeddings/reranking/overview.mdx +++ b/fern/pages/v2/text-embeddings/reranking/overview.mdx @@ -172,7 +172,7 @@ In the `documents` parameter, we are passing in a list YAML strings, representin ## Multilingual Reranking -Cohere offers a multilingual model, `rerank-multilingual-v3.0`. Please note that performance may vary across languages. The model is trained on the following languages: +Cohere's `rerank-v3.5` and `rerank-multilingual-v3.0` models have been trained for performance across a variety of languages. Please note that performance may vary across languages. The model is trained on the following languages: | ISO Code | Language Name | | -------- | -------------- | diff --git a/fern/v1.yml b/fern/v1.yml index e87e4d28..121b9976 100644 --- a/fern/v1.yml +++ b/fern/v1.yml @@ -202,6 +202,8 @@ navigation: path: pages/going-to-production/rate-limits.mdx - page: Going Live path: pages/going-to-production/going-live.mdx + - page: Deprecations + path: pages/going-to-production/deprecation.mdx - page: How Does Cohere Pricing Work? path: pages/going-to-production/how-does-cohere-pricing-work.mdx - section: Integrations diff --git a/fern/v2.yml b/fern/v2.yml index 95bf54f0..727f6699 100644 --- a/fern/v2.yml +++ b/fern/v2.yml @@ -183,6 +183,8 @@ navigation: path: pages/going-to-production/rate-limits.mdx - page: Going Live path: pages/going-to-production/going-live.mdx + - page: Deprecations + path: pages/going-to-production/deprecation.mdx - page: How Does Cohere Pricing Work? path: pages/going-to-production/how-does-cohere-pricing-work.mdx - section: Integrations