Class GetModelRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.inference.GetModelRequest
Get an inference service model
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<GetModelRequest,
GetModelResponse, ErrorResponse> Endpoint "inference.get_model
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Required - The inference Idstatic GetModelRequest
final TaskType
taskType()
The task typeMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "inference.get_model
".
-
-
Method Details
-
of
public static GetModelRequest of(Function<GetModelRequest.Builder, ObjectBuilder<GetModelRequest>> fn) -
inferenceId
Required - The inference IdAPI name:
inference_id
-
taskType
The task typeAPI name:
task_type
-