Test run of new docs
This commit is contained in:
65
docs/reference-ml-infer_trained_model.asciidoc
Normal file
65
docs/reference-ml-infer_trained_model.asciidoc
Normal file
@ -0,0 +1,65 @@
|
||||
[[reference-ml-infer_trained_model]]
|
||||
|
||||
////////
|
||||
===========================================================================================================================
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
||||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
||||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
||||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
||||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
||||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
||||
|| You should update the script that does the generation, which can be found in: ||
|
||||
|| https://github.com/elastic/elastic-client-generator-js ||
|
||||
|| ||
|
||||
|| You can run the script with the following command: ||
|
||||
|| npm run elasticsearch -- --version <version> ||
|
||||
|| ||
|
||||
|| ||
|
||||
|| ||
|
||||
===========================================================================================================================
|
||||
////////
|
||||
|
||||
[discrete]
|
||||
=== client.ml.inferTrainedModel
|
||||
|
||||
Evaluate a trained model.
|
||||
|
||||
{ref}/infer-trained-model.html[{es} documentation]
|
||||
|
||||
[discrete]
|
||||
==== Function signature
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
(MlInferTrainedModelRequest, options?): Promise<MlInferTrainedModelResponse>
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `MlInferTrainedModelRequest`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface MlInferTrainedModelRequest extends <<shared-type-request-base, RequestBase>> {
|
||||
model_id: <<shared-type-id, Id>>
|
||||
timeout?: <<shared-type-duration, Duration>>
|
||||
docs: Record<string, any>[]
|
||||
inference_config?: MlInferenceConfigUpdateContainer
|
||||
}
|
||||
----
|
||||
|
||||
[discrete]
|
||||
===== `MlInferTrainedModelResponse`
|
||||
|
||||
[source,ts]
|
||||
----
|
||||
interface MlInferTrainedModelResponse {
|
||||
inference_results: MlInferenceResponseResult[]
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user