Skip to content

Commit

Permalink
Update cohere.md (#159)
Browse files Browse the repository at this point in the history
Updated the import of CohereDocumentEmbedder following is the right way to import it
from haystack_integrations.components.embedders.cohere import CohereDocumentEmbedder
  • Loading branch information
data-augur authored Feb 1, 2024
1 parent 0b03474 commit 8300e31
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 @@ -52,7 +52,7 @@ Below is the example indexing pipeline with `InMemoryDocumentStore`, `CohereDocu
from haystack import Document, Pipeline
from haystack.document_stores.in_memory import InMemoryDocumentStore
from haystack.components.writers import DocumentWriter
from haystack_integrations.components.embedders.document_embedder import CohereDocumentEmbedder
from haystack_integrations.components.embedders.cohere import CohereDocumentEmbedder

document_store = InMemoryDocumentStore()

Expand Down

0 comments on commit 8300e31

Please sign in to comment.