diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 8548d89c18..043b7bb072 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -111534,10 +111534,7 @@ } ] } - }, - "required": [ - "vocabulary" - ] + } }, "ml._types.LearningToRankConfig": { "type": "object", @@ -111678,10 +111675,7 @@ } ] } - }, - "required": [ - "vocabulary" - ] + } }, "ml._types.TextExpansionInferenceOptions": { "description": "Text expansion inference options", @@ -111706,10 +111700,7 @@ } ] } - }, - "required": [ - "vocabulary" - ] + } }, "ml._types.QuestionAnsweringInferenceOptions": { "description": "Question answering inference options", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 41f5ee1f9c..ae53c739d8 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -73544,10 +73544,7 @@ } ] } - }, - "required": [ - "vocabulary" - ] + } }, "ml._types.LearningToRankConfig": { "type": "object", @@ -73688,10 +73685,7 @@ } ] } - }, - "required": [ - "vocabulary" - ] + } }, "ml._types.TextExpansionInferenceOptions": { "description": "Text expansion inference options", @@ -73716,10 +73710,7 @@ } ] } - }, - "required": [ - "vocabulary" - ] + } }, "ml._types.QuestionAnsweringInferenceOptions": { "description": "Question answering inference options", diff --git a/output/schema/schema.json b/output/schema/schema.json index e5a785409b..f85bcfdd80 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -194909,7 +194909,7 @@ }, { "name": "vocabulary", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -199014,7 +199014,7 @@ }, { "name": "vocabulary", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { @@ -199093,7 +199093,7 @@ }, { "name": "vocabulary", - "required": true, + "required": false, "type": { "kind": "instance_of", "type": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 1ccd84bde5..f66841b132 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -16225,7 +16225,7 @@ export interface MlFillMaskInferenceOptions { num_top_classes?: integer tokenization?: MlTokenizationConfigContainer results_field?: string - vocabulary: MlVocabulary + vocabulary?: MlVocabulary } export interface MlFillMaskInferenceUpdateOptions { @@ -16644,7 +16644,7 @@ export interface MlTextEmbeddingInferenceOptions { embedding_size?: integer tokenization?: MlTokenizationConfigContainer results_field?: string - vocabulary: MlVocabulary + vocabulary?: MlVocabulary } export interface MlTextEmbeddingInferenceUpdateOptions { @@ -16655,7 +16655,7 @@ export interface MlTextEmbeddingInferenceUpdateOptions { export interface MlTextExpansionInferenceOptions { tokenization?: MlTokenizationConfigContainer results_field?: string - vocabulary: MlVocabulary + vocabulary?: MlVocabulary } export interface MlTextExpansionInferenceUpdateOptions { diff --git a/specification/ml/_types/inference.ts b/specification/ml/_types/inference.ts index 75aafa1f20..4f0c21caac 100644 --- a/specification/ml/_types/inference.ts +++ b/specification/ml/_types/inference.ts @@ -258,7 +258,7 @@ export class TextEmbeddingInferenceOptions { /** The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value. */ results_field?: string - vocabulary: Vocabulary + vocabulary?: Vocabulary } /** Text expansion inference options */ @@ -267,7 +267,7 @@ export class TextExpansionInferenceOptions { tokenization?: TokenizationConfigContainer /** The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value. */ results_field?: string - vocabulary: Vocabulary + vocabulary?: Vocabulary } /** Named entity recognition options */ @@ -295,7 +295,7 @@ export class FillMaskInferenceOptions { tokenization?: TokenizationConfigContainer /** The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value. */ results_field?: string - vocabulary: Vocabulary + vocabulary?: Vocabulary } /** Question answering inference options */