Class PutGroqRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.inference.PutGroqRequest
- All Implemented Interfaces:
JsonpSerializable
Create a Groq inference endpoint.
Create an inference endpoint to perform an inference task with the
groq service.
- 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 JsonpDeserializer<PutGroqRequest>Json deserializer forPutGroqRequeststatic final Endpoint<PutGroqRequest,PutGroqResponse, ErrorResponse> Endpoint "inference.put_groq". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The unique identifier of the inference endpoint.static PutGroqRequestrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) final GroqServiceTypeservice()Required - The type of service supported for the specified task type.final GroqServiceSettingsRequired - Settings used to install the inference model.protected static voidfinal GroqTaskTypetaskType()Required - The type of the inference task that the model will perform.final Timetimeout()Specifies the amount of time to wait for the inference endpoint to be created.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forPutGroqRequest -
_ENDPOINT
Endpoint "inference.put_groq".
-
-
Method Details
-
of
-
groqInferenceId
Required - The unique identifier of the inference endpoint.API name:
groq_inference_id -
service
Required - The type of service supported for the specified task type. In this case,groq.API name:
service -
serviceSettings
Required - Settings used to install the inference model. These settings are specific to thegroqservice.API name:
service_settings -
taskType
Required - The type of the inference task that the model will perform.API name:
task_type -
timeout
Specifies the amount of time to wait for the inference endpoint to be created.API name:
timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
rebuild
- Returns:
- New
PutGroqRequest.Builderinitialized with field values of this instance
-
setupPutGroqRequestDeserializer
protected static void setupPutGroqRequestDeserializer(ObjectDeserializer<PutGroqRequest.Builder> op)
-