Skip to content

Commit eeacaab

Browse files
Google APIscopybara-github
authored andcommitted
docs: added an explicit note that DetectIntentRequest's text input is limited by 256 characters
PiperOrigin-RevId: 463252698
1 parent 039daa2 commit eeacaab

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

google/cloud/dialogflow/v2/session.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ message QueryInput {
256256
// Instructs the speech recognizer how to process the speech audio.
257257
InputAudioConfig audio_config = 1;
258258

259-
// The natural language text to be processed.
259+
// The natural language text to be processed. Text length must not exceed
260+
// 256 character for virtual agent interactions.
260261
TextInput text = 2;
261262

262263
// The event to be processed.
@@ -615,7 +616,7 @@ message StreamingRecognitionResult {
615616
// Represents the natural language text to be processed.
616617
message TextInput {
617618
// Required. The UTF-8 encoded natural language text to be processed.
618-
// Text length must not exceed 256 characters.
619+
// Text length must not exceed 256 characters for virtual agent interactions.
619620
string text = 1 [(google.api.field_behavior) = REQUIRED];
620621

621622
// Required. The language of this conversational query. See [Language

0 commit comments

Comments
 (0)