Class InfinispanEmbeddingStore

java.lang.Object
dev.langchain4j.store.embedding.infinispan.InfinispanEmbeddingStore
All Implemented Interfaces:
EmbeddingStore<TextSegment>

public class InfinispanEmbeddingStore extends Object implements EmbeddingStore<TextSegment>
Infinispan Embedding Store
  • Constructor Details

    • InfinispanEmbeddingStore

      public InfinispanEmbeddingStore(org.infinispan.client.hotrod.RemoteCacheManager remoteCacheManager, InfinispanStoreConfiguration storeConfiguration)
      Creates an Infinispan embedding store from a RemoteCacheManager Assumes marshalling configuration is already provided by the RemoteCacheManager instance.
      Parameters:
      remoteCacheManager - , the already configured remote cache manager
      storeConfiguration - , the store configuration
    • InfinispanEmbeddingStore

      public InfinispanEmbeddingStore(org.infinispan.client.hotrod.configuration.ConfigurationBuilder builder, InfinispanStoreConfiguration storeConfiguration)
      Creates an instance of InfinispanEmbeddingStore
  • Method Details