elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.24k stars 24.85k forks source link

Inference endpoint log message wording #114414

Open mdefazio opened 1 month ago

mdefazio commented 1 month ago

The log messages returned when interacting with an Inference endpoint id have some typos and potential for better readability. Kibana version: 8.15

Updating or deleting an endpoint:
Current Inference endpoint for task type "sparse_embedding" and inference id elser-sparse_embedding-wwbzz2awbv was successfuly update
Update Inference endpoint for task type "sparse_embedding" and inference_id "elser-sparse_embedding-wwbzz2awbv" was successfully updated.

Validating an endpoint:

Current Invalid inference_id; 'elser-sparse_embedding-eka14w5uo-' can contain lowercase alphanumeric (a-z and 0-9), hyphens or underscores; must start and end with alphanumeric
Update Invalid inference_id '<inference_id>': inference_id's must contain only alphanumeric characters (a-z, 0-9), hyphens, or underscores, and must start and end with an alphanumeric character.
elasticsearchmachine commented 1 month ago

Pinging @elastic/search-inference-team (Team:Search - Inference)

elasticsearchmachine commented 1 month ago

Pinging @elastic/search-eng (Team:SearchOrg)

mdefazio commented 1 month ago

Apologies if this is mis-filed and mis-labeled. Happy to direct it elsewhere as needed.

mdefazio commented 1 month ago

cc/ @szabosteve for the review of the wording. (These are his suggestions).