Rate this page:

TextInput

Represents a natural language text to be processed.

Props

enable_splitting_text

Copy URL
enable_splitting_text: 

boolean

Whether to split the text into single sentence text entries at serving time. This provides a way for a user to input email content as text input.

language_codes

Copy URL
language_codes: 

string

Required. The language of this conversational query. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to have the same language.

text

Copy URL
text: 

string

Required. The UTF-8 encoded natural language text to be processed. Text length must not exceed 256 characters.