Class SparseEmbedding.Builder
java.lang.Object
io.agentscope.core.rag.integration.haystack.model.SparseEmbedding.Builder
- Enclosing class:
- SparseEmbedding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()List of indices of non-zero elements in the embedding.List of values of non-zero elements in the embedding.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indices
List of indices of non-zero elements in the embedding.- Parameters:
indices- list of indices- Returns:
- this builder
-
values
List of values of non-zero elements in the embedding.- Parameters:
values- list of values- Returns:
- this builder
-
build
-