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

[DOCS] Adds testing ELSER section to ELSER conceptual #2540

Merged
merged 5 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions docs/en/stack/ml/nlp/ml-nlp-elser.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,26 @@ xpack.ml.model_repository: file://${path.home}/config/models/`
master-eligible nodes one by one.


[discrete]
== Testing ELSER

You can test the deployed model in {kib}. Navigate to **Model Management** >
**Trained Models**, locate the deployed ELSER model in the list of trained
models, then select **Test model** from the Actions menu.

You can use data from an existing index to test the model. Select the index,
then a field of the index you want to test ELSER on. Provide a search query and
click **Test**. Evaluating model recall is simpler when using a query related to
the documents.

The results contain a list of ten random values for the selected field along
with a score showing how relevant each document is to the query. The higher the
score, the more relevant the document is.

[role="screenshot"]
image::images/ml-nlp-elser-test.png[alt="Testing ELSER",align="center"]


[discrete]
[[further-readings]]
== Further reading
Expand Down