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