Skip to content

Commit

Permalink
fastembed: add links to cookbook (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored May 10, 2024
1 parent bd82ed2 commit 9a207e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions integrations/fastembed.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ query = "Who supports fastembed?"
result = query_pipeline.run({"text_embedder": {"text": query}})
```

For a more detailed example, see this [notebook](https://github.com/deepset-ai/haystack-cookbook/blob/main/notebooks/rag_fastembed.ipynb).

### Example with sparse embeddings
Currently, Sparse Embedding retrieval is only supported by `QdrantDocumentStore`.
You can install the package as follows:
Expand Down Expand Up @@ -121,6 +123,8 @@ query = "Who supports fastembed?"
result = query_pipeline.run({"sparse_text_embedder": {"text": query}})
```

For a more detailed example, see this [notebook](https://github.com/deepset-ai/haystack-cookbook/blob/main/notebooks/sparse_embedding_retrieval.ipynb).

### License

`fastembed-haystack` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.

0 comments on commit 9a207e0

Please sign in to comment.