From 6406769bd81d3da1d58dda4ecdf3c6988902302e Mon Sep 17 00:00:00 2001 From: Tilde Thurium Date: Wed, 13 Dec 2023 00:49:10 -0800 Subject: [PATCH] update Cohere model to embed-multilingual-v3.0 (#83) Co-authored-by: Tilde Ann Thurium --- integrations/cohere.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/cohere.md b/integrations/cohere.md index d6a3971b..06fdc45e 100644 --- a/integrations/cohere.md +++ b/integrations/cohere.md @@ -93,7 +93,7 @@ Context: Question: What's the official language of {{ country }}? """ pipe = Pipeline() -pipe.add_component("embedder", CohereTextEmbedder(api_key=api_key, model_name="embed-multilingual-v2.0")) +pipe.add_component("embedder", CohereTextEmbedder(api_key=api_key, model_name="embed-multilingual-v3.0")) pipe.add_component("retriever", InMemoryEmbeddingRetriever(document_store=document_store)) pipe.add_component("prompt_builder", PromptBuilder(template=template)) pipe.add_component("llm", CohereGenerator(api_key=api_key, model_name="command-light"))