Uses of Class
com.google.genkit.plugins.mongodb.MongoVectorStoreConfig.Builder
Packages that use MongoVectorStoreConfig.Builder
-
Uses of MongoVectorStoreConfig.Builder in com.google.genkit.plugins.mongodb
Methods in com.google.genkit.plugins.mongodb that return MongoVectorStoreConfig.BuilderModifier and TypeMethodDescriptionMongoVectorStoreConfig.Builder.addAdditionalMetadata(String key, Object value) Adds a metadata entry merged into every indexed document.MongoVectorStoreConfig.builder()Creates a new builder.MongoVectorStoreConfig.Builder.collectionName(String collectionName) Sets the collection name.MongoVectorStoreConfig.Builder.createIndexIfNotExists(boolean createIndexIfNotExists) Sets whether to create the Atlas Vector Search index on first use if it does not exist.MongoVectorStoreConfig.Builder.databaseName(String databaseName) Sets the database name.MongoVectorStoreConfig.Builder.dimension(int dimension) Sets the embedding dimension.MongoVectorStoreConfig.Builder.embedderName(String embedderName) Sets the embedder name.MongoVectorStoreConfig.Builder.embeddingField(String embeddingField) Sets the embedding field name.Sets the Atlas Vector Search index name.MongoVectorStoreConfig.Builder.numCandidates(int numCandidates) Sets the number of nearest neighbors to consider during the vector search.MongoVectorStoreConfig.Builder.similarity(MongoVectorStoreConfig.Similarity similarity) Sets the vector similarity function.Sets the text field name.