Skip to content

Add inference_config to Elasticsearch model configurations #164

@benwtrent

Description

@benwtrent

In Elasticsearch version 7.8.0, a new required field is added to trained_model_config objects. elastic/elasticsearch#54421

When Eland starts integrating against 7.8.0, it will need to include the appropriate inference config in the model payload.

"compressed_definition": serialized_model,

It should be added here. It might be as simple as adding the line:

"inference_config": {self._model_type: {}},

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttopic:NLPIssue or PR about NLP model support and eland_import_hub_model

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions