@@ -41,7 +41,7 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.InferenceResponseR
41
41
LocalJsonValue < System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelEntities > ? > propEntities = default ;
42
42
LocalJsonValue < System . Collections . Generic . IReadOnlyCollection < Elastic . Clients . Elasticsearch . MachineLearning . TrainedModelInferenceFeatureImportance > ? > propFeatureImportance = default ;
43
43
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 ;
45
45
LocalJsonValue < string ? > propPredictedValueSequence = default ;
46
46
LocalJsonValue < double ? > propPredictionProbability = default ;
47
47
LocalJsonValue < double ? > propPredictionScore = default ;
@@ -64,7 +64,7 @@ public override Elastic.Clients.Elasticsearch.MachineLearning.InferenceResponseR
64
64
continue ;
65
65
}
66
66
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 ) ! ) ) )
68
68
{
69
69
continue ;
70
70
}
@@ -124,7 +124,7 @@ public override void Write(System.Text.Json.Utf8JsonWriter writer, Elastic.Clien
124
124
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 ) ) ;
125
125
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 ) ) ;
126
126
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 ) ) ) ;
128
128
writer . WriteProperty ( options , PropPredictedValueSequence , value . PredictedValueSequence , null , null ) ;
129
129
writer . WriteProperty ( options , PropPredictionProbability , value . PredictionProbability , null , null ) ;
130
130
writer . WriteProperty ( options , PropPredictionScore , value . PredictionScore , null , null ) ;
@@ -186,7 +186,7 @@ internal InferenceResponseResult(Elastic.Clients.Elasticsearch.Serialization.Jso
186
186
/// For classification models, it may be an integer, double, boolean or string depending on prediction type
187
187
/// </para>
188
188
/// </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 ; }
190
190
191
191
/// <summary>
192
192
/// <para>
0 commit comments