Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Open
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
8 changes: 6 additions & 2 deletions proto/speechly/slu/v2/batch.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ message BatchConfig {
// Optional. If not provided, the model to use will be determined
// from the login information or from language detection.
string model_id = 1;
// The language(s) of the audio sent in the request as a BCP-47 language tag
// (e.g. "en-US"). Defaults to the target application language(s).
// The expected languages for this batch. Used when detecting audio language
// as a hint of possible values.
// Optional.
repeated string language_codes = 2;
// Reference id for a set of related operations. For example an identifier of
Expand Down Expand Up @@ -83,6 +83,10 @@ message ProcessAudioSourceRequestItem {
// UUID.
// Optional.
string device_id = 5;
// The language of the audio as BCP-47 code, if known. Language detection is
// skipped if value is given.
// Optional.
string language = 6;
}

// Describes a single batch operation.
Expand Down