-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[DOCS] Updates infer trained model API docs with inference_config #88500
Conversation
Pinging @elastic/es-docs (Team:Docs) |
Pinging @elastic/ml-core (Team:ML) |
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.
All the nlp inference configs also support a results_field
parameter like classification
and regression
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
docs/reference/ml/trained-models/apis/infer-trained-model.asciidoc
Outdated
Show resolved
Hide resolved
Co-authored-by: Benjamin Trent <[email protected]>
@benwtrent Thanks for your review. I applied your suggestions and added |
Co-authored-by: Benjamin Trent <[email protected]>
…astic#88500) Co-authored-by: Benjamin Trent <[email protected]>
💚 Backport successful
|
…8500) (#88511) Co-authored-by: Benjamin Trent <[email protected]>
Overview
This PR updates the infer trained model API docs by adding the
inference_config
property to the request body parameters. The parameter descriptions are single-sourced from theml/ml-shared.asciidoc
file.It also adds the missing
results_field
to theinference_config
property in the PUT API docs.Preview