Class AzureOpenAITaskSettings
java.lang.Object
co.elastic.clients.elasticsearch.inference.AzureOpenAITaskSettings
- All Implemented Interfaces:
- JsonpSerializable
@JsonpDeserializable
public class AzureOpenAITaskSettings
extends Object
implements JsonpSerializable
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AzureOpenAITaskSettings>Json deserializer forAzureOpenAITaskSettings
- 
Method SummaryModifier and TypeMethodDescriptionstatic AzureOpenAITaskSettingsvoidserialize(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 acompletionortext_embeddingtask, specify the user issuing the request.
- 
Field Details- 
_DESERIALIZERJson deserializer forAzureOpenAITaskSettings
 
- 
- 
Method Details- 
ofpublic static AzureOpenAITaskSettings of(Function<AzureOpenAITaskSettings.Builder, ObjectBuilder<AzureOpenAITaskSettings>> fn) 
- 
userFor acompletionortext_embeddingtask, specify the user issuing the request. This information can be used for abuse detection.API name: user
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupAzureOpenAITaskSettingsDeserializerprotected static void setupAzureOpenAITaskSettingsDeserializer(ObjectDeserializer<AzureOpenAITaskSettings.Builder> op) 
 
-