-
Notifications
You must be signed in to change notification settings - Fork 197
Fix deprecated inference endpoint command #4778
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
base: main
Are you sure you want to change the base?
Fix deprecated inference endpoint command #4778
Conversation
Creating an inference endpoint for ELSER requires a model_id
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
🔍 Preview links for changed docs |
seanhandley
left a comment
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.
Just one minor change - the conventions here for naming are not intuitive!
| ```console | ||
| PUT _inference/sparse_embedding/elser_embeddings <1> | ||
| { | ||
| "service": "elasticsearch", |
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.
| "service": "elasticsearch", | |
| "service": "elastic", |
| { | ||
| "service": "elasticsearch", | ||
| "service_settings": { | ||
| "model_id": ".elser_model_2", |
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.
| "model_id": ".elser_model_2", | |
| "model_id": "elser_model_2", |
Creating an inference endpoint for ELSER requires a model_id
Summary
The command currently on the semantic search with the inference API page (https://www.elastic.co/docs/solutions/search/semantic-search/semantic-search-inference) for creating an inference endpoint with ELSER return an error: "model_id must be provided"
This fixes that error.
Generative AI disclosure