@@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.InferenceResponseR
4141 LocalJsonValue < System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelEntities > ? > propEntities = default ;
4242 LocalJsonValue < System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelInferenceFeatureImportance > ? > propFeatureImportance = default ;
4343 LocalJsonValue < bool ? > propIsTruncated = default ;
44- LocalJsonValue < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < object > > ? > propPredictedValue = default ;
44+ LocalJsonValue < System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ? > propPredictedValue = default ;
4545 LocalJsonValue < string ? > propPredictedValueSequence = default ;
4646 LocalJsonValue < double ? > propPredictionProbability = default ;
4747 LocalJsonValue < double ? > propPredictionScore = default ;
@@ -64,7 +64,7 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.InferenceResponseR
6464 continue ;
6565 }
6666
67- if ( propPredictedValue . TryReadProperty ( ref reader , options , PropPredictedValue , static System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < object > > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadSingleOrManyCollectionValue < System . Collections . Generic . ICollection < object > > ( o , static System . Collections . Generic . ICollection < object > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadSingleOrManyCollectionValue < object > ( o , null ) ! ) ) )
67+ if ( propPredictedValue . TryReadProperty ( ref reader , options , PropPredictedValue , static System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ? ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadSingleOrManyCollectionValue < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , static System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > ( ref System . Text . Json . Utf8JsonReader r , System . Text . Json . JsonSerializerOptions o ) => r . ReadSingleOrManyCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , null ) ! ) ) )
6868 {
6969 continue ;
7070 }
@@ -124,7 +124,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
124124 writer . WriteProperty ( options , PropEntities , value . Entities , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelEntities > ? v ) => w . WriteCollectionValue < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelEntities > ( o , v , null ) ) ;
125125 writer . WriteProperty ( options , PropFeatureImportance , value . FeatureImportance , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelInferenceFeatureImportance > ? v ) => w . WriteCollectionValue < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelInferenceFeatureImportance > ( o , v , null ) ) ;
126126 writer . WriteProperty ( options , PropIsTruncated , value . IsTruncated , null , null ) ;
127- writer . WriteProperty ( options , PropPredictedValue , value . PredictedValue , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < object > > ? v ) => w . WriteSingleOrManyCollectionValue < System . Collections . Generic . ICollection < object > > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < object > v ) => w . WriteSingleOrManyCollectionValue < object > ( o , v , null ) ) ) ;
127+ writer . WriteProperty ( options , PropPredictedValue , value . PredictedValue , null , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ? v ) => w . WriteSingleOrManyCollectionValue < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ( o , v , static ( System . Text . Json . Utf8JsonWriter w , System . Text . Json . JsonSerializerOptions o , System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > v ) => w . WriteSingleOrManyCollectionValue < Elastic . Clients . Elasticsearch . FieldValue > ( o , v , null ) ) ) ;
128128 writer . WriteProperty ( options , PropPredictedValueSequence , value . PredictedValueSequence , null , null ) ;
129129 writer . WriteProperty ( options , PropPredictionProbability , value . PredictionProbability , null , null ) ;
130130 writer . WriteProperty ( options , PropPredictionScore , value . PredictionScore , null , null ) ;
@@ -186,7 +186,7 @@ internal InferenceResponseResult(Elastic.Clients.Elasticsearch.Serialization.Jso
186186 /// For classification models, it may be an integer, double, boolean or string depending on prediction type
187187 /// </para>
188188 /// </summary>
189- public System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < object > > ? PredictedValue { get ; set ; }
189+ public System . Collections . Generic . ICollection < System . Collections . Generic . ICollection < Elastic . Clients . Elasticsearch . FieldValue > > ? PredictedValue { get ; set ; }
190190
191191 /// <summary>
192192 /// <para>
0 commit comments