Class CompletionToolChoiceFunction
java.lang.Object
co.elastic.clients.elasticsearch.inference.CompletionToolChoiceFunction
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CompletionToolChoiceFunction
extends Object
implements JsonpSerializable
The tool choice function.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CompletionToolChoiceFunction>Json deserializer forCompletionToolChoiceFunction -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringname()Required - The name of the function to call.static CompletionToolChoiceFunctionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupCompletionToolChoiceFunctionDeserializer(ObjectDeserializer<CompletionToolChoiceFunction.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCompletionToolChoiceFunction
-
-
Method Details
-
of
-
name
Required - The name of the function to call.API name:
name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCompletionToolChoiceFunctionDeserializer
protected static void setupCompletionToolChoiceFunctionDeserializer(ObjectDeserializer<CompletionToolChoiceFunction.Builder> op)
-