Skip to content

Conversation

@Jan-Kazlouski-elastic
Copy link
Contributor

This PR adds changes to specification caused by elastic/elasticsearch#138726

Additional actions

  • Signed the CLA
  • Executed make contrib

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2025

Following you can find the validation changes against the target branch for the APIs.

No changes detected.

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

…mpletion-integration

# Conflicts:
#	output/openapi/elasticsearch-openapi.json
#	output/openapi/elasticsearch-serverless-openapi.json
#	output/schema/schema.json
#	specification/inference/put/PutRequest.ts
},
"dependencies": {
"@redocly/cli": "^1.34.5"
"@redocly/cli": "^1.34.6"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this change wasn't intentional, but we probably shouldn't be updating dependencies as part of adding docs for the inference API.

*/
user?: string
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 819 above this, "For a `completion` or `text_embedding` task" should be "For a `completion`, `chat_completion` or `text_embedding` task"

* * Anthropic (`completion`)
* * Azure AI Studio (`completion`, `rerank`, `text_embedding`)
* * Azure OpenAI (`completion`, `text_embedding`)
* * Azure OpenAI (`completion`, `chat_completion`, `text_embedding`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick, but could these be in alphabetical order like for the other providers?

"type": "enum",
"description": "The task type",
"options": ["completion", "text_embedding"]
"options": ["completion", "chat_completion", "text_embedding"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick, but could these be in alphabetical order?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ml skip-backport This pull request should not be backported specification Team:ML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants