Class EmbeddingResponse
java.lang.Object
dev.langchain4j.model.embedding.response.EmbeddingResponse
The result of embedding an
EmbeddingRequest: the
Embeddings produced for the request's inputs (in the same order) together with the
EmbeddingResponseMetadata such as the model name and token usage.- Since:
- 1.18.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EmbeddingResponse.Builderbuilder()booleaninthashCode()metadata()toString()
-
Constructor Details
-
EmbeddingResponse
-
-
Method Details
-
embeddings
-
metadata
-
modelName
-
tokenUsage
-
equals
-
hashCode
-
toString
-
builder
-