Skip to content

Commit

Permalink
update Cohere model to embed-multilingual-v3.0 (#83)
Browse files Browse the repository at this point in the history
Co-authored-by: Tilde Ann Thurium <[email protected]>
  • Loading branch information
Tilde Thurium and Tilde Ann Thurium authored Dec 13, 2023
1 parent 037e2d9 commit 6406769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/cohere.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 6406769

Please sign in to comment.