Skip to content

Commit

Permalink
[ML] Removing unused include_model_definition type (elastic#204420)
Browse files Browse the repository at this point in the history
`include_model_definition` has been deprecated in favor of
`include=definition`
Although `include_model_definition` was included in the type for the
client side `getTrainedModels`, the argument was not part of the
endpoint schema and would have caused an error if used.
In the future if we need this adding to the endpoint it can be added
then.
  • Loading branch information
jgowdyelastic authored Dec 17, 2024
1 parent 058ff34 commit 60f7635
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import type {

export interface InferenceQueryParams {
from?: number;
include_model_definition?: boolean;
size?: number;
tags?: string;
include?: 'total_feature_importance' | 'feature_importance_baseline' | string;
Expand Down

0 comments on commit 60f7635

Please sign in to comment.