mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-30 00:30:09 +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.
|