Skip to content

Commit

Permalink
update pipeline import path (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-risch authored Feb 23, 2024
1 parent a9ca485 commit 188ffa2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion integrations/assemblyai.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Following example showcases an indexing pipeline that incorporates `AssemblyAITr
from haystack.components.writers import DocumentWriter
from haystack.components.preprocessors import DocumentSplitter
from haystack.components.embedders import SentenceTransformersDocumentEmbedder
from haystack.pipeline import Pipeline
from haystack import Pipeline
from haystack.document_stores.in_memory import InMemoryDocumentStore
from assemblyai_haystack.transcriber import AssemblyAITranscriber

Expand Down
4 changes: 2 additions & 2 deletions integrations/elasticsearch-document-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ For this step, you can use the available [TextFileToDocument](https://docs.hayst

```python
from haystack_integrations.document_stores.elasticsearch import ElasticsearchDocumentStore
from haystack.pipeline import Pipeline
from haystack import Pipeline
from haystack.components.embedders import SentenceTransformersDocumentEmbedder
from haystack.components.converters import TextFileToDocument
from haystack.components.preprocessors import DocumentSplitter
Expand Down Expand Up @@ -92,7 +92,7 @@ Once you have documents in your `ElasticsearchDocumentStore`, it's ready to be u

```python
from haystack_integrations.document_stores.elasticsearch import ElasticsearchDocumentStore
from haystack.pipeline import Pipeline
from haystack import Pipeline
from haystack.components.embedders import SentenceTransformersTextEmbedder
from haystack_integrations.components.retrievers.elasticsearch import ElasticsearchEmbeddingRetriever

Expand Down
2 changes: 1 addition & 1 deletion integrations/pgvector-documentstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ You can retrieve Documents similar to a given query using a simple Pipeline.
```python
from haystack.components.embedders import SentenceTransformersTextEmbedder
from haystack_integrations.components.retrievers.pgvector import PgvectorEmbeddingRetriever
from haystack.pipeline import Pipeline
from haystack import Pipeline
querying = Pipeline()
querying.add_component("embedder", SentenceTransformersTextEmbedder())
Expand Down

0 comments on commit 188ffa2

Please sign in to comment.