Skip to content

Commit e35da3a

Browse files
pquentingithub-actions[bot]
authored andcommitted
Fix ml.put_trained_model API (#5363)
(cherry picked from commit 4c1d1a7)
1 parent f6134a9 commit e35da3a

File tree

5 files changed

+15
-33
lines changed

5 files changed

+15
-33
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 3 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 3 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/_types/inference.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export class TextEmbeddingInferenceOptions {
258258
/** The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value. */
259259
results_field?: string
260260

261-
vocabulary: Vocabulary
261+
vocabulary?: Vocabulary
262262
}
263263

264264
/** Text expansion inference options */
@@ -267,7 +267,7 @@ export class TextExpansionInferenceOptions {
267267
tokenization?: TokenizationConfigContainer
268268
/** The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value. */
269269
results_field?: string
270-
vocabulary: Vocabulary
270+
vocabulary?: Vocabulary
271271
}
272272

273273
/** Named entity recognition options */
@@ -295,7 +295,7 @@ export class FillMaskInferenceOptions {
295295
tokenization?: TokenizationConfigContainer
296296
/** The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value. */
297297
results_field?: string
298-
vocabulary: Vocabulary
298+
vocabulary?: Vocabulary
299299
}
300300

301301
/** Question answering inference options */

0 commit comments

Comments
 (0)