Class FireworksAITaskSettings
java.lang.Object
co.elastic.clients.elasticsearch.inference.FireworksAITaskSettings
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class FireworksAITaskSettings
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FireworksAITaskSettings>Json deserializer forFireworksAITaskSettings -
Method Summary
Modifier and TypeMethodDescriptionheaders()For acompletionorchat_completiontask.static FireworksAITaskSettingsrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final Stringuser()For acompletionorchat_completiontask, specify the user issuing the request.
-
Field Details
-
_DESERIALIZER
Json deserializer forFireworksAITaskSettings
-
-
Method Details
-
of
public static FireworksAITaskSettings of(Function<FireworksAITaskSettings.Builder, ObjectBuilder<FireworksAITaskSettings>> fn) -
user
For acompletionorchat_completiontask, specify the user issuing the request. This information can be used for abuse detection.API name:
user -
headers
For acompletionorchat_completiontask. Specifies custom HTTP header parameters. For example:"headers": { "Custom-Header": "Some-Value", "Another-Custom-Header": "Another-Value" }API name:
headers -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
FireworksAITaskSettings.Builderinitialized with field values of this instance
-
setupFireworksAITaskSettingsDeserializer
protected static void setupFireworksAITaskSettingsDeserializer(ObjectDeserializer<FireworksAITaskSettings.Builder> op)
-