Package com.basistech.rosette.dm
Class Embeddings.Builder
java.lang.Object
com.basistech.rosette.dm.BaseAttribute.Builder<Embeddings,Embeddings.Builder>
com.basistech.rosette.dm.Embeddings.Builder
- Enclosing class:
- Embeddings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Construct the embedding object.protected Embeddings.BuildergetThis()put(Embeddings.Name collectionName, EmbeddingCollection collection) Put a collection of embeddings into the embeddings.Methods inherited from class com.basistech.rosette.dm.BaseAttribute.Builder
addAllToList, addAllToSet, buildExtendedProperties, extendedProperties, extendedProperty, nullOrList
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
put
Put a collection of embeddings into the embeddings.- Parameters:
collectionName- the name of the collection.collection- the collection.- Returns:
- this.
-
build
Construct the embedding object.- Returns:
- the embeddings.
-
getThis
- Specified by:
getThisin classBaseAttribute.Builder<Embeddings,Embeddings.Builder>
-