diff --git a/output/schema/schema.json b/output/schema/schema.json index eee852d945..932599a7ea 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -150191,6 +150191,28 @@ } } } + }, + { + "availability": { + "serverless": {}, + "stack": { + "since": "8.9.0" + } + }, + "description": "The optional vocabulary value scores if required by the tokenizer.", + "name": "scores", + "required": false, + "since": "8.9.0", + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "double", + "namespace": "_types" + } + } + } } ] }, @@ -150221,7 +150243,7 @@ } ], "query": [], - "specLocation": "ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts#L23-L52" + "specLocation": "ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts#L24-L60" }, { "body": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 8dd42f8fb2..0e55becac5 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -14217,6 +14217,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase { body?: { vocabulary: string[] merges?: string[] + scores?: double[] } } diff --git a/specification/ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts b/specification/ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts index 2dd8894005..c202fb7a3a 100644 --- a/specification/ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts +++ b/specification/ml/put_trained_model_vocabulary/MlPutTrainedModelVocabularyRequest.ts @@ -19,6 +19,7 @@ import { RequestBase } from '@_types/Base' import { Id } from '@_types/common' +import { double } from '@_types/Numeric' /** * Creates a trained model vocabulary. @@ -48,5 +49,12 @@ export interface Request extends RequestBase { * @availability serverless */ merges?: string[] + + /** + * The optional vocabulary value scores if required by the tokenizer. + * @availability stack since=8.9.0 + * @availability serverless + */ + scores?: double[] } }