Skip to content

Commit 625a5a2

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent b515e84 commit 625a5a2

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/amazonbedrock/embeddings/AmazonBedrockEmbeddingsModel.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727

2828
public class AmazonBedrockEmbeddingsModel extends AmazonBedrockModel {
2929

30-
public static AmazonBedrockEmbeddingsModel of(AmazonBedrockEmbeddingsModel embeddingsModel, Map<String, Object> taskSettings, InputType inputType) {
30+
public static AmazonBedrockEmbeddingsModel of(
31+
AmazonBedrockEmbeddingsModel embeddingsModel,
32+
Map<String, Object> taskSettings,
33+
InputType inputType
34+
) {
3135
if (taskSettings != null && taskSettings.isEmpty() == false) {
3236
// no task settings allowed
3337
var validationException = new ValidationException();

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/azureaistudio/embeddings/AzureAiStudioEmbeddingsModel.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@
2929

3030
public class AzureAiStudioEmbeddingsModel extends AzureAiStudioModel {
3131

32-
public static AzureAiStudioEmbeddingsModel of(AzureAiStudioEmbeddingsModel model, Map<String, Object> taskSettings, InputType inputType) {
32+
public static AzureAiStudioEmbeddingsModel of(
33+
AzureAiStudioEmbeddingsModel model,
34+
Map<String, Object> taskSettings,
35+
InputType inputType
36+
) {
3337
var requestTaskSettings = AzureAiStudioEmbeddingsRequestTaskSettings.fromMap(taskSettings);
3438
var taskSettingToUse = AzureAiStudioEmbeddingsTaskSettings.of(model.getTaskSettings(), requestTaskSettings, inputType);
3539

0 commit comments

Comments
 (0)