TextEmbedding

Fields
values[] number

The values field contains the embedding vectors corresponding to the words in the input text.

statistics object ( Statistics )

The statistics computed from the input text.

JSON representation
 { 
 "values" 
 : 
 [ 
 number 
 ] 
 , 
 "statistics" 
 : 
 { 
 object (  Statistics 
 
) 
 } 
 } 

Statistics

Fields
tokenCount integer

Number of tokens of the input text.

truncated boolean

Indicates if the input text was longer than max allowed tokens and truncated.

JSON representation
 { 
 "tokenCount" 
 : 
 integer 
 , 
 "truncated" 
 : 
 boolean 
 } 
Create a Mobile Website
View Site in Mobile | Classic
Share by: