Commit 1f91102 1 parent b639ffc commit 1f91102 Copy full SHA for 1f91102
File tree 1 file changed +18
-18
lines changed
plugin/src/test/java/org/opensearch/ml/utils
1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -69,24 +69,24 @@ public void testValidateSchema() throws IOException {
69
69
@ Test
70
70
public void testValidateEmbeddingInputWithRemoteSchema () throws IOException {
71
71
String schema = "{\n "
72
- + " \" type\" : \" object\" ,\n "
73
- + " \" properties\" : {\n "
74
- + " \" parameters\" : {\n "
75
- + " \" type\" : \" object\" ,\n "
76
- + " \" properties\" : {\n "
77
- + " \" texts\" : {\n "
78
- + " \" type\" : \" array\" ,\n "
79
- + " \" items\" : {\n "
80
- + " \" type\" : \" string\" \n "
81
- + " }\n "
82
- + " }\n "
83
- + " },\n "
84
- + " \" required\" : [\n "
85
- + " \" texts\" \n "
86
- + " ]\n "
87
- + " }\n "
88
- + " }\n "
89
- + "}" ;
72
+ + " \" type\" : \" object\" ,\n "
73
+ + " \" properties\" : {\n "
74
+ + " \" parameters\" : {\n "
75
+ + " \" type\" : \" object\" ,\n "
76
+ + " \" properties\" : {\n "
77
+ + " \" texts\" : {\n "
78
+ + " \" type\" : \" array\" ,\n "
79
+ + " \" items\" : {\n "
80
+ + " \" type\" : \" string\" \n "
81
+ + " }\n "
82
+ + " }\n "
83
+ + " },\n "
84
+ + " \" required\" : [\n "
85
+ + " \" texts\" \n "
86
+ + " ]\n "
87
+ + " }\n "
88
+ + " }\n "
89
+ + "}" ;
90
90
String json = "{\" text_docs\" :[ \" today is sunny\" , \" today is sunny\" ]}" ;
91
91
MLNodeUtils .validateSchema (schema , json );
92
92
}
You can’t perform that action at this time.
0 commit comments