Skip to content

Input schema validation from feature names #2

Description

@delcenjo

When a model exposes feature_names_in_, /predict could accept named records ({"feature": value}) and validate against the expected schema, returning a clear 400 on missing or extra features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions