Uses of Class
dev.langchain4j.store.embedding.inmemory.InMemoryEmbeddingStore
-
Uses of InMemoryEmbeddingStore in dev.langchain4j.store.embedding.inmemory
Modifier and TypeMethodDescriptionstatic InMemoryEmbeddingStore
<TextSegment> static InMemoryEmbeddingStore
<TextSegment> static InMemoryEmbeddingStore
<TextSegment> static <Embedded> InMemoryEmbeddingStore
<Embedded> InMemoryEmbeddingStore.merge
(InMemoryEmbeddingStore<Embedded> first, InMemoryEmbeddingStore<Embedded> second) Merges givenInMemoryEmbeddingStore
s into a singleInMemoryEmbeddingStore
, copying all entries from each store.static <Embedded> InMemoryEmbeddingStore
<Embedded> InMemoryEmbeddingStore.merge
(Collection<InMemoryEmbeddingStore<Embedded>> stores) Merges givenInMemoryEmbeddingStore
s into a singleInMemoryEmbeddingStore
, copying all entries from each store.Modifier and TypeMethodDescriptionstatic <Embedded> InMemoryEmbeddingStore
<Embedded> InMemoryEmbeddingStore.merge
(InMemoryEmbeddingStore<Embedded> first, InMemoryEmbeddingStore<Embedded> second) Merges givenInMemoryEmbeddingStore
s into a singleInMemoryEmbeddingStore
, copying all entries from each store.GsonInMemoryEmbeddingStoreJsonCodec.toJson
(InMemoryEmbeddingStore<?> store) InMemoryEmbeddingStoreJsonCodec.toJson
(InMemoryEmbeddingStore<?> store) Modifier and TypeMethodDescriptionstatic <Embedded> InMemoryEmbeddingStore
<Embedded> InMemoryEmbeddingStore.merge
(Collection<InMemoryEmbeddingStore<Embedded>> stores) Merges givenInMemoryEmbeddingStore
s into a singleInMemoryEmbeddingStore
, copying all entries from each store.