Skip to content

[Backport 8.19] Update Inference specification for Hugging Face's completion and chat completion tasks #4497

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

Merged
merged 2 commits into from
Jun 9, 2025

Conversation

Jan-Kazlouski-elastic
Copy link
Contributor

backport for b48894f from #4383

  • Update Inference specification for Hugging Face's completion and chat completion tasks

  • Extend description for url parameter

  • Fix model_id description for text_embedding task and update endpoint creation comment

  • Enhance Hugging Face integration documentation for chat completion and completion tasks

  • Add @typescript-eslint/rule-tester to devDependencies in package-lock.json

  • Enhance Hugging Face integration to support chat_completion and completion tasks

  • Fix description for model_id field in Hugging Face integration to clarify request failure conditions

  • Update json schema

(cherry picked from commit b48894f)

… completion tasks (#4383)

* Update Inference specification for Hugging Face's completion and chat completion tasks

* Extend description for url parameter

* Fix model_id description for text_embedding task and update endpoint creation comment

* Enhance Hugging Face integration documentation for chat completion and completion tasks

* Add @typescript-eslint/rule-tester to devDependencies in package-lock.json

* Enhance Hugging Face integration to support chat_completion and completion tasks

* Fix description for model_id field in Hugging Face integration to clarify request failure conditions

* Update json schema

(cherry picked from commit b48894f)
Copy link
Contributor

github-actions bot commented Jun 9, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
inference.chat_completion_unified Missing test Missing test
inference.completion Missing test Missing test
inference.delete Missing test Missing test
inference.get 🟢 1/1 1/1
inference.inference Missing test Missing test
inference.put_alibabacloud Missing test Missing test
inference.put_amazonbedrock Missing test Missing test
inference.put_anthropic Missing test Missing test
inference.put_azureaistudio Missing test Missing test
inference.put_azureopenai Missing test Missing test
inference.put_cohere Missing test Missing test
inference.put_elasticsearch Missing test Missing test
inference.put_elser Missing test Missing test
inference.put_googleaistudio Missing test Missing test
inference.put_googlevertexai Missing test Missing test
inference.put_hugging_face Missing test Missing test
inference.put_jinaai Missing test Missing test
inference.put_mistral Missing test Missing test
inference.put_openai Missing test Missing test
inference.put_voyageai Missing test Missing test
inference.put_watsonx Missing test Missing test
inference.put Missing test Missing test
inference.rerank Missing test Missing test
inference.sparse_embedding Missing test Missing test
inference.stream_completion Missing test Missing test
inference.text_embedding Missing test Missing test
inference.update Missing test Missing test

You can validate these APIs yourself by using the make validate target.

Copy link
Contributor

github-actions bot commented Jun 9, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
inference.chat_completion_unified Missing test Missing test
inference.completion Missing test Missing test
inference.delete Missing test Missing test
inference.get 🟢 1/1 1/1
inference.inference Missing test Missing test
inference.put_alibabacloud Missing test Missing test
inference.put_amazonbedrock Missing test Missing test
inference.put_anthropic Missing test Missing test
inference.put_azureaistudio Missing test Missing test
inference.put_azureopenai Missing test Missing test
inference.put_cohere Missing test Missing test
inference.put_elasticsearch Missing test Missing test
inference.put_elser Missing test Missing test
inference.put_googleaistudio Missing test Missing test
inference.put_googlevertexai Missing test Missing test
inference.put_hugging_face Missing test Missing test
inference.put_jinaai Missing test Missing test
inference.put_mistral Missing test Missing test
inference.put_openai Missing test Missing test
inference.put_voyageai Missing test Missing test
inference.put_watsonx Missing test Missing test
inference.put Missing test Missing test
inference.rerank Missing test Missing test
inference.sparse_embedding Missing test Missing test
inference.stream_completion Missing test Missing test
inference.text_embedding Missing test Missing test
inference.update Missing test Missing test

You can validate these APIs yourself by using the make validate target.

@Jan-Kazlouski-elastic Jan-Kazlouski-elastic merged commit 5fe34cd into 8.19 Jun 9, 2025
7 checks passed
@Jan-Kazlouski-elastic Jan-Kazlouski-elastic deleted the backport-4383-to-8.19 branch June 9, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants