Class HNSWQueryOptions.Builder
java.lang.Object
dev.langchain4j.community.store.embedding.alloydb.index.query.HNSWQueryOptions.Builder
- Enclosing class:
HNSWQueryOptions
Builder which configures and creates instances of
HNSWQueryOptions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds anHNSWQueryOptionsstore with the configuration applied to this builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
efSearch
- Parameters:
efSearch- size of the dynamic candidate list for search- Returns:
- this builder
-
build
Builds anHNSWQueryOptionsstore with the configuration applied to this builder.- Returns:
- A new
HNSWQueryOptionsinstance
-