Commit 3d54eb5 1 parent 58903ba commit 3d54eb5 Copy full SHA for 3d54eb5
File tree 1 file changed +3
-12
lines changed
common/src/main/java/org/opensearch/ml/common/utils
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,7 @@ public class ModelInterfaceUtils {
52
52
+ " \" texts\" \n "
53
53
+ " ]\n "
54
54
+ " }\n "
55
- + " },\n "
56
- + " \" required\" : [\n "
57
- + " \" parameters\" \n "
58
- + " ]\n "
55
+ + " }\n "
59
56
+ "}" ;
60
57
61
58
private static final String TITAN_TEXT_EMBEDDING_MODEL_INTERFACE_INPUT = "{\n "
@@ -72,10 +69,7 @@ public class ModelInterfaceUtils {
72
69
+ " \" inputText\" \n "
73
70
+ " ]\n "
74
71
+ " }\n "
75
- + " },\n "
76
- + " \" required\" : [\n "
77
- + " \" parameters\" \n "
78
- + " ]\n "
72
+ + " }\n "
79
73
+ "}" ;
80
74
81
75
private static final String TITAN_MULTI_MODAL_EMBEDDING_MODEL_INTERFACE_INPUT = "{\n "
@@ -92,10 +86,7 @@ public class ModelInterfaceUtils {
92
86
+ " }\n "
93
87
+ " }\n "
94
88
+ " }\n "
95
- + " },\n "
96
- + " \" required\" : [\n "
97
- + " \" parameters\" \n "
98
- + " ]\n "
89
+ + " }\n "
99
90
+ "}" ;
100
91
101
92
private static final String AMAZON_COMPREHEND_DETECTDOMAINANTLANGUAGE_API_INTERFACE_INPUT = "{\n "
You can’t perform that action at this time.
0 commit comments