Class LLM
java.lang.Object
org.opensearch.client.opensearch.ml.LLM
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<LLM.Builder,LLM>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class LLM
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<LLM.Builder,LLM>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic LLM.Builderbuilder()booleaninthashCode()final StringmodelId()API name:model_idstatic LLMof(Function<LLM.Builder, ObjectBuilder<LLM>> fn) API name:parametersvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forLLM
-
-
Method Details
-
of
-
modelId
API name:model_id -
parameters
API name:parameters -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LLM.Builder,LLM> - Returns:
- a new builder instance.
-
builder
-
setupLLMDeserializer
-
hashCode
public int hashCode() -
equals
-