Class MongoDbAtlasEmbeddedStoreFactory
java.lang.Object
io.micronaut.langchain4j.mongodb.atlas.MongoDbAtlasEmbeddedStoreFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore
Creates the embedding store for each named configuration.
-
Constructor Details
-
MongoDbAtlasEmbeddedStoreFactory
public MongoDbAtlasEmbeddedStoreFactory()
-
-
Method Details
-
embeddingStore
@EachBean(NamedMongoDbAtlasEmbeddingStoreConfig.class) @Context @Bean(typed=dev.langchain4j.store.embedding.EmbeddingStore.class) protected dev.langchain4j.store.embedding.mongodb.MongoDbEmbeddingStore embeddingStore(NamedMongoDbAtlasEmbeddingStoreConfig config) Creates the embedding store for each named configuration.- Parameters:
config
- The config- Returns:
- The store
-