Package com.basistech.rosette.apimodel
Class SemanticVectorsResponse.SemanticVectorsResponseBuilder
java.lang.Object
com.basistech.rosette.apimodel.SemanticVectorsResponse.SemanticVectorsResponseBuilder
- Enclosing class:
- SemanticVectorsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
documentEmbedding
(List<Double> documentEmbedding) tokenEmbeddings
(List<List<Double>> tokenEmbeddings) toString()
-
Method Details
-
documentEmbedding
public SemanticVectorsResponse.SemanticVectorsResponseBuilder documentEmbedding(List<Double> documentEmbedding) - Returns:
this
.
-
tokens
- Returns:
this
.
-
tokenEmbeddings
public SemanticVectorsResponse.SemanticVectorsResponseBuilder tokenEmbeddings(List<List<Double>> tokenEmbeddings) - Returns:
this
.
-
build
-
toString
-