-
Notifications
You must be signed in to change notification settings - Fork 25.4k
[DOCS] Expands semantic_text docs with new ELSER endpoint #131751
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
Conversation
🔍 Preview links for changed docs |
Pinging @elastic/es-docs (Team:Docs) |
{applies_to}`stack: preview 9.1` If you use the preconfigured `.elser-2-elastic` endpoint that utilizes the ELSER model as a service (ELSER on EIS), you can | ||
set up `semantic_text` with the following API request: | ||
|
||
```console | ||
PUT my-index-000001 | ||
{ | ||
"mappings": { | ||
"properties": { | ||
"inference_field": { | ||
"type": "semantic_text", | ||
"inference_id": ".elser-2-elastic" | ||
} | ||
} | ||
} | ||
} | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this example to after the custom inference endpoint mapping setup example? Putting this first may give users the idea that this is the recommended approach.
Also, can we call out that the .elser-2-elastic
endpoint is tech preview and should not be used for production?
If any dedicated docs exist for ELSER on EIS, it would be good to link to them here too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with optional nits
Overview
This PR expands the
semantic_text
docs with the ELSER on EIS default endpoint and an example of how to define it in the mappings.