Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [DOCS] Adds pre-cleaning recommendation to ELSER docs (backport #2796) #2798

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/en/stack/ml/nlp/ml-nlp-elser.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,17 @@ per document to ingest.
To learn more about ELSER performance, refer to the <<elser-benchmarks>>.


[discrete]
[[pre-cleaning]]
== Pre-cleaning input text

The quality of the input text significantly affects the quality of the embeddings.
To achieve the best results, it's recommended to clean the input text before generating embeddings.
The exact preprocessing you may need to do heavily depends on your text.
For example, if your text contains HTML tags, use the {ref}/htmlstrip-processor.html[HTML strip processor] in an ingest pipeline to remove unnecessary elements.
Always review and clean your input text before ingestion to eliminate any irrelevant entities that might affect the results.


[discrete]
[[elser-adaptive-allocations]]
== Adaptive allocations
Expand Down