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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetModelRequest,GetModelResponse, ErrorResponse> Endpoint "inference.get_model". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringmodelId()Required - The unique identifier of the inference model.static GetModelRequestfinal TaskTypetaskType()Required - The model 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) -
modelId
Required - The unique identifier of the inference model.API name:
model_id -
taskType
Required - The model task typeAPI name:
task_type
-