@@ -263,7 +263,44 @@ public class CommonValue {
263263 + "\" : {\" type\" : \" date\" , \" format\" : \" strict_date_time||epoch_millis\" },\n "
264264 + " \" "
265265 + MLModel .GUARDRAILS_FIELD
266- + "\" : {\" type\" : \" flat_object\" },\n "
266+ + "\" : {\n " +
267+ " \" properties\" : {\n " +
268+ " \" input_guardrail\" : {\n " +
269+ " \" properties\" : {\n " +
270+ " \" regex\" : {\n " +
271+ " \" type\" : \" text\" \n " +
272+ " },\n " +
273+ " \" stop_words\" : {\n " +
274+ " \" properties\" : {\n " +
275+ " \" index_name\" : {\n " +
276+ " \" type\" : \" text\" \n " +
277+ " },\n " +
278+ " \" source_fields\" : {\n " +
279+ " \" type\" : \" text\" \n " +
280+ " }\n " +
281+ " }\n " +
282+ " }\n " +
283+ " }\n " +
284+ " },\n " +
285+ " \" output_guardrail\" : {\n " +
286+ " \" properties\" : {\n " +
287+ " \" regex\" : {\n " +
288+ " \" type\" : \" text\" \n " +
289+ " },\n " +
290+ " \" stop_words\" : {\n " +
291+ " \" properties\" : {\n " +
292+ " \" index_name\" : {\n " +
293+ " \" type\" : \" text\" \n " +
294+ " },\n " +
295+ " \" source_fields\" : {\n " +
296+ " \" type\" : \" text\" \n " +
297+ " }\n " +
298+ " }\n " +
299+ " }\n " +
300+ " }\n " +
301+ " }\n " +
302+ " }\n " +
303+ " },\n "
267304 + " \" "
268305 + MLModel .CONNECTOR_FIELD
269306 + "\" : {" + ML_CONNECTOR_INDEX_FIELDS + " }\n },"
0 commit comments