Skip to content

MachineLearning.GetTrainedModelsStats throws a deserialization exception part 2 #8281

Closed
@svalbuena

Description

@svalbuena

Elastic.Clients.Elasticsearch version: 8.14.6

Elasticsearch version: 8.14.3

.NET runtime version: 8.0

Operating system version: Windows

Description of the problem including expected versus actual behavior:
I'm using the MachineLearning.GetTrainedModelsStatsAsync call to get the stats of a trained model, this request always results in a JSON deserialization error. In a previous issue I fixed one of the errors but there are a couple more left.
In elastic/elasticsearch-specification#2762 I describe the root cause and address it in elastic/elasticsearch-specification#2763.

This time, I've downloaded the .net client project, done the equivalent tweaks I'm doing in the spec project, and tested the request to verify there are no other errors left.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions