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

[ML] Cannot create inference endpoint with id .elser_model_2 due to validation error #108426

Open
davidkyle opened this issue May 8, 2024 · 1 comment
Labels
>bug Feature:GenAI Features around GenAI :ml Machine learning Team:ML Meta label for the ML team

Comments

@davidkyle
Copy link
Member

Elasticsearch Version

8.13

Installed Plugins

No response

Java Version

bundled

OS Version

any

Problem Description

Creating an inference endpoint with an id starting with . causes the validation failure

action_request_validation_exception: Validation Failed: 1: Invalid inference_id; '.elser_model_2' can contain lowercase alphanumeric (a-z and 0-9), hyphens or underscores; must start and end with alphanumeric;

Given that the ELSER model id is .elser_model_2 it is reasonable that someone would want to use the same id.

Steps to Reproduce

PUT _inference/sparse_embedding/.elser_model_2
{
  "service": "elser",
  "service_settings": {
    "num_allocations": 1,
    "num_threads": 1
  }
}

Logs (if relevant)

No response

@davidkyle davidkyle added >bug :ml Machine learning Feature:GenAI Features around GenAI labels May 8, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Feature:GenAI Features around GenAI :ml Machine learning Team:ML Meta label for the ML team
Projects
None yet
Development

No branches or pull requests

2 participants