Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export interface AutomaticSpeechRecognitionParameters {
/**
* Parametrization of the text generation process
*/
generate?: GenerationParameters;
generation_parameters?: GenerationParameters;
/**
* Whether to output corresponding timestamps with the generated text
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"type": "boolean",
"description": "Whether to output corresponding timestamps with the generated text"
},
"generate": {
"generation_parameters": {
"description": "Parametrization of the text generation process",
"$ref": "/inference/schemas/common-definitions.json#/definitions/GenerationParameters"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/image-to-text/inference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface ImageToTextParameters {
/**
* Parametrization of the text generation process
*/
generate?: GenerationParameters;
generation_parameters?: GenerationParameters;
/**
* The amount of maximum tokens to generate.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/image-to-text/spec/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"type": "integer",
"description": "The amount of maximum tokens to generate."
},
"generate": {
"generation_parameters": {
"description": "Parametrization of the text generation process",
"$ref": "/inference/schemas/common-definitions.json#/definitions/GenerationParameters"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/text-to-audio/inference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface TextToAudioParameters {
/**
* Parametrization of the text generation process
*/
generate?: GenerationParameters;
generation_parameters?: GenerationParameters;
[property: string]: unknown;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/text-to-audio/spec/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"description": "Additional inference parameters for Text To Audio",
"type": "object",
"properties": {
"generate": {
"generation_parameters": {
"description": "Parametrization of the text generation process",
"$ref": "/inference/schemas/common-definitions.json#/definitions/GenerationParameters"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/text-to-speech/inference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface TextToSpeechParameters {
/**
* Parametrization of the text generation process
*/
generate?: GenerationParameters;
generation_parameters?: GenerationParameters;
[property: string]: unknown;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/text-to-speech/spec/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"description": "Additional inference parameters for Text To Speech",
"type": "object",
"properties": {
"generate": {
"generation_parameters": {
"description": "Parametrization of the text generation process",
"$ref": "/inference/schemas/common-definitions.json#/definitions/GenerationParameters"
}
Expand Down
Loading