Skip to content

Commit

Permalink
docs: Fix Optimum embedder examples (deepset-ai#517)
Browse files Browse the repository at this point in the history
* fix: Fix Optimum text preprocessing for the document embedder
Also some docs

* Revert unnecessary "fix"
  • Loading branch information
shadeMe committed Mar 1, 2024
1 parent d5dfc76 commit b347b30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class OptimumDocumentEmbedder:
Usage example:
```python
from haystack.dataclasses import Document
from haystack_integrations.components.optimum.embedders import OptimumDocumentEmbedder
from haystack_integrations.components.embedders.optimum import OptimumDocumentEmbedder
doc = Document(content="I love pizza!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class OptimumTextEmbedder:
Usage example:
```python
from haystack_integrations.components.optimum.embedders import OptimumTextEmbedder
from haystack_integrations.components.embedders.optimum import OptimumTextEmbedder
text_to_embed = "I love pizza!"
Expand Down

0 comments on commit b347b30

Please sign in to comment.