mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-06 03:57:19 +00:00
8 lines
282 B
YAML
8 lines
282 B
YAML
---
|
|
preview:
|
|
- |
|
|
Add `prefix` and `suffix` attributes to `SentenceTransformersDocumentEmbedder`.
|
|
They can be used to add a prefix and suffix to the Document text before
|
|
embedding it. This is necessary to take full advantage of modern embedding
|
|
models, such as E5.
|